all repos — openbox @ 265bdd46605367e1cb35dcd9d8ff2c98fae70166

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

265bdd46605367e1cb35dcd9d8ff2c98fae70166

parent

87fd759ba98dfec47b4c6a5cb291339617d40af3

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

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

@@ -134,7 +134,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

@@ -156,7 +156,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;