mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
chase: handle gamma-control-v1 set_gamma events
References: - https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046 - https://github.com/swaywm/sway/pull/7494/files Fixes: #1262
This commit is contained in:
parent
9c1c96f993
commit
fcf21e1464
3 changed files with 53 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wlr/types/wlr_keyboard.h>
|
||||
#include <wlr/types/wlr_keyboard_group.h>
|
||||
|
|
@ -291,6 +292,9 @@ struct server {
|
|||
*/
|
||||
int pending_output_layout_change;
|
||||
|
||||
struct wlr_gamma_control_manager_v1 *gamma_control_manager_v1;
|
||||
struct wl_listener gamma_control_set_gamma;
|
||||
|
||||
struct session_lock *session_lock;
|
||||
|
||||
struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
|
||||
|
|
@ -343,6 +347,7 @@ struct output {
|
|||
struct wl_listener request_state;
|
||||
|
||||
bool leased;
|
||||
bool gamma_lut_changed;
|
||||
};
|
||||
|
||||
#undef LAB_NR_LAYERS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue