mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Set the display.
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the display. * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix missing check for mv_resize == NULL.
This commit is contained in:
parent
09a33a8aec
commit
a0cd7079cc
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
|
||||
display.
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
|
||||
missing check for mv_resize == NULL.
|
||||
|
||||
Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: Typo fix.
|
||||
|
@ -44,7 +44,10 @@ static GdkDeviceAxis gdk_input_core_axes[] = {
|
||||
void
|
||||
_gdk_init_input_core (GdkDisplay *display)
|
||||
{
|
||||
GdkDevicePrivate *private;
|
||||
|
||||
display->core_pointer = g_object_new (GDK_TYPE_DEVICE, NULL);
|
||||
private = (GdkDevicePrivate *)display->core_pointer;
|
||||
|
||||
display->core_pointer->name = "Core Pointer";
|
||||
display->core_pointer->source = GDK_SOURCE_MOUSE;
|
||||
@ -54,6 +57,8 @@ _gdk_init_input_core (GdkDisplay *display)
|
||||
display->core_pointer->axes = gdk_input_core_axes;
|
||||
display->core_pointer->num_keys = 0;
|
||||
display->core_pointer->keys = NULL;
|
||||
|
||||
private->display = display;
|
||||
}
|
||||
|
||||
GType
|
||||
|
@ -4349,7 +4349,7 @@ _gdk_moveresize_handle_event (XEvent *event)
|
||||
GdkDisplay *display= gdk_x11_lookup_xdisplay (event->xany.display);
|
||||
MoveResizeData *mv_resize = get_move_resize_data (display, FALSE);
|
||||
|
||||
if (!mv_resize->moveresize_window)
|
||||
if (!mv_resize || mv_resize->moveresize_window)
|
||||
return FALSE;
|
||||
|
||||
window_private = (GdkWindowObject *) mv_resize->moveresize_window;
|
||||
|
Loading…
Reference in New Issue
Block a user