fix undermouse placement
This commit is contained in:
parent
64dda2375e
commit
7f11e15bb8
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
place.c for the Openbox window manager
|
place.c for the Openbox window manager
|
||||||
Copyright (c) 2006 Mikael Magnusson
|
Copyright (c) 2006 Mikael Magnusson
|
||||||
Copyright (c) 2003 Ben Jansens
|
Copyright (c) 2003-2007 Dana Jansens
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -370,6 +370,7 @@ static gboolean place_under_mouse(ObClient *client, gint *x, gint *y)
|
||||||
Rect *area;
|
Rect *area;
|
||||||
|
|
||||||
area = pick_pointer_head(client);
|
area = pick_pointer_head(client);
|
||||||
|
screen_pointer_pos(&px, &py);
|
||||||
|
|
||||||
l = area->x;
|
l = area->x;
|
||||||
t = area->y;
|
t = area->y;
|
||||||
|
|
Loading…
Reference in a new issue