all repos — openbox @ 551528c57fcdfb911342bfd6dd271cb14dd251e9

openbox fork - make it a bit more like ryudo

take care when sibling is specified as an unmanaged window
Dana Jansens danakj@orodu.net
commit

551528c57fcdfb911342bfd6dd271cb14dd251e9

parent

73b3838d5e22b209143ab236a2b329aa9be65475

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

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

@@ -1073,8 +1073,11 @@ if (e->xconfigurerequest.value_mask & CWSibling) {

ObWindow *win; win = g_hash_table_lookup(window_map, &e->xconfigurerequest.above); - if (WINDOW_IS_CLIENT(win) && WINDOW_AS_CLIENT(win) != client) + if (win && WINDOW_IS_CLIENT(win) && + WINDOW_AS_CLIENT(win) != client) + { sibling = WINDOW_AS_CLIENT(win); + } } if (!config_focus_under_mouse)