mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-26 09:36:56 +01:00
Fix for incorrect automatic palcement of windows if there were shaded
windows on the other workspaces.
This commit is contained in:
1 parent
e3fa161340
commit
cd6639ccc7
1 file changed
+2
@@ -468,6 +468,7 @@ autoPlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
|
||||
(ty < (test_y + height)) && ((ty + th) > test_y) &&
|
||||
(test_window->flags.mapped ||
|
||||
(test_window->flags.shaded &&
|
||||
test_window->frame->workspace==scr->current_workspace &&
|
||||
!(test_window->flags.miniaturized ||
|
||||
test_window->flags.hidden)))) {
|
||||
|
||||
@@ -502,6 +503,7 @@ autoPlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
|
||||
(ty < (test_y + height)) && ((ty + th) > test_y) &&
|
||||
(test_window->flags.mapped ||
|
||||
(test_window->flags.shaded &&
|
||||
test_window->frame->workspace==scr->current_workspace &&
|
||||
!(test_window->flags.miniaturized ||
|
||||
test_window->flags.hidden)))) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user