1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Fix for incorrect automatic palcement of windows if there were shaded

windows on the other workspaces.
This commit is contained in:
dan
2000-09-30 03:46:07 +00:00
parent e3fa161340
commit cd6639ccc7

View File

@@ -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)))) {