[gnome-shell] recorder: don't bother selecting for enter/leave/motion	events
- From: Ray Strode <halfline src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-shell] recorder: don't bother selecting for enter/leave/motion	events
 
- Date: Mon, 11 Mar 2013 17:26:28 +0000 (UTC)
 
commit e80795b7f0b6aec4f76b6a3fda35d7c9ecf3d848
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 11 11:37:01 2013 -0400
    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
 src/shell-recorder.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index 0f6a6fb..f2bd686 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]