]> Dogcows Code - chaz/openbox/commitdiff
subtract 1 from the given desktop number
authorDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 13:35:32 +0000 (13:35 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 13:35:32 +0000 (13:35 +0000)
plugins/keyboard/keysrc.yacc

index d779da838464daec914ee6caf555d71c15ccbc90..c1f977e829acca0d0772a8e7ec00ed87e6aa7daa 100644 (file)
@@ -89,7 +89,7 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
     else
         g_free(apath);
     if (a->func == action_desktop)
-        a->data.desktop.desk = (unsigned) num + 1;
+        a->data.desktop.desk = (unsigned) num - 1;
     if (a->func == action_move_relative_horz ||
         a->func == action_move_relative_vert ||
         a->func == action_resize_relative_horz ||
This page took 0.022493 seconds and 4 git commands to generate.