do not use c->screen but awesomeconf->screen in si

This commit is contained in:
Julien Danjou 2007-10-24 12:35:53 +02:00
parent 52f8476ae3
commit 702d85b4d2

View file

@ -447,7 +447,7 @@ manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
c->tab.isvisible = True;
/* 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->y = 0;