do not use c->screen but awesomeconf->screen in si
This commit is contained in:
parent
52f8476ae3
commit
702d85b4d2
2
client.c
2
client.c
|
@ -447,7 +447,7 @@ manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
|
||||||
c->tab.isvisible = True;
|
c->tab.isvisible = True;
|
||||||
|
|
||||||
/* if window request fullscreen mode */
|
/* if window request fullscreen mode */
|
||||||
if(c->w == screen_info[c->screen].width && c->h == screen_info[c->screen].height)
|
if(c->w == screen_info[awesomeconf->screen].width && c->h == screen_info[awesomeconf->screen].height)
|
||||||
{
|
{
|
||||||
c->x = 0;
|
c->x = 0;
|
||||||
c->y = 0;
|
c->y = 0;
|
||||||
|
|
Loading…
Reference in New Issue