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



commit bb6c8a475fb7b594f5d0890efadebd184d51b9c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 30 09:01:47 2017 -0400

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

 gdk/mir/gdkmirscreen.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c
index c257c89..0051b2a 100644
--- a/gdk/mir/gdkmirscreen.c
+++ b/gdk/mir/gdkmirscreen.c
@@ -281,7 +281,10 @@ change_setting (GdkMirScreen *screen,
     }
 
   gdk_event_put ((const GdkEvent *) &event);
+
   g_free (event.name);
+
+  gdk_display_setting_changed (gdk_screen_get_display (screen), name);
 }
 
 static const struct


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