mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
config: add adaptive sync fullscreen option
This commit is contained in:
parent
21234a5763
commit
08045d7843
5 changed files with 63 additions and 12 deletions
|
|
@ -28,6 +28,12 @@ enum view_placement_policy {
|
|||
LAB_PLACE_AUTOMATIC
|
||||
};
|
||||
|
||||
enum adaptive_sync_mode {
|
||||
LAB_ADAPTIVE_SYNC_DISABLED,
|
||||
LAB_ADAPTIVE_SYNC_ENABLED,
|
||||
LAB_ADAPTIVE_SYNC_FULLSCREEN,
|
||||
};
|
||||
|
||||
struct usable_area_override {
|
||||
struct border margin;
|
||||
char *output;
|
||||
|
|
@ -46,7 +52,7 @@ struct rcxml {
|
|||
/* core */
|
||||
bool xdg_shell_server_side_deco;
|
||||
int gap;
|
||||
bool adaptive_sync;
|
||||
enum adaptive_sync_mode adaptive_sync;
|
||||
bool reuse_output_mode;
|
||||
enum view_placement_policy placement_policy;
|
||||
|
||||
|
|
|
|||
|
|
@ -477,6 +477,7 @@ void handle_output_power_manager_set_mode(struct wl_listener *listener,
|
|||
void *data);
|
||||
void output_add_virtual(struct server *server, const char *output_name);
|
||||
void output_remove_virtual(struct server *server, const char *output_name);
|
||||
void output_enable_adaptive_sync(struct wlr_output *output, bool enabled);
|
||||
|
||||
void server_init(struct server *server);
|
||||
void server_start(struct server *server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue