[Xfce4-commits] <xfdesktop:master> Fix an settings issue when plug names aren't available

Eric Koegel noreply at xfce.org
Sun Feb 23 12:54:01 CET 2014


Updating branch refs/heads/master
         to 05adaa59dbedd89b3e0ae6001ff367572c1be7d2 (commit)
       from b1a7c62d4e78dc1cee7e3d499440618c085c7d48 (commit)

commit 05adaa59dbedd89b3e0ae6001ff367572c1be7d2
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Feb 23 14:49:49 2014 +0300

    Fix an settings issue when plug names aren't available
    
    When gdk_screen_get_monitor_plug_name doesn't return a monitor
    name we were comparing monitor numbers but that check meant the
    first monitor never got its settings updated.

 settings/main.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/settings/main.c b/settings/main.c
index 7fe6da6..2661d40 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -1449,11 +1449,6 @@ cb_update_background_tab(WnckWindow *wnck_window,
                 g_free(monitor_name);
                 return;
             }
-        } else {
-            /* Check if we haven't changed monitors (by number) */
-            if(panel->monitor == monitor_num) {
-                return;
-            }
         }
     }
 


More information about the Xfce4-commits mailing list