[gtk+] gdkscreen-wayland: Emit monitors-changed when the output scale changes



commit b395929a16329e70b2b86df3c2de6519cfba0ee0
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Apr 26 14:08:51 2014 +0200

    gdkscreen-wayland: Emit monitors-changed when the output scale changes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=729013

 gdk/wayland/gdkscreen-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 7084296..7e3dfe5 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -986,6 +986,7 @@ output_handle_scale(void *data,
   GdkWaylandMonitor *monitor = (GdkWaylandMonitor *)data;
 
   monitor->scale = factor;
+  g_signal_emit_by_name (monitor->screen, "monitors-changed");
 }
 
 static void


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