From 97ab44b3d8f822fafcb5f121bcfd655dabec30ac Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 1 Feb 2011 16:59:02 +0100 Subject: [PATCH] disable workspace-level move operations (not yet implemented) (Thanks mseed) --- src/con.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/con.c b/src/con.c index a14b95ce..5953c8c6 100644 --- 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; -- 2.39.5