]> Pileus Git - ~andy/gtk/commitdiff
Call XFreeDeviceState() on results of XQueryDeviceState().
authorOwen Taylor <otaylor@redhat.com>
Wed, 10 Nov 1999 17:15:58 +0000 (17:15 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 10 Nov 1999 17:15:58 +0000 (17:15 +0000)
Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
on results of XQueryDeviceState().

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkinput-x11.c
gdk/x11/gdkinput-xfree.c

index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4a3543a20f88c6618e895a44c893014d7af49a1f..730a3021a17ba0ab52c97b48174f1f2684b45955 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
 Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
index 4e395ef0abae2a604460e66db5dc99cb2ae61503..eb6d57295b4a24dcf152117aae56d46f6c6fb7b3 100644 (file)
@@ -865,5 +865,6 @@ gdk_input_common_get_pointer     (GdkWindow       *window,
            }
          input_class = (XInputClass *)(((char *)input_class)+input_class->length);
        }
+      XFreeDeviceState (state);
     }
 }
index ca3e578c2eebdb89b1ffb409cda3428a5258065c..396151210ba4ffeb3a7c828c9d8fc541d2c8146f 100644 (file)
@@ -154,6 +154,8 @@ gdk_input_check_proximity (void)
                }
              xic = (XInputClass *)((char *)xic + xic->length);
            }
+
+         XFreeDeviceState (state);
        }
       tmp_list = tmp_list->next;
     }