Permalink
Browse files

quartz: remove _gdk_quartz_events_get_current_event_mask

  • Loading branch information...
Kristian Rietveld
Kristian Rietveld committed Jul 25, 2011
1 parent c9f6c76 commit a979e414fb4c242ae39f2f52d239499d6c5bac98
Showing with 0 additions and 9 deletions.
  1. +0 −8 gdk/quartz/gdkevents-quartz.c
  2. +0 −1 gdk/quartz/gdkprivate-quartz.h
@@ -49,7 +49,6 @@
static GdkWindow *current_keyboard_window;
/* This is the event mask and button state from the last event */
-static GdkEventMask current_event_mask;
static GdkModifierType current_keyboard_modifiers;
static GdkModifierType current_mouse_modifiers;
static int current_button_state;
@@ -1060,12 +1059,6 @@ synthesize_crossing_event (GdkWindow *window,
return FALSE;
}
-GdkEventMask
-_gdk_quartz_events_get_current_event_mask (void)
-{
- return current_event_mask;
-}
-
GdkModifierType
_gdk_quartz_events_get_current_keyboard_modifiers (void)
{
@@ -1210,7 +1203,6 @@ gdk_event_translate (GdkEvent *event,
}
}
- current_event_mask = get_event_mask_from_ns_event (nsevent);
current_keyboard_modifiers = get_keyboard_modifiers_from_ns_event (nsevent);
current_mouse_modifiers = get_mouse_button_modifiers_from_ns_event (nsevent);
@@ -62,7 +62,6 @@ typedef enum {
void _gdk_quartz_events_update_focus_window (GdkWindow *new_window,
gboolean got_focus);
void _gdk_quartz_events_send_map_event (GdkWindow *window);
-GdkEventMask _gdk_quartz_events_get_current_event_mask (void);
GdkModifierType _gdk_quartz_events_get_current_keyboard_modifiers (void);
GdkModifierType _gdk_quartz_events_get_current_mouse_modifiers (void);

0 comments on commit a979e41

Please sign in to comment.