From 5d4c97942508821845a907256a048fe4f9133655 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Oct 2017 09:35:45 -0400 Subject: [PATCH] wayland: Stop emitting setting events Not needed anymore. --- gdk/wayland/gdkscreen-wayland.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c index 3a600220bb..5533736273 100644 --- a/gdk/wayland/gdkscreen-wayland.c +++ b/gdk/wayland/gdkscreen-wayland.c @@ -115,15 +115,6 @@ static void notify_setting (GdkScreen *screen, const gchar *setting) { - GdkEvent event; - - event.type = GDK_SETTING; - event.setting.window = gdk_screen_get_root_window (screen); - event.setting.send_event = FALSE; - event.setting.action = GDK_SETTING_ACTION_CHANGED; - event.setting.name = (gchar *)setting; - gdk_event_put (&event); - gdk_display_setting_changed (gdk_screen_get_display (screen), setting); }