[Xfce4-commits] [xfce/xfce4-panel] 01/01: Fix indentation

noreply at xfce.org noreply at xfce.org
Mon Oct 14 00:59:10 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 4564cc6a1c8135596cd8e34b8a50ee1f92c90e49
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Oct 14 00:59:00 2019 +0200

    Fix indentation
---
 panel/panel-window.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index 86c417c..d072869 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -945,14 +945,15 @@ panel_window_leave_notify_event (GtkWidget        *widget,
    /* queue an autohide timeout if needed */
   if (event->detail != GDK_NOTIFY_INFERIOR
       && window->autohide_state != AUTOHIDE_DISABLED
-      && window->autohide_state != AUTOHIDE_BLOCKED) {
-    /* simulate a geometry change to check for overlapping windows with intelligent hiding */
-    if (window->autohide_behavior == AUTOHIDE_BEHAVIOR_INTELLIGENTLY)
-      panel_window_active_window_geometry_changed (window->wnck_active_window, window);
-    /* otherwise just hide the panel */
-    else
-      panel_window_autohide_queue (window, AUTOHIDE_POPDOWN);
-  }
+      && window->autohide_state != AUTOHIDE_BLOCKED)
+    {
+      /* simulate a geometry change to check for overlapping windows with intelligent hiding */
+      if (window->autohide_behavior == AUTOHIDE_BEHAVIOR_INTELLIGENTLY)
+        panel_window_active_window_geometry_changed (window->wnck_active_window, window);
+      /* otherwise just hide the panel */
+      else
+        panel_window_autohide_queue (window, AUTOHIDE_POPDOWN_SLOW);
+    }
 
   return (*GTK_WIDGET_CLASS (panel_window_parent_class)->leave_notify_event) (widget, event);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list