[gtk+/wip/matthiasc/gdk-settings: 4/12] wayland: Emit GdkDisplay::setting-changed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/gdk-settings: 4/12] wayland: Emit GdkDisplay::setting-changed
- Date: Mon, 30 Oct 2017 13:50:10 +0000 (UTC)
commit 3c0614994f6354d1c93bdabe4944c98cb89806b9
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 30 09:03:08 2017 -0400
wayland: Emit GdkDisplay::setting-changed
We still generate the event too.
That will be removed in a future commit.
gdk/wayland/gdkscreen-wayland.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index b939fef..3a60022 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -123,6 +123,8 @@ notify_setting (GdkScreen *screen,
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);
}
typedef enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]