1. 16 Dec, 2009 1 commit
  2. 08 Dec, 2009 1 commit
  3. 07 Dec, 2009 1 commit
    • Alexander Larsson's avatar
      Fix mouse pointer handling on multiple screens · 48fc0f36
      Alexander Larsson authored
      The fix in 786b589d for the
      "Cannot click buttons more than once without moving the mouse cursor"
      did not correctly handle setups with multiple screens in one display.
      
      We need to handle the case where the first XQueryPointer returns
      a different root window than the default one.
      
      This fixes bug 597386 (agaion)
      48fc0f36
  4. 28 Nov, 2009 1 commit
    • Matthias Clasen's avatar
      Add a missing include · 36ca3fd5
      Matthias Clasen authored
      memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
      Patch by Vincent Untz, bug 597026.
      36ca3fd5
  5. 27 Nov, 2009 2 commits
  6. 25 Nov, 2009 1 commit
  7. 11 Nov, 2009 1 commit
  8. 06 Nov, 2009 3 commits
  9. 05 Nov, 2009 1 commit
  10. 30 Oct, 2009 2 commits
  11. 20 Oct, 2009 1 commit
  12. 14 Oct, 2009 1 commit
  13. 05 Oct, 2009 1 commit
    • Alexander Larsson's avatar
      Fix up _gdk_windowing_window_at_pointer coordinate reporting · 786b589d
      Alexander Larsson authored
      We need to do a final XQueryWindow to get the coordinates inside the
      windows rather than in the parent window.
      
      This fixes bug #597386, "Cannot click buttons more than once...", which
      failed due to the grab tracking stuff getting the wrong coordinates as
      per the above.
      786b589d
  14. 01 Oct, 2009 1 commit
  15. 30 Sep, 2009 3 commits
  16. 29 Sep, 2009 6 commits
  17. 28 Sep, 2009 2 commits
    • Thomas Jaeger's avatar
      Improve detection of input device source type · 7d196b39
      Thomas Jaeger authored
      
      
      This detection code is not 100% reliable, but it should fare much better
      than the current code, which just compares the device name to a fixed
      set of strings.  Many applications depend on erasers being recognized
      reliably, so we start by checking for a device name containing the
      substring 'eraser'.
      Signed-off-by: default avatarThomas Jaeger <ThJaeger@gmail.com>
      7d196b39
    • Alexander Larsson's avatar
      Extend _gdk_windowing_window_at_pointer to be able to get toplevels only · 5ebb32d1
      Alexander Larsson authored
      This has two advantages:
      1) In many backends, this is faster as we can terminate the window
      hierarchy traversal earlier
      2) When used in gdkdisplay.c::get_current_toplevel() to get the
      current toplevel that has the pointer we now correctly return
      a toplevel with the pointer in it where the pointer is inside
      some foreign subwindow of a toplevel window.
      
      The second advantage fixes some bugs in client side event generation
      when the pointer is inside such a foreign child window.
      5ebb32d1
  18. 21 Sep, 2009 3 commits
  19. 17 Sep, 2009 1 commit
    • Michael Natterer's avatar
      Fix gdk_device_get_history() for the core pointer · 659776ce
      Michael Natterer authored
      When filtering out the events for "window" from the events we got for
      our "impl_window", don't forget to adjust the returned number of
      events because it might be smaller than what XGetMotionEvents has
      returned, and free coords we allocated too much. Also if we filtered
      away *all* events, return FALSE and get rid of the allocated history
      entirely. Together fixes all sorts of mishehavior when painting in
      GIMP, from coords going wild to plain crashes and infinite loops.
      659776ce
  20. 14 Sep, 2009 3 commits
  21. 10 Sep, 2009 1 commit
    • Matthias Clasen's avatar
      Cleanups · be22a621
      Matthias Clasen authored
      This commit removes dead code, mostly pointed out by clang.
      be22a621
  22. 09 Sep, 2009 1 commit
  23. 06 Sep, 2009 1 commit
  24. 05 Sep, 2009 1 commit