[gtkglext] Revert "[GB#603849] Add GDK_POINTER_MOTION_MASK to get motion notify events"



commit baa5f490b557aa3dea66f186d5e3b2d29c22f98e
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Jan 12 23:40:06 2010 +0530

    Revert "[GB#603849] Add GDK_POINTER_MOTION_MASK to get motion notify events"
    
    This reverts commit a912adadbac2a1cd0b00379d7ecec457f9505c05, which is
    unnecessary. The bug was a duplicate of GB#601473:
    
    https://bugzilla.gnome.org/show_bug.cgi?id=601473

 examples/coolwave.c        |    1 -
 examples/coolwave2.c       |    1 -
 examples/logo.c            |    1 -
 examples/rotating-square.c |    1 -
 examples/scribble-gl.c     |    1 -
 examples/shapes.c          |    1 -
 examples/template.c        |    1 -
 7 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/examples/coolwave.c b/examples/coolwave.c
index 74a74a3..c550974 100644
--- a/examples/coolwave.c
+++ b/examples/coolwave.c
@@ -713,7 +713,6 @@ create_window (GdkGLConfig *glconfig)
 			 GDK_BUTTON1_MOTION_MASK    |
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   /* Connect signal handlers to the drawing area */
diff --git a/examples/coolwave2.c b/examples/coolwave2.c
index 92f796c..5b3d433 100644
--- a/examples/coolwave2.c
+++ b/examples/coolwave2.c
@@ -767,7 +767,6 @@ create_window (GdkGLConfig *glconfig)
 			 GDK_BUTTON1_MOTION_MASK    |
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   /* Connect signal handlers to the drawing area */
diff --git a/examples/logo.c b/examples/logo.c
index 78a0b15..0f171b2 100644
--- a/examples/logo.c
+++ b/examples/logo.c
@@ -769,7 +769,6 @@ main(int   argc,
 			 GDK_BUTTON1_MOTION_MASK    |
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   g_signal_connect_after (G_OBJECT (drawing_area), "realize",
diff --git a/examples/rotating-square.c b/examples/rotating-square.c
index c92d8b5..3fbc31e 100644
--- a/examples/rotating-square.c
+++ b/examples/rotating-square.c
@@ -495,7 +495,6 @@ create_window (GdkGLConfig *glconfig)
 			 GDK_BUTTON1_MOTION_MASK    |
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   /* Connect signal handlers to the drawing area */
diff --git a/examples/scribble-gl.c b/examples/scribble-gl.c
index 47aca88..b651663 100644
--- a/examples/scribble-gl.c
+++ b/examples/scribble-gl.c
@@ -316,7 +316,6 @@ create_window (GdkGLConfig *glconfig)
 
   gtk_widget_add_events (drawing_area,
 			 GDK_BUTTON1_MOTION_MASK    |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK);
 
   /* Connect signal handlers to the drawing area */
diff --git a/examples/shapes.c b/examples/shapes.c
index d259ceb..3f0f4de 100644
--- a/examples/shapes.c
+++ b/examples/shapes.c
@@ -935,7 +935,6 @@ main (int   argc,
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
                          GDK_BUTTON_RELEASE_MASK    |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   g_signal_connect_after (G_OBJECT (drawing_area), "realize",
diff --git a/examples/template.c b/examples/template.c
index 33f5190..8a6b26a 100644
--- a/examples/template.c
+++ b/examples/template.c
@@ -538,7 +538,6 @@ create_window (GdkGLConfig *glconfig)
 			 GDK_BUTTON1_MOTION_MASK    |
 			 GDK_BUTTON2_MOTION_MASK    |
 			 GDK_BUTTON_PRESS_MASK      |
-                         GDK_POINTER_MOTION_MASK    |
 			 GDK_VISIBILITY_NOTIFY_MASK);
 
   /* Connect signal handlers to the drawing area */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]