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 ddf8f096bf
commit cc0fc99a2c
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ client_maybevisible(client_t *c, screen_t *screen)
{ {
if(screen && c->screen == screen) if(screen && c->screen == screen)
{ {
if(c->sticky || c->type == WINDOW_TYPE_DESKTOP) if(c->sticky)
return true; return true;
foreach(tag, screen->tags) foreach(tag, screen->tags)