From bb6c8a475fb7b594f5d0890efadebd184d51b9c8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Oct 2017 09:01:47 -0400 Subject: [PATCH] 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 file changed, 3 insertions(+) diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c index c257c892a1..0051b2a187 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