diff options
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r-- | src/CurrentWindowCmd.cc | 4 |
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 | ||
44 | void SendToWorkspaceCmd::real_execute() { | 44 | void 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 | ||