mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
config: add allowTearing option
This commit is contained in:
parent
7f357a388b
commit
2f0a9ef158
5 changed files with 56 additions and 1 deletions
|
|
@ -34,6 +34,12 @@ enum adaptive_sync_mode {
|
|||
LAB_ADAPTIVE_SYNC_FULLSCREEN,
|
||||
};
|
||||
|
||||
enum tearing_mode {
|
||||
LAB_TEARING_DISABLED,
|
||||
LAB_TEARING_ENABLED,
|
||||
LAB_TEARING_FULLSCREEN,
|
||||
};
|
||||
|
||||
struct usable_area_override {
|
||||
struct border margin;
|
||||
char *output;
|
||||
|
|
@ -53,6 +59,7 @@ struct rcxml {
|
|||
bool xdg_shell_server_side_deco;
|
||||
int gap;
|
||||
enum adaptive_sync_mode adaptive_sync;
|
||||
enum tearing_mode allow_tearing;
|
||||
bool reuse_output_mode;
|
||||
enum view_placement_policy placement_policy;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue