]> git.sur5r.net Git - i3/i3/blobdiff - src/render.c
Implement scratchpad functionality (see userguide)
[i3/i3] / src / render.c
index 759c351fefe9364f5e50c719958d080531a6d4b9..b55c089ae4c5c53b42a2658d0725f0ce4160b441 100644 (file)
@@ -221,6 +221,9 @@ void render_con(Con *con, bool render_fullscreen) {
     }
 
     if (con->layout == L_OUTPUT) {
+        /* Skip i3-internal outputs */
+        if (con->name[0] == '_' && con->name[1] == '_')
+            return;
         render_l_output(con);
     } else if (con->type == CT_ROOT) {
         Con *output;
@@ -234,6 +237,8 @@ void render_con(Con *con, bool render_fullscreen) {
          * windows/containers so that they overlap on another output. */
         DLOG("Rendering floating windows:\n");
         TAILQ_FOREACH(output, &(con->nodes_head), nodes) {
+            if (output->name[0] == '_' && output->name[1] == '_')
+                continue;
             /* Get the active workspace of that output */
             Con *content = output_get_content(output);
             Con *workspace = TAILQ_FIRST(&(content->focus_head));