1
0
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:
kojima
1999-04-17 23:11:34 +00:00
parent 8bdc78fcd1
commit 9eb4f894d0
9 changed files with 17 additions and 16 deletions

View File

@@ -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;