mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
*** empty log message ***
This commit is contained in:
@@ -1570,6 +1570,8 @@ wWindowFocus(WWindow *wwin, WWindow *owin)
|
||||
return;
|
||||
}
|
||||
|
||||
oowner = wWindowFor(owin->transient_for);
|
||||
|
||||
/* new window is owner of old window */
|
||||
if (wwin == oowner) {
|
||||
wWindowUnfocus(owin);
|
||||
@@ -1582,7 +1584,6 @@ wWindowFocus(WWindow *wwin, WWindow *owin)
|
||||
}
|
||||
|
||||
/* new window has same owner of old window */
|
||||
oowner = wWindowFor(owin->transient_for);
|
||||
if (oowner == nowner) {
|
||||
/* prevent unfocusing of owner */
|
||||
oowner->flags.semi_focused = 0;
|
||||
|
||||
Reference in New Issue
Block a user