From: Michael Stapelberg Date: Tue, 1 Feb 2011 15:59:02 +0000 (+0100) Subject: disable workspace-level move operations (not yet implemented) (Thanks mseed) X-Git-Tag: tree-pr2~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97ab44b3d8f822fafcb5f121bcfd655dabec30ac;p=i3%2Fi3 disable workspace-level move operations (not yet implemented) (Thanks mseed) --- 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;