Fix a typo that broke transient window hints.
This commit is contained in:
parent
d57fd94394
commit
a0acc01f2c
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ void client_update_transient_for(ObClient *self)
|
|||
ObWindow *tw = window_find(t);
|
||||
/* if this happens then we need to check for it*/
|
||||
g_assert(tw != CLIENT_AS_WINDOW(self));
|
||||
if (target && WINDOW_IS_CLIENT(tw)) {
|
||||
if (tw && WINDOW_IS_CLIENT(tw)) {
|
||||
/* watch out for windows with a parent that is something
|
||||
different, like a dockapp for example */
|
||||
target = WINDOW_AS_CLIENT(tw);
|
||||
|
|
Loading…
Reference in a new issue