forked from AuroraMiddleware/gtk
9012254c1e
2001-01-17 <alexl@redhat.com> * gdk/linux-fb/gdkdrawable-fb2.c (gdk_shadow_fb_draw_arc): Doh! Mixed up x and y. * gdk/linux-fb/gdkglobals-fb.c: Removed gdk_fb_pointer_grab_window_events, added _gdk_fb_pointer_grab_owner_events and _gdk_fb_keyboard_grab_owner_events. * gdk/linux-fb/gdkmain-fb.c (gdk_fb_pointer_grab): Set all button mask if GDK_BUTTON_MOTION_MASK set. Send crossing events before grabbing. Set _gdk_fb_pointer_grab_owner_events. (gdk_fb_pointer_ungrab): Unset _gdk_fb_pointer_grab_owner_events Send crossing events after ungrab finished. (gdk_keyboard_grab): Set ..._owner_events (type_masks): Move out of function. (gdk_fb_other_event_window, gdk_fb_pointer_event_window, gdk_fb_keyboard_event_window): New functions, return the window an event should be targeted at. Handles grabs and event propagation. Can return NULL. (gdk_event_make): Remove event_mask checking. Now always returns an event. * gdk/linux-fb/gdkkeyboard-fb.c: * gdk/linux-fb/gdkproperty-fb.c: * gdk/linux-fb/gdkselection-fb.c: Use new event_window/gdk_event_make() behaviour. * gdk/linux-fb/gdkmouse-fb.c: Use new event_window/gdk_event_make() behaviour. Only send motion events if in the same window. If grabbed, use cursor from window if sibling of grabbed window, and cursor from grabbed window otherwise. * gdk/linux-fb/gdkprivate-fb.h: Update gdk_fb_window_send_crossing_events, gdk_event_make and grab varaible declarations. Add gdk_fb_*_event_window(). * gdk/linux-fb/gdkwindow-fb.c: Use new event_window/gdk_event_make() behaviour. Keep correct track of focus window. (gdk_window_set_events): Set all specific button motion masks if GDK_BUTTON_MOTION_MASK set. * gtk/gtkdnd.c (gtk_drag_update): Free info->last_event if gdk_drag_motion returned FALSE. |
||
---|---|---|
.. | ||
.cvsignore | ||
gdkcc-fb.c | ||
gdkcolor-fb.c | ||
gdkcursor-fb.c | ||
gdkdnd-fb.c | ||
gdkdrawable-fb2.c | ||
gdkevents-fb.c | ||
gdkfb.h | ||
gdkfont-fb.c | ||
gdkgc-fb.c | ||
gdkgeometry-fb.c | ||
gdkglobals-fb.c | ||
gdkim-fb.c | ||
gdkimage-fb.c | ||
gdkinput-none.c | ||
gdkinput.c | ||
gdkinputprivate.h | ||
gdkkeyboard-fb.c | ||
gdkmain-fb.c | ||
gdkmouse-fb.c | ||
gdkpango-fb.c | ||
gdkpixmap-fb.c | ||
gdkprivate-fb.h | ||
gdkproperty-fb.c | ||
gdkrender-fb.c | ||
gdkselection-fb.c | ||
gdkvisual-fb.c | ||
gdkwindow-fb.c | ||
Makefile.am | ||
mi.h | ||
miarc.c | ||
midash.c | ||
mifillarc.c | ||
mifillarc.h | ||
mifpoly.h | ||
mifpolycon.c | ||
miline.h | ||
mipoly.c | ||
mipoly.h | ||
mipolygen.c | ||
mipolyutil.c | ||
miscanfill.h | ||
mispans.c | ||
mispans.h | ||
mistruct.h | ||
mitypes.h | ||
miwideline.c | ||
miwideline.h | ||
mizerclip.c | ||
mizerline.c | ||
TODO | ||
x-cursors.xbm |