1. 11 Jul, 2018 1 commit
  2. 14 Apr, 2016 1 commit
    • Michael Natterer's avatar
      Bug 732160 - menu activation with alt-somekey makes tools stay... · 2a31b96f
      Michael Natterer authored
      ...in "alt-pressed" mode
      Menu activation doesn't cause a focus-out becaus menu keyboard
      grabbing is implemented with a simple gtk_grab_add() (the menu popup
      never gets the focus). Therefore, the canvas never gets a focus-out
      event and the pressed modifiers are stuck.
      Fixed by connecting to "grab-notify" on the canvas, and artificially
      releasing all modifiers when the canvas is shadowed by a grab.
  3. 18 Apr, 2011 1 commit
    • Michael Natterer's avatar
      app: GimpMotionBuffer API cleanup and refactoring · 3fbbb9b3
      Michael Natterer authored
      - start_stroke()/finih_stroke() -> begin_stroke()/end_stroke()
      - process_event_queue() -> process_stroke()
      - GimpMotionBuffer::motion() -> GimpMotionBuffer::stroke()
      - add GimpMotionBuffer::hover() and process_hover()
      - remove push_event_history() and pop_event_queue() from API
      The thing works like this:
      - Motion events are continuously fed into the buffer using motion_event()
      - begin_stroke()/end_stroke() correspond to BUTTON_PRESS/BUTTON_RELEASE,
        the period between them is a "stroke"
      - If motion_event() returns TRUE, we request "stroke" signals by calling
        process_stroke() and "hover" signals by calling process_hover()
  4. 17 Apr, 2011 1 commit
  5. 24 Feb, 2011 1 commit