GOK is an on-screen keyboard that provides access to the GNOME desktop via dynamically generated keyboards, and text entry via one of the provided alphanumeric keyboards, or a dynamic keyboard created based on the users current system keyboard driver, or even a user made keyboard. feedback and ok ajacoutot@
16 lines
535 B
Plaintext
16 lines
535 B
Plaintext
$OpenBSD: patch-gok_gok-input_c,v 1.1.1.1 2008/03/17 19:04:28 jasper Exp $
|
|
--- gok/gok-input.c.orig Thu Dec 13 08:07:15 2007
|
|
+++ gok/gok-input.c Thu Dec 13 08:09:17 2007
|
|
@@ -284,9 +284,10 @@ gok_input_get_device_list (void)
|
|
int num_devices;
|
|
Display *display;
|
|
GtkWidget *pMainWindow = gok_main_get_main_window ();
|
|
- XDeviceInfo *devices;
|
|
|
|
#ifdef HAVE_XINPUT
|
|
+ XDeviceInfo *devices;
|
|
+
|
|
if (!input_device_list && pMainWindow && pMainWindow->window) {
|
|
display = GDK_WINDOW_XDISPLAY (pMainWindow->window);
|
|
|