If there is a grab, but no grab-cursor, use the cursor from the grabbed
2000-11-29 Alexander Larsson <alexl@redhat.com> * gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is a grab, but no grab-cursor, use the cursor from the grabbed window. (gdk_fb_window_send_crossing_events): Send normal enter/leave notifications if grab and owner_events == TRUE.
This commit is contained in:
committed by
Alexander Larsson
parent
3c6f0d5f3e
commit
57356cfe07
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||||
|
a grab, but no grab-cursor, use the cursor from the grabbed
|
||||||
|
window. (gdk_fb_window_send_crossing_events): Send normal
|
||||||
|
enter/leave notifications if grab and owner_events == TRUE.
|
||||||
|
|
||||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
|
||||||
|
|||||||
@ -388,8 +388,18 @@ move_pointer (MouseDevice *mouse, GdkWindow *in_window)
|
|||||||
|
|
||||||
gdk_fb_cursor_hide ();
|
gdk_fb_cursor_hide ();
|
||||||
|
|
||||||
if (_gdk_fb_pointer_grab_window && _gdk_fb_pointer_grab_cursor)
|
if (_gdk_fb_pointer_grab_window)
|
||||||
|
{
|
||||||
|
if (_gdk_fb_pointer_grab_cursor)
|
||||||
the_cursor = _gdk_fb_pointer_grab_cursor;
|
the_cursor = _gdk_fb_pointer_grab_cursor;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GdkWindow *win = _gdk_fb_pointer_grab_window;
|
||||||
|
while (!GDK_WINDOW_IMPL_FBDATA (win)->cursor && GDK_WINDOW_OBJECT (win)->parent)
|
||||||
|
win = (GdkWindow *)GDK_WINDOW_OBJECT (win)->parent;
|
||||||
|
the_cursor = GDK_WINDOW_IMPL_FBDATA (win)->cursor;
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while (!GDK_WINDOW_IMPL_FBDATA (in_window)->cursor && GDK_WINDOW_P (in_window)->parent)
|
while (!GDK_WINDOW_IMPL_FBDATA (in_window)->cursor && GDK_WINDOW_P (in_window)->parent)
|
||||||
@ -444,7 +454,7 @@ gdk_fb_window_send_crossing_events (GdkWindow *dest,
|
|||||||
/* When grab in progress only send normal crossing events about
|
/* When grab in progress only send normal crossing events about
|
||||||
* the grabbed window.
|
* the grabbed window.
|
||||||
*/
|
*/
|
||||||
only_grabbed_window = (_gdk_fb_pointer_grab_window != NULL) &&
|
only_grabbed_window = (_gdk_fb_pointer_grab_window_events != NULL) &&
|
||||||
(mode == GDK_CROSSING_NORMAL);
|
(mode == GDK_CROSSING_NORMAL);
|
||||||
|
|
||||||
if (a==b)
|
if (a==b)
|
||||||
|
|||||||
Reference in New Issue
Block a user