[gtk+/wip/matthiasc/gdk-settings: 5/12] x11: Emit GdkDisplay::setting-changed



commit 8686526b4a5b7f13b162625041d4cb2c874338b7
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 30 09:03:25 2017 -0400

    x11: Emit GdkDisplay::setting-changed
    
    We still generate the event too.
    That will be removed in a future commit.

 gdk/x11/xsettings-client.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/xsettings-client.c b/gdk/x11/xsettings-client.c
index 44aa4de..88ad15a 100644
--- a/gdk/x11/xsettings-client.c
+++ b/gdk/x11/xsettings-client.c
@@ -78,6 +78,8 @@ gdk_xsettings_notify (GdkX11Screen     *x11_screen,
   new_event.setting.name = (char*) name;
 
   gdk_event_put (&new_event);
+
+  gdk_display_setting_changed (gdk_screen_get_display (GDK_SCREEN (x11_screen)), name);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]