summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-12-13 12:28:18 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-15 03:17:59 +0100
commit44a7ef7bec29d65f3703f62338ba04c11bb9500f (patch)
tree5020df8a1743bd02a88a1aa770c1a5a73146b6cc /gdk/gdkinternals.h
parentbe7de347bfac28b341aeb25baf1e788c6a333095 (diff)
downloadgtk+-44a7ef7bec29d65f3703f62338ba04c11bb9500f.tar.gz
Add gdk_window_[gs]et_source_events()
This function will enable events for all devices of a given GdkInputSource, either these available at the time of the call, or these that are connected in the future.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index a897181d27..c98d2180c5 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -264,6 +264,10 @@ struct _GdkWindow
GList *devices_inside;
GHashTable *device_events;
+
+ GHashTable *source_event_masks;
+ gulong device_added_handler_id;
+ gulong device_changed_handler_id;
};
#define GDK_WINDOW_TYPE(d) (((GDK_WINDOW (d)))->window_type)