]> git.sur5r.net Git - i3/i3/commitdiff
disable workspace-level move operations (not yet implemented) (Thanks mseed)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 1 Feb 2011 15:59:02 +0000 (16:59 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 1 Feb 2011 15:59:02 +0000 (16:59 +0100)
src/con.c

index a14b95ce5493e32b03d868bcc5dc6a01f928fcbe..5953c8c69f4cca5b7466569bf683515a4dbf9fcd 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -474,6 +474,11 @@ void con_toggle_fullscreen(Con *con) {
  *
  */
 void con_move_to_workspace(Con *con, Con *workspace) {
+    if (con->type == CT_WORKSPACE) {
+        DLOG("Moving workspaces is not yet implemented.\n");
+        return;
+    }
+
     if (con_is_floating(con)) {
         DLOG("Using FLOATINGCON instead\n");
         con = con->parent;