[Xfce4-commits] [xfce/xfce4-panel] 02/05: panel: Immediately show panel in intellihide

noreply at xfce.org noreply at xfce.org
Mon Feb 3 13:10:55 CET 2020


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 e70f10732b5080f250ae50982b0e97e4f8725094
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Feb 2 12:52:39 2020 +0100

    panel: Immediately show panel in intellihide
    
    At init time we used to pop up the panel, instead we now show it
    immediately to avoid flickering or the panel ghostly moving across the
    screen (due to the autohide slide-out animation).
---
 panel/panel-window.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index 05a3d04..464f81a 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2729,8 +2729,7 @@ panel_window_set_autohide_behavior (PanelWindow *window,
           /* start intelligent autohide by making the panel visible initially */
           if (window->autohide_state != AUTOHIDE_VISIBLE)
             {
-              panel_window_autohide_queue (window,
-                  window->autohide_block == 0 ? AUTOHIDE_POPUP : AUTOHIDE_BLOCKED);
+              panel_window_autohide_queue (window, AUTOHIDE_VISIBLE);
             }
         }
     }

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


More information about the Xfce4-commits mailing list