From ad44e8a708b6836c9d84be7205457cfa82800a65 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 18 Mar 2003 08:39:28 +0000 Subject: add actions for key/mouse bindings etc --- openbox/client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index b9cebb79..c8d33e83 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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; -- cgit v1.2.3