Partially fix 1677510: don't set the input mode on devices to GDK_MODE_SCREEN by...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 27 May 2007 23:41:35 +0000 (23:41 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 27 May 2007 23:41:35 +0000 (23:41 +0000)
git-svn-id: http://svn.voria.com/code@487 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/devicetracker.cpp

index 5cef14a..e01d96b 100644 (file)
@@ -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<GdkDevice*>(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));