[gtk+/wip/matthiasc/monitor] Emit GdkMonitor::invalidate when a monitor is removed



commit 4aed4cf40ab64e3733a3006bb76f870a84b5d859
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 11 21:06:27 2016 -0400

    Emit GdkMonitor::invalidate when a monitor is removed
    
    We do this in the frontend, so backends don't have to do anything
    special.

 gdk/gdkdisplay.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index c89049b..d932b50 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -2694,4 +2694,5 @@ gdk_display_monitor_removed (GdkDisplay *display,
                              GdkMonitor *monitor)
 {
   g_signal_emit (display, signals[MONITOR_REMOVED], 0, monitor);
+  gdk_monitor_invalidate (monitor);
 }


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