summaryrefslogtreecommitdiff
path: root/plugins/common/msd-input-helper.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-27 18:18:05 +0300
committermonsta <[email protected]>2016-10-27 18:18:05 +0300
commit88930d3d5f49720ee22c4aeefacad1f88bfac838 (patch)
tree623b0825c5c14cf17fe81f7cf2e0ab4d19890e49 /plugins/common/msd-input-helper.h
parent6dda2942a3bd70767476186d4fd9c186f1891000 (diff)
downloadmate-settings-daemon-88930d3d5f49720ee22c4aeefacad1f88bfac838.tar.bz2
mate-settings-daemon-88930d3d5f49720ee22c4aeefacad1f88bfac838.tar.xz
mouse: don't copy struct when it's not needed, pass pointer instead
Diffstat (limited to 'plugins/common/msd-input-helper.h')
-rw-r--r--plugins/common/msd-input-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common/msd-input-helper.h b/plugins/common/msd-input-helper.h
index a95d6a8..e46c97e 100644
--- a/plugins/common/msd-input-helper.h
+++ b/plugins/common/msd-input-helper.h
@@ -28,7 +28,7 @@ G_BEGIN_DECLS
#include <X11/extensions/XIproto.h>
gboolean supports_xinput_devices (void);
-XDevice *device_is_touchpad (XDeviceInfo deviceinfo);
+XDevice *device_is_touchpad (XDeviceInfo *deviceinfo);
gboolean touchpad_is_present (void);
G_END_DECLS