bugfix: do not assume 0,0 is the screen coords, for god sake

This commit is contained in:
Julien Danjou 2007-10-25 18:52:28 +02:00
parent 44f63f0ff8
commit dd5387e25e

View file

@ -449,8 +449,8 @@ manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
/* if window request fullscreen mode */
if(c->w == screen_info[awesomeconf->screen].width && c->h == screen_info[awesomeconf->screen].height)
{
c->x = 0;
c->y = 0;
c->x = screen_info[awesomeconf->screen].x_org;
c->y = screen_info[awesomeconf->screen].y_org;
c->border = wa->border_width;
}