mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
wayland: Stop emitting setting events
Not needed anymore.
This commit is contained in:
parent
627c0ae549
commit
5d4c979425
@ -115,15 +115,6 @@ static void
|
|||||||
notify_setting (GdkScreen *screen,
|
notify_setting (GdkScreen *screen,
|
||||||
const gchar *setting)
|
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);
|
gdk_display_setting_changed (gdk_screen_get_display (screen), setting);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user