From 2ea328dfbc820c32a6f425805e632cd1aef45258 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 19 Dec 2011 11:19:35 +0100 Subject: 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 --- gdk/x11/gdkdevicemanagerprivate-core.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdk/x11/gdkdevicemanagerprivate-core.h') 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__ */ -- cgit v1.2.1