mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
bugfix: do not assume 0,0 is the screen coords, for god sake
This commit is contained in:
parent
44f63f0ff8
commit
dd5387e25e
1 changed files with 2 additions and 2 deletions
4
client.c
4
client.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue