recorder: don't bother selecting for enter/leave/motion events
Mutter already handles that for us. https://bugzilla.gnome.org/show_bug.cgi?id=695324
This commit is contained in:
parent
080337a4e8
commit
e80795b7f0
@ -764,14 +764,6 @@ recorder_get_initial_cursor_position (ShellRecorder *recorder)
|
||||
|
||||
XUngrabServer(xdisplay);
|
||||
XFlush(xdisplay);
|
||||
|
||||
/* While we are at it, add mouse events to the event mask; they will
|
||||
* be there for the stage windows that Clutter creates by default, but
|
||||
* maybe this stage was created differently. Since we've already
|
||||
* retrieved the event mask, it's almost free.
|
||||
*/
|
||||
XSelectInput(xdisplay, xwindow,
|
||||
xwa.your_event_mask | EnterWindowMask | LeaveWindowMask | PointerMotionMask);
|
||||
}
|
||||
|
||||
/* When the cursor is not over the stage's input area, we query for the
|
||||
|
Loading…
x
Reference in New Issue
Block a user