]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
add disabled buttons, instead of now showing buttons at all when they wont do anythin...
[chaz/openbox] / openbox / action.c
index 6e06d374360764e5afb7a197c5e61bae137d45fc..a14ea7cce6f0a8d3f7ca80570d2e22e182927e46 100644 (file)
@@ -1105,7 +1105,7 @@ void action_toggle_decorations(union ActionData *data)
 
     if (!c) return;
 
-    c->disabled_decorations = c->disabled_decorations ? 0 : ~0;
+    c->decorate = !c->decorate;
     client_setup_decor_and_functions(c);
 }
 
This page took 0.023795 seconds and 4 git commands to generate.