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:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -865,5 +865,6 @@ gdk_input_common_get_pointer (GdkWindow *window,
|
||||
}
|
||||
input_class = (XInputClass *)(((char *)input_class)+input_class->length);
|
||||
}
|
||||
XFreeDeviceState (state);
|
||||
}
|
||||
}
|
||||
|
||||
@ -154,6 +154,8 @@ gdk_input_check_proximity (void)
|
||||
}
|
||||
xic = (XInputClass *)((char *)xic + xic->length);
|
||||
}
|
||||
|
||||
XFreeDeviceState (state);
|
||||
}
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user