diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-15 16:57:37 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-15 16:57:37 +0100 |
commit | 62bbdd7c30e3638e7ade7828df6ddc4e41fccb9e (patch) | |
tree | 80fdc0e5b94e26f62c811bf685bed4e97dae9947 /src/window/window_wayland.c | |
parent | b250731b1c365d5ad7cd646cfdf4c39f78a4b420 (diff) |
Revert kde plasma 6.2 hdr workaround code
Diffstat (limited to 'src/window/window_wayland.c')
-rw-r--r-- | src/window/window_wayland.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/window/window_wayland.c b/src/window/window_wayland.c index fa9be28..3a82bfa 100644 --- a/src/window/window_wayland.c +++ b/src/window/window_wayland.c @@ -29,7 +29,6 @@ typedef struct { void *compositor; gsr_wayland_output outputs[GSR_MAX_OUTPUTS]; int num_outputs; - bool is_compositor_kwin; } gsr_window_wayland; static void output_handle_geometry(void *data, struct wl_output *wl_output, @@ -124,8 +123,6 @@ static void registry_add_object(void *data, struct wl_registry *registry, uint32 .name = NULL, }; wl_output_add_listener(gsr_output->output, &output_listener, gsr_output); - } else if(strcmp(interface, "org_kde_plasma_shell") == 0) { - window_wayland->is_compositor_kwin = true; } } @@ -292,11 +289,6 @@ static void gsr_window_wayland_for_each_active_monitor_output_cached(const gsr_w } } -static bool gsr_window_wayland_is_compositor_kwin(const gsr_window *window) { - const gsr_window_wayland *self = window->priv; - return self->is_compositor_kwin; -} - gsr_window* gsr_window_wayland_create(void) { gsr_window *window = calloc(1, sizeof(gsr_window)); if(!window) @@ -322,7 +314,6 @@ gsr_window* gsr_window_wayland_create(void) { .get_display = gsr_window_wayland_get_display, .get_window = gsr_window_wayland_get_window, .for_each_active_monitor_output_cached = gsr_window_wayland_for_each_active_monitor_output_cached, - .is_compositor_kwin = gsr_window_wayland_is_compositor_kwin, .priv = window_wayland }; |