bugfix: don't display window name in statusbar if sel is not on our screen

This commit is contained in:
Julien Danjou 2007-10-25 13:48:22 +02:00
parent 702d85b4d2
commit bd08d8a119
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ drawstatusbar(awesome_config * awesomeconf)
if((w = x - z) > awesomeconf->statusbar.height)
{
x = z;
if(*awesomeconf->client_sel)
if(*awesomeconf->client_sel && (*awesomeconf->client_sel)->screen == awesomeconf->screen)
{
drawtext(awesomeconf->display, awesomeconf->phys_screen,
x, y, w,