[Xfce4-commits] <xfce4-notifyd:master> Compute the new workarea on screen-change.

Jérôme Guelfucci noreply at xfce.org
Wed Nov 10 19:24:02 CET 2010


Updating branch refs/heads/master
         to 616ca760cb8bc549e538fe6a6d8aec2702c1d008 (commit)
       from c3866d82ffcf8d2019c7ab5bb5ec347695fc571e (commit)

commit 616ca760cb8bc549e538fe6a6d8aec2702c1d008
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Wed Nov 10 19:21:41 2010 +0100

    Compute the new workarea on screen-change.

 xfce4-notifyd/xfce-notify-daemon.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index 9ce2983..451b19f 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -247,6 +247,9 @@ xfce_notify_daemon_screen_changed(GdkScreen *screen,
     g_free(xndaemon->monitors_workarea[screen_number]);
 
     xndaemon->monitors_workarea[screen_number] = g_new0(GdkRectangle, new_nmonitor);
+    for(j = 0; j < new_nmonitor; j++)
+        xfce_notify_daemon_get_workarea(screen, j,
+                                        &(xndaemon->monitors_workarea[screen_number][j]));
 
     /* Initialize a new reserved rectangles array for screen */
     xndaemon->reserved_rectangles[screen_number] = g_new0(GList *, new_nmonitor);



More information about the Xfce4-commits mailing list