]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
dont let windows be placed offscreen
[chaz/openbox] / openbox / action.c
index 1c54b6e8ec83c16b0612ec136121ddbe0db25258..cc934206ce58935654a6c77a09868b716070d310 100644 (file)
@@ -621,7 +621,10 @@ void action_previous_desktop_row(union ActionData *data)
 
 void action_toggle_decorations(union ActionData *data)
 {
-    Client *c = data->client.c;
+    Client *c = data->client.c;;
+
+    if (!c) return;
+
     c->disabled_decorations = c->disabled_decorations ? 0 : ~0;
     client_setup_decor_and_functions(c);
 }
This page took 0.021579 seconds and 4 git commands to generate.