projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f539dc
)
sendTo and goto workspaces both need to start at 0, not 1
author
Dana Jansens
<danakj@orodu.net>
Wed, 7 Aug 2002 02:17:01 +0000
(
02:17
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 7 Aug 2002 02:17:01 +0000
(
02:17
+0000)
util/epist/actions.cc
patch
|
blob
|
history
diff --git
a/util/epist/actions.cc
b/util/epist/actions.cc
index 118719508b85174570a0900f160ef13b312364bd..c4874983e51e50119d34a59bceca74ac385c1c88 100644
(file)
--- a/
util/epist/actions.cc
+++ b/
util/epist/actions.cc
@@
-52,6
+52,7
@@
Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask,
_numberParam = atoi( str.c_str() );
- if (type == changeWorkspace) // workspace 1 to the user is workspace 0 to us
+ // workspace 1 to the user is workspace 0 to us
+ if (type == changeWorkspace || type == sendToWorkspace)
_numberParam--;
}