[gimp/gtk3-port: 95/234] app: skip keyboard devices so the device list becomes reasonable
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 95/234] app: skip keyboard devices so the device list becomes reasonable
- Date: Tue, 9 May 2017 22:25:01 +0000 (UTC)
commit 5a67e2410164ed5bb681da74b51246f1a915db0a
Author: Michael Natterer <mitch gimp org>
Date: Mon Nov 22 11:13:53 2010 +0100
app: skip keyboard devices so the device list becomes reasonable
app/widgets/gimpdevicemanager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdevicemanager.c b/app/widgets/gimpdevicemanager.c
index 78338a0..d645b68 100644
--- a/app/widgets/gimpdevicemanager.c
+++ b/app/widgets/gimpdevicemanager.c
@@ -390,6 +390,9 @@ gimp_device_manager_device_added (GdkDeviceManager *gdk_manager,
GdkDisplay *display;
GimpDeviceInfo *device_info;
+ if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
+ return;
+
display = gdk_device_manager_get_display (gdk_manager);
device_info =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]