bugfix: don't display window name in statusbar if sel is not on our screen
This commit is contained in:
parent
702d85b4d2
commit
bd08d8a119
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue