]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/keysrc.yacc
use the number for sendtodesktop
[chaz/openbox] / plugins / keyboard / keysrc.yacc
index 3e4eeff6900a79d3a018e7e561676467fe3b55f5..24297d3b63d3907194c3b5adc188eedc77b292b7 100644 (file)
@@ -22,7 +22,7 @@ static char *path;
     GList *list;
 }
 
-%token <integer> INTEGER;
+%token <integer> INTEGER
 %token <string> STRING
 %token <string> FIELD
 %token <string> DESKTOP
@@ -88,7 +88,7 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
         a->data.execute.path = apath;
     else
         g_free(apath);
-    if (a->func == action_desktop)
+    if (a->func == action_desktop || a->func == action_send_to_desktop)
         a->data.desktop.desk = (unsigned) num - 1;
     if (a->func == action_move_relative_horz ||
         a->func == action_move_relative_vert ||
This page took 0.019825 seconds and 4 git commands to generate.