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:
Ray Strode 2013-03-11 11:37:01 -04:00
parent 080337a4e8
commit e80795b7f0

View File

@ -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