From: pabs Date: Sun, 27 May 2007 23:41:35 +0000 (+0000) Subject: Partially fix 1677510: don't set the input mode on devices to GDK_MODE_SCREEN by... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=bc2c62802bc2c9ae0a631352cb69a5f020531e43;p=synfig.git Partially fix 1677510: don't set the input mode on devices to GDK_MODE_SCREEN by default. Prevented laptop users from using their touchpad in synfig. git-svn-id: http://svn.voria.com/code@487 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/devicetracker.cpp b/synfig-studio/trunk/src/gtkmm/devicetracker.cpp index 5cef14a..e01d96b 100644 --- a/synfig-studio/trunk/src/gtkmm/devicetracker.cpp +++ b/synfig-studio/trunk/src/gtkmm/devicetracker.cpp @@ -52,6 +52,7 @@ using namespace studio; DeviceTracker::DeviceTracker() { + // FIXME: We no longer do this, but we should figure out why this was being done // By default, set the input mode on devices to // GDK_MODE_SCREEN. { @@ -62,7 +63,7 @@ DeviceTracker::DeviceTracker() for(iter=device_list;iter;iter=g_list_next(iter)) { GdkDevice* device=reinterpret_cast(iter->data); - gdk_device_set_mode(device,GDK_MODE_SCREEN); + //gdk_device_set_mode(device,GDK_MODE_SCREEN); synfigapp::InputDevice::Handle input_device; input_device=synfigapp::Main::add_input_device(device->name,synfigapp::InputDevice::Type(device->source));