]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
add actions for key/mouse bindings etc
[chaz/openbox] / openbox / client.c
index b9cebb79f1c4eef04c0ac08d670518182e5f520c..c8d33e833faa911e3cc9c04f8cb8aed4ed7e96ee 100644 (file)
@@ -1632,9 +1632,7 @@ void client_set_desktop(Client *self, guint target)
   
     g_message("Setting desktop %u\n", target);
 
-    if (!(target < screen_num_desktops ||
-         target == DESKTOP_ALL))
-       return;
+    g_assert(target < screen_num_desktops || target == DESKTOP_ALL);
 
     old = self->desktop;
     self->desktop = target;
This page took 0.020236 seconds and 4 git commands to generate.