mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
Fix miniwindows auto-arranging bug
With this patch, minimized windows do not reshuffle anymore. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361241 where Martin Hinsch reported: "The behaviour of icons (minimized applications) is severely broken when automatic placement is switched on. * When switching the workspace icons often stick thereby covering (and hiding) icons on the workspace one is switching to. * After minimizing an application, clicking (singly or doubly) on one of the icons causes all of them to reshuffle, usually in a way that the icon in question changes its place (which is extremely annoying). * Icon placement ignores the dock so that icons disappear behind it/cover it. All of these suddenly appeared about a year ago (I think with 91.0). The problems are not architecture-specific since they occur in exactly the same way on my pentium machine. Wiping the complete configuration (rm -r ~/GNUstep) did not make a change either."
This commit is contained in:
committed by
Carlos R. Mafra
parent
5b93254d0f
commit
816fee1b68
@@ -1097,6 +1097,9 @@ void wIconifyWindow(WWindow * wwin)
|
||||
wIconSelect(wwin->icon);
|
||||
|
||||
WMPostNotificationName(WMNChangedState, wwin, "iconify");
|
||||
|
||||
if (wPreferences.auto_arrange_icons)
|
||||
wArrangeIcons(wwin->screen_ptr, True);
|
||||
}
|
||||
|
||||
void wDeiconifyWindow(WWindow * wwin)
|
||||
|
||||
Reference in New Issue
Block a user