]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/keysrc.yacc
use the last event timestamp when focusing the focus_backup
[chaz/openbox] / plugins / keyboard / keysrc.yacc
index d779da838464daec914ee6caf555d71c15ccbc90..3e4eeff6900a79d3a018e7e561676467fe3b55f5 100644 (file)
@@ -39,8 +39,8 @@ config:
   ;
 
 fields:
-  FIELD { $$ = g_list_prepend(NULL, $1); }
-  | fields FIELD { $$ = g_list_prepend($1, $2); }
+  FIELD { $$ = g_list_append(NULL, $1); }
+  | fields FIELD { $$ = g_list_append($1, $2); }
   ;
 
 %%
@@ -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.025148 seconds and 4 git commands to generate.