all repos — openbox @ a0acc01f2ca1f4cff337f359d64136b754678b93

openbox fork - make it a bit more like ryudo

Fix a typo that broke transient window hints.
Mikael Magnusson mikachu@comhem.se
commit

a0acc01f2ca1f4cff337f359d64136b754678b93

parent

d57fd943947b59ef39f783fd634a5f8d8078609a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -1288,7 +1288,7 @@ if (t != self->window) { /* cant be transient to itself! */

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