Fix off-by-one error. Fix off-by-one error. Closes #557201.

2008-10-21  Tomas Frydrych  <tf@linux.intel.com>

       * src/core/screen-bindings.h: Fix off-by-one error.
       * src/core/window-bindings.h: Fix off-by-one error.
       Closes #557201.


svn path=/trunk/; revision=3968
This commit is contained in:
Tomas Frydrych 2008-10-21 11:58:04 +00:00 committed by Thomas James Alexander Thurman
parent 493408167b
commit 4854710de2
3 changed files with 36 additions and 24 deletions

View File

@ -1,3 +1,15 @@
2008-10-21 Tomas Frydrych <tf@linux.intel.com>
* src/core/screen-bindings.h: Fix off-by-one error.
* src/core/window-bindings.h: Fix off-by-one error.
Closes #557201.
2008-10-21 Tomas Frydrych <tf@linux.intel.com>
* src/core/screen-bindings.h: Fix off-by-one error.
* src/core/window-bindings.h: Fix off-by-one error.
Closes #557201.
2008-10-18 Thomas Thurman <tthurman@gnome.org> 2008-10-18 Thomas Thurman <tthurman@gnome.org>
During a discussion with Rodney Dawes about making life easier During a discussion with Rodney Dawes about making life easier

View File

@ -92,40 +92,40 @@
/* convenience, since in this file they must always be set together */ /* convenience, since in this file they must always be set together */
#define REVERSES_AND_REVERSED (BINDING_REVERSES | BINDING_IS_REVERSED) #define REVERSES_AND_REVERSED (BINDING_REVERSES | BINDING_IS_REVERSED)
item (switch_to_workspace, "_1", 1, 0, item (switch_to_workspace, "_1", 0, 0,
_("Switch to workspace 1"), _("Switch to workspace 1"),
NULL) NULL)
item (switch_to_workspace, "_2", 2, 0, item (switch_to_workspace, "_2", 1, 0,
_("Switch to workspace 2"), _("Switch to workspace 2"),
NULL) NULL)
item (switch_to_workspace, "_3", 3, 0, item (switch_to_workspace, "_3", 2, 0,
_("Switch to workspace 3"), _("Switch to workspace 3"),
NULL) NULL)
item (switch_to_workspace, "_4", 4, 0, item (switch_to_workspace, "_4", 3, 0,
_("Switch to workspace 4"), _("Switch to workspace 4"),
NULL) NULL)
item (switch_to_workspace, "_5", 5, 0, item (switch_to_workspace, "_5", 4, 0,
_("Switch to workspace 5"), _("Switch to workspace 5"),
NULL) NULL)
item (switch_to_workspace, "_6", 6, 0, item (switch_to_workspace, "_6", 5, 0,
_("Switch to workspace 6"), _("Switch to workspace 6"),
NULL) NULL)
item (switch_to_workspace, "_7", 7, 0, item (switch_to_workspace, "_7", 6, 0,
_("Switch to workspace 7"), _("Switch to workspace 7"),
NULL) NULL)
item (switch_to_workspace, "_8", 8, 0, item (switch_to_workspace, "_8", 7, 0,
_("Switch to workspace 8"), _("Switch to workspace 8"),
NULL) NULL)
item (switch_to_workspace, "_9", 9, 0, item (switch_to_workspace, "_9", 8, 0,
_("Switch to workspace 9"), _("Switch to workspace 9"),
NULL) NULL)
item (switch_to_workspace, "_10", 10, 0, item (switch_to_workspace, "_10", 9, 0,
_("Switch to workspace 10"), _("Switch to workspace 10"),
NULL) NULL)
item (switch_to_workspace, "_11", 11, 0, item (switch_to_workspace, "_11", 10, 0,
_("Switch to workspace 11"), _("Switch to workspace 11"),
NULL) NULL)
item (switch_to_workspace, "_12", 12, 0, item (switch_to_workspace, "_12", 11, 0,
_("Switch to workspace 12"), _("Switch to workspace 12"),
NULL) NULL)

View File

@ -127,40 +127,40 @@ item (toggle_on_all_workspaces, "", 0, BINDING_PER_WINDOW,
_("Toggle whether window is on all workspaces or just one"), _("Toggle whether window is on all workspaces or just one"),
NULL) NULL)
item (move_to_workspace, "_1", 1, BINDING_PER_WINDOW, item (move_to_workspace, "_1", 0, BINDING_PER_WINDOW,
_("Move window to workspace 1"), _("Move window to workspace 1"),
NULL) NULL)
item (move_to_workspace, "_2", 2, BINDING_PER_WINDOW, item (move_to_workspace, "_2", 1, BINDING_PER_WINDOW,
_("Move window to workspace 2"), _("Move window to workspace 2"),
NULL) NULL)
item (move_to_workspace, "_3", 3, BINDING_PER_WINDOW, item (move_to_workspace, "_3", 2, BINDING_PER_WINDOW,
_("Move window to workspace 3"), _("Move window to workspace 3"),
NULL) NULL)
item (move_to_workspace, "_4", 4, BINDING_PER_WINDOW, item (move_to_workspace, "_4", 3, BINDING_PER_WINDOW,
_("Move window to workspace 4"), _("Move window to workspace 4"),
NULL) NULL)
item (move_to_workspace, "_5", 5, BINDING_PER_WINDOW, item (move_to_workspace, "_5", 4, BINDING_PER_WINDOW,
_("Move window to workspace 5"), _("Move window to workspace 5"),
NULL) NULL)
item (move_to_workspace, "_6", 6, BINDING_PER_WINDOW, item (move_to_workspace, "_6", 5, BINDING_PER_WINDOW,
_("Move window to workspace 6"), _("Move window to workspace 6"),
NULL) NULL)
item (move_to_workspace, "_7", 7, BINDING_PER_WINDOW, item (move_to_workspace, "_7", 6, BINDING_PER_WINDOW,
_("Move window to workspace 7"), _("Move window to workspace 7"),
NULL) NULL)
item (move_to_workspace, "_8", 8, BINDING_PER_WINDOW, item (move_to_workspace, "_8", 7, BINDING_PER_WINDOW,
_("Move window to workspace 8"), _("Move window to workspace 8"),
NULL) NULL)
item (move_to_workspace, "_9", 9, BINDING_PER_WINDOW, item (move_to_workspace, "_9", 8, BINDING_PER_WINDOW,
_("Move window to workspace 9"), _("Move window to workspace 9"),
NULL) NULL)
item (move_to_workspace, "_10", 10, BINDING_PER_WINDOW, item (move_to_workspace, "_10", 9, BINDING_PER_WINDOW,
_("Move window to workspace 10"), _("Move window to workspace 10"),
NULL) NULL)
item (move_to_workspace, "_11", 11, BINDING_PER_WINDOW, item (move_to_workspace, "_11", 10, BINDING_PER_WINDOW,
_("Move window to workspace 11"), _("Move window to workspace 11"),
NULL) NULL)
item (move_to_workspace, "_12", 12, BINDING_PER_WINDOW, item (move_to_workspace, "_12", 11, BINDING_PER_WINDOW,
_("Move window to workspace 12"), _("Move window to workspace 12"),
NULL) NULL)