2021-11-13 11:31:28 -05:00
|
|
|
#ifndef _SETTINGS_H
|
|
|
|
#define _SETTINGS_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2021-11-15 20:05:22 -05:00
|
|
|
typedef enum {
|
|
|
|
SETTINGS_FOR_SINGLE_WINDOW_NEVER,
|
|
|
|
SETTINGS_FOR_SINGLE_WINDOW_ALWAYS,
|
|
|
|
SETTINGS_FOR_SINGLE_WINDOW_NOT_IN_FULLSCREEN,
|
2021-11-15 21:12:27 -05:00
|
|
|
SETTINGS_FOR_SINGLE_WINDOW_NOBODY_IS_FULLSCREEN,
|
2021-11-15 20:05:22 -05:00
|
|
|
} SettingsForSingleWindow;
|
|
|
|
|
2021-11-14 23:05:57 -05:00
|
|
|
int settings_get_border_width();
|
|
|
|
void settings_set_border_width(int new_border_width);
|
|
|
|
|
2021-11-13 16:42:58 -05:00
|
|
|
int settings_get_default_clients_in_master();
|
|
|
|
void settings_set_default_clients_in_master(int new_default_clients_in_master);
|
|
|
|
|
2021-11-15 20:05:22 -05:00
|
|
|
SettingsForSingleWindow settings_get_border_for_single_window();
|
|
|
|
void settings_set_border_for_single_window(SettingsForSingleWindow new_border_for_single_window);
|
2021-11-14 23:13:29 -05:00
|
|
|
|
2021-11-15 20:05:22 -05:00
|
|
|
SettingsForSingleWindow settings_get_gap_for_single_window();
|
|
|
|
void settings_set_gap_for_single_window(SettingsForSingleWindow new_gap_for_single_window);
|
2021-11-14 22:55:39 -05:00
|
|
|
|
2021-11-15 18:38:42 -05:00
|
|
|
bool settings_get_enable_swallowing();
|
|
|
|
void settings_set_enable_swallowing(bool new_enable_swallowing);
|
|
|
|
|
2021-11-13 11:31:28 -05:00
|
|
|
bool settings_get_focus_on_wheel();
|
|
|
|
void settings_set_focus_on_wheel(bool new_focus_on_wheel);
|
|
|
|
|
2021-11-14 21:31:24 -05:00
|
|
|
int settings_get_gap_size();
|
|
|
|
void settings_set_gap_size(int new_gap_size);
|
|
|
|
|
2021-11-13 15:58:10 -05:00
|
|
|
int settings_get_max_clients_in_master();
|
|
|
|
void settings_set_max_clients_in_master(int new_max_clients_in_master);
|
|
|
|
|
2021-11-13 13:01:10 -05:00
|
|
|
bool settings_get_respect_resize_hints_in_floating_layout();
|
|
|
|
void settings_set_respect_resize_hints_in_floating_layout(bool new_respect_resize_hints_in_floating_layout);
|
|
|
|
|
2021-11-13 13:32:57 -05:00
|
|
|
unsigned int settings_get_snap_distance();
|
|
|
|
void settings_set_snap_distance(unsigned int new_snap_distance);
|
|
|
|
|
2021-11-15 18:38:42 -05:00
|
|
|
bool settings_get_swallow_floating();
|
|
|
|
void settings_set_swallow_floating(bool new_swallow_floating);
|
|
|
|
|
2021-11-13 11:31:28 -05:00
|
|
|
#endif // _SETTINGS_H
|