summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdevicemanagerprivate-core.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-12-19 11:19:35 +0100
committerBenjamin Otte <otte@redhat.com>2011-12-19 16:17:13 +0100
commit2ea328dfbc820c32a6f425805e632cd1aef45258 (patch)
tree12efeee8f1f2b93306fee3c216a4ba527bedc164 /gdk/x11/gdkdevicemanagerprivate-core.h
parent3d4a8dabb242679c59398f46cf847aa5bc9d7704 (diff)
downloadgtk+-2ea328dfbc820c32a6f425805e632cd1aef45258.tar.gz
x11: Unify focus handling code
This code was essentially copy-pasted in two locations, so unify them in the same place. https://bugzilla.gnome.org/show_bug.cgi?id=657578
Diffstat (limited to 'gdk/x11/gdkdevicemanagerprivate-core.h')
-rw-r--r--gdk/x11/gdkdevicemanagerprivate-core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/x11/gdkdevicemanagerprivate-core.h b/gdk/x11/gdkdevicemanagerprivate-core.h
index 5266dfc399..428b34fdd1 100644
--- a/gdk/x11/gdkdevicemanagerprivate-core.h
+++ b/gdk/x11/gdkdevicemanagerprivate-core.h
@@ -37,6 +37,13 @@ struct _GdkX11DeviceManagerCoreClass
GdkDeviceManagerClass parent_class;
};
+void _gdk_device_manager_core_handle_focus (GdkWindow *window,
+ GdkDevice *device,
+ GdkDevice *source_device,
+ gboolean focus_in,
+ int detail,
+ gboolean in);
+
G_END_DECLS
#endif /* __GDK_DEVICE_MANAGER_PRIVATE_CORE_H__ */