[gnome-settings-daemon] wacom: Monitor eraser settings too
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Monitor eraser settings too
- Date: Wed, 14 Dec 2011 18:56:37 +0000 (UTC)
commit fc57d57c587a12efbee11623a530e4f0991ab5ff
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 14 17:41:44 2011 +0000
wacom: Monitor eraser settings too
plugins/wacom/gsd-wacom-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index d9bf779..15c5e24 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -450,7 +450,8 @@ device_added_cb (GdkDeviceManager *device_manager,
g_signal_connect (G_OBJECT (settings), "changed",
G_CALLBACK (wacom_settings_changed), device);
- if (gsd_wacom_device_get_device_type (device) == WACOM_TYPE_STYLUS) {
+ if (gsd_wacom_device_get_device_type (device) == WACOM_TYPE_STYLUS ||
+ gsd_wacom_device_get_device_type (device) == WACOM_TYPE_ERASER) {
GList *styli, *l;
styli = gsd_wacom_device_list_styli (device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]