Desktop clients may not be visible on all tags.

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>
This commit is contained in:
David Palacio 2011-10-04 10:22:43 -05:00 committed by Uli Schlachter
parent c1d0dee20d
commit db1610c7dc
1 changed files with 1 additions and 1 deletions

View 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)