• Anders Carlsson's avatar
    Implement keyboard grabs. · 4afc4d61
    Anders Carlsson authored
    2006-01-16  Anders Carlsson  <andersca@mac.com>
    
            * gdk/quartz/gdkdisplay-quartz.c:
            * gdk/quartz/gdkevents-quartz.c:
            (gdk_keyboard_grab):
            (gdk_display_keyboard_ungrab):
            (gdk_keyboard_grab_info_libgtk_only):
            (find_window_for_event):
            Implement keyboard grabs.
    
            (_gdk_quartz_send_map_events):
            * gdk/quartz/gdkmain-quartz.c:
            * gdk/quartz/gdkprivate-quartz.h:
            New function that synthesizes map events.
    
            * gdk/quartz/gdkwindow-quartz.c:
            (_gdk_windowing_window_init):
            The root window is always visible.
    
            (all_parents_shown):
            (show_window_internal):
            Send map events.
    
            (gdk_window_hide):
            Ungrab keyboard and pointer
    4afc4d61
gdkwindow-quartz.c 27.3 KB