all repos — tint2 @ c583ea42eb7f2f904ada851438b987e0f768ac29

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Update strut after resizing panel in autohide-show (issue 472)

git-svn-id: http://tint2.googlecode.com/svn/trunk@731 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
commit

c583ea42eb7f2f904ada851438b987e0f768ac29

parent

4c16f97e735bd7c9655461f510bd8ce05d078dc6

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/panel.csrc/panel.c

@@ -813,8 +813,6 @@ {

Panel* panel = p; stop_autohide_timeout(panel); panel->is_hidden = 0; - if (panel_strut_policy == STRUT_FOLLOW_SIZE) - update_strut(p); XMapSubwindows(server.dsp, panel->main_win); // systray windows if (panel_horizontal) {

@@ -829,6 +827,8 @@ XResizeWindow(server.dsp, panel->main_win, panel->area.width, panel->area.height);

else XMoveResizeWindow(server.dsp, panel->main_win, panel->posx, panel->posy, panel->area.width, panel->area.height); } + if (panel_strut_policy == STRUT_FOLLOW_SIZE) + update_strut(p); refresh_systray = 1; // ugly hack, because we actually only need to call XSetBackgroundPixmap panel_refresh = 1; }