summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkinput-win32.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-02-02 18:11:17 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-02-02 18:11:17 +0000
commit8c323acbae55ce24674af03d59610113837a7801 (patch)
tree57e75a4770b21cf78540e370aec3e56487b4800a /gdk/win32/gdkinput-win32.h
parentc922869cdf97ea713f5c3472200d593e4822b7ce (diff)
downloadgtk+-8c323acbae55ce24674af03d59610113837a7801.tar.gz
Implement lazy extended input initialization on Win32, by Robert Ögren.
2005-02-02 Tor Lillqvist <tml@novell.com> Implement lazy extended input initialization on Win32, by Robert Ögren. Fixes #163163, possibly #162334. Lazy initialization would be a good idea in any case even if it didn't fix any visible problems, though. The Wacom tablet driver seems to get confused if Wintab is initialized but no window is shown before the process exits. This is the case for some GIMP plug-ins, for instance. * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made non-static (and renamed). (_gdk_input_init): Don't call _gdk_input_wintab_init_check(). * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check(). * gdk/win32/gdkinput.c (gdk_devices_list, gdk_display_list_devices, gdk_input_set_extension_events): Call _gdk_input_wintab_init_check() here instead.
Diffstat (limited to 'gdk/win32/gdkinput-win32.h')
-rw-r--r--gdk/win32/gdkinput-win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/win32/gdkinput-win32.h b/gdk/win32/gdkinput-win32.h
index 0e79d23a27..12da3e87be 100644
--- a/gdk/win32/gdkinput-win32.h
+++ b/gdk/win32/gdkinput-win32.h
@@ -166,4 +166,8 @@ gboolean _gdk_device_get_history (GdkDevice *device,
GdkTimeCoord ***events,
gint *n_events);
+#ifdef HAVE_WINTAB
+void _gdk_input_wintab_init_check (void);
+#endif /* HAVE_WINTAB */
+
#endif /* __GDK_INPUT_WIN32_H__ */