Call XFreeDeviceState() on results of XQueryDeviceState().

Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
	on results of XQueryDeviceState().
This commit is contained in:
Owen Taylor
1999-11-10 17:15:58 +00:00
committed by Owen Taylor
parent a3a4606eab
commit 5a63c9488d
9 changed files with 38 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View File

@ -865,5 +865,6 @@ gdk_input_common_get_pointer (GdkWindow *window,
}
input_class = (XInputClass *)(((char *)input_class)+input_class->length);
}
XFreeDeviceState (state);
}
}

View File

@ -154,6 +154,8 @@ gdk_input_check_proximity (void)
}
xic = (XInputClass *)((char *)xic + xic->length);
}
XFreeDeviceState (state);
}
tmp_list = tmp_list->next;
}