Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 2nd, 2010  |  syntax: Diff  |  size: 1.07 KB  |  views: 90  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- gnome-settings-daemon-2.32.0/plugins/mouse/gsd-mouse-manager.c      2010-10-02 16:24:00.308573680 +0200
  2. +++ gnome-settings-daemon-2.32.0/plugins/mouse/gsd-mouse-manager.c      2010-10-02 16:23:50.637573724 +0200
  3. @@ -615,9 +615,9 @@
  4.                          if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7)
  5.                          {
  6.                                  /* Set RLM mapping for 1/2/3 fingers*/
  7. -                                data[4] = (state) ? ((left_handed) ? 3 : 1) : 0;
  8. -                                data[5] = (state) ? ((left_handed) ? 1 : 3) : 0;
  9. -                                data[6] = (state) ? 2 : 0;
  10. +                                data[4] = (state) ? ((left_handed) ? 2 : 1) : 0;
  11. +                                data[5] = (state) ? ((left_handed) ? 1 : 2) : 0;
  12. +                                data[6] = (state) ? 3 : 0;
  13.                                  XChangeDeviceProperty (GDK_DISPLAY (), device, prop, XA_INTEGER, 8,
  14.                                                          PropModeReplace, data, nitems);
  15.                          }
clone this paste RAW Paste Data