mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
window: query the guessed pointer's modifiers on _NET_WM_MOVERESIZE
This commit is contained in:
parent
38df2715f2
commit
e0966e7499
@ -6393,8 +6393,6 @@ meta_window_client_message (MetaWindow *window,
|
||||
*/
|
||||
if (button == 0)
|
||||
{
|
||||
int x, y, query_root_x, query_root_y;
|
||||
Window root, child;
|
||||
guint mask;
|
||||
|
||||
/* The race conditions in this _NET_WM_MOVERESIZE thing
|
||||
@ -6402,11 +6400,10 @@ meta_window_client_message (MetaWindow *window,
|
||||
*/
|
||||
mask = 0;
|
||||
meta_error_trap_push (window->display);
|
||||
XQueryPointer (window->display->xdisplay,
|
||||
meta_device_pointer_query_position (META_DEVICE_POINTER (device),
|
||||
window->xwindow,
|
||||
&root, &child,
|
||||
&query_root_x, &query_root_y,
|
||||
&x, &y,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
&mask);
|
||||
meta_error_trap_pop (window->display);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user