all repos — openbox @ 76fcb473fa801728badf916cfebe349822759056

openbox fork - make it a bit more like ryudo

don't crash when using <raise> and alt-tab and there are no windows to cycle between
Dana Jansens danakj@orodu.net
commit

76fcb473fa801728badf916cfebe349822759056

parent

4764e1805d5925f208f578e1cdcad551e78857ac

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

jump to
M openbox/actions/cyclewindows.copenbox/actions/cyclewindows.c

@@ -130,7 +130,7 @@ FALSE, FALSE);

cycling = TRUE; stacking_restore(); - if (o->raise) stacking_temp_raise(CLIENT_AS_WINDOW(ft)); + if (o->raise && ft) stacking_temp_raise(CLIENT_AS_WINDOW(ft)); return TRUE; }
M openbox/actions/directionalwindows.copenbox/actions/directionalwindows.c

@@ -152,7 +152,7 @@ FALSE, FALSE);

cycling = TRUE; stacking_restore(); - if (o->raise) stacking_temp_raise(CLIENT_AS_WINDOW(ft)); + if (o->raise && ft) stacking_temp_raise(CLIENT_AS_WINDOW(ft)); } return o->interactive;