aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-07-26 13:44:00 (GMT)
committerrathnor <rathnor>2003-07-26 13:44:00 (GMT)
commit2b7aace6b304fc46ae4f948feb531ae60b39251e (patch)
tree2af48a48e5ade95584a0230ce72828fa9d13f1b4 /src/CurrentWindowCmd.cc
parent868728e97b9803cd9ac7a72d320a8fbe15023930 (diff)
downloadfluxbox-2b7aace6b304fc46ae4f948feb531ae60b39251e.zip
fluxbox-2b7aace6b304fc46ae4f948feb531ae60b39251e.tar.bz2
fix a couple of keybindings
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc
index 8e0a70c..f4d4af7 100644
--- a/src/CurrentWindowCmd.cc
+++ b/src/CurrentWindowCmd.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: CurrentWindowCmd.cc,v 1.1 2003/06/30 14:35:11 fluxgen Exp $ 23// $Id: CurrentWindowCmd.cc,v 1.2 2003/07/26 13:44:00 rathnor Exp $
24 24
25#include "CurrentWindowCmd.hh" 25#include "CurrentWindowCmd.hh"
26 26
@@ -42,7 +42,7 @@ void KillWindowCmd::real_execute() {
42} 42}
43 43
44void SendToWorkspaceCmd::real_execute() { 44void SendToWorkspaceCmd::real_execute() {
45 if (m_workspace_num > 0 && m_workspace_num < window().screen().getNumberOfWorkspaces()) 45 if (m_workspace_num >= 0 && m_workspace_num < window().screen().getNumberOfWorkspaces())
46 window().screen().sendToWorkspace(m_workspace_num, &window()); 46 window().screen().sendToWorkspace(m_workspace_num, &window());
47} 47}
48 48