mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
tearing: add fullscreen option
If set, labwc will try to automatically enable tearing for fullscreen applications. Fixes: #1557
This commit is contained in:
parent
7110b7cf3e
commit
db7f300554
5 changed files with 33 additions and 5 deletions
|
|
@ -35,6 +35,12 @@ enum adaptive_sync_mode {
|
|||
LAB_ADAPTIVE_SYNC_FULLSCREEN,
|
||||
};
|
||||
|
||||
enum tearing_mode {
|
||||
LAB_TEARING_DISABLED = 0,
|
||||
LAB_TEARING_ENABLED,
|
||||
LAB_TEARING_FULLSCREEN,
|
||||
};
|
||||
|
||||
enum tiling_events_mode {
|
||||
LAB_TILING_EVENTS_NEVER = 0,
|
||||
LAB_TILING_EVENTS_REGION = 1 << 0,
|
||||
|
|
@ -65,7 +71,7 @@ struct rcxml {
|
|||
bool xdg_shell_server_side_deco;
|
||||
int gap;
|
||||
enum adaptive_sync_mode adaptive_sync;
|
||||
bool allow_tearing;
|
||||
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