]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/cyclewindows.c
don't crash when using <raise> and alt-tab and there are no windows to cycle between
[chaz/openbox] / openbox / actions / cyclewindows.c
index 059db93f9ccf3900b960e3e28ab1a9a7d1985413..cb341af7e1f679d9f75b2e5b4611aee40a85f4d7 100644 (file)
@@ -134,7 +134,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
     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;
 }
This page took 0.022752 seconds and 4 git commands to generate.