Desktop clients may not be visible on all tags.
authorDavid Palacio <dpalacio@orbitalibre.org>
Tue, 4 Oct 2011 15:22:43 +0000 (10:22 -0500)
committerUli Schlachter <psychon@znc.in>
Tue, 4 Oct 2011 18:24:39 +0000 (20:24 +0200)
Usually desktop clients are on a sticky state. If the client
is not sticky, only show on selected tags.

Signed-off-by: Uli Schlachter <psychon@znc.in>

objects/client.c

index c024bb9..f7a7403 100644 (file)
@@ -143,7 +143,7 @@ client_set_class_instance(lua_State *L, int cidx, const char *class, const char
 bool
 client_maybevisible(client_t *c)
 {
-    if(c->sticky || c->type == WINDOW_TYPE_DESKTOP)
+    if(c->sticky)
         return true;
 
     foreach(tag, c->screen->tags)