Updating branch refs/heads/devel
         to ccbda3afb839cb9a27366e9f2b463fb5782086e8 (commit)
       from 419aa0cd0cd1a82b0316306de3529890533b9c03 (commit)

commit ccbda3afb839cb9a27366e9f2b463fb5782086e8
Author: Nick Schermer <[email protected]>
Date:   Mon Feb 22 13:23:09 2010 +0100

    Always emit floating screen positions.
    
    This because the arrow direction is based on the position
    of the panel, so plugins need to update this.

 libxfce4panel/xfce-panel-plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libxfce4panel/xfce-panel-plugin.c 
b/libxfce4panel/xfce-panel-plugin.c
index a914932..54a93ab 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -1184,7 +1184,8 @@ xfce_panel_plugin_set_screen_position 
(XfcePanelPluginProvider *provider,
   panel_return_if_fail (XFCE_IS_PANEL_PLUGIN (provider));
 
   /* check if update is required */
-  if (G_LIKELY (plugin->priv->screen_position != screen_position))
+  if (G_LIKELY (plugin->priv->screen_position != screen_position
+      || xfce_screen_position_is_floating (screen_position)))
     {
       plugin->priv->screen_position = screen_position;
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to