1. 21 Dec, 2010 2 commits
  2. 06 Dec, 2010 2 commits
  3. 02 Dec, 2010 5 commits
  4. 05 Oct, 2010 1 commit
  5. 04 Oct, 2010 1 commit
    • Kristian Rietveld's avatar
      quartz: Emulate root window as 1x1 bitmap · 8970b174
      Kristian Rietveld authored
      We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz,
      and override the get_context method in order to do this cleanly.
      Also made release_context a virtual method, since the root window has
      to release its CGContextRef differently compared to normal windows.
      8970b174
  6. 26 Sep, 2010 9 commits
  7. 08 Sep, 2010 1 commit
  8. 29 Aug, 2010 1 commit
  9. 15 Aug, 2010 1 commit
  10. 12 Aug, 2010 1 commit
  11. 10 Aug, 2010 5 commits
  12. 30 Jun, 2010 1 commit
  13. 29 Jun, 2010 2 commits
  14. 27 Jun, 2010 2 commits
  15. 25 May, 2010 1 commit
  16. 14 May, 2010 1 commit
  17. 12 May, 2010 1 commit
  18. 04 Apr, 2010 3 commits
    • Kristian Rietveld's avatar
      Improve enter/motion notify semantics · a86bbf75
      Kristian Rietveld authored
      On X11 we receive enter notify and motion notify events for a window
      regardless of its focus state.  On Mac OS X this is not the case.  This
      commit improves the semantics to overcome this difference.  It improves
      on my earlier patch that sent a motion notify event when a window became
      main.
      
      Instead of sending a motion notify when a window becomes main, we now
      send one when a window becomes key, which comes closest to a window
      getting focus in X11.  This motion notify is needed because Mac OS X does
      not send motion events when an application is inactive (none of its
      windows have focus), these events are sent in X11.  This dummy motion
      notify event (with current coordinates of the mouse cursor) allows an
      application to get its prelight and other state right when it gets focus
      and thus user attention.
      
      Another change is to send an enter notify event when updating the
      tracking rectangle of a GdkQuartView and the mouse cursor is currently in
      this rectangle.  This rectangle is at least updated on window creation.
      This enter notify event is important for the case where a new window
      appears right below the mouse cursor.  The window has to receive an enter
      notify event for the subsequent events to be processed correctly.  Mac
      OS X does not send one in this case, so we generate it ourselves.
      
      Both of these synthesized events have to go through
      _gdk_windowing_got_event() for updating statekeeping, etc.
      append_event() has a boolean flag now to make this convenient.
      a86bbf75
    • Kristian Rietveld's avatar
      Release view after setting it as contentView · b8fa675a
      Kristian Rietveld authored
      Fixes GdkQuartzView being leaked.
      b8fa675a
    • Kristian Rietveld's avatar
      Fix memleak in get_nsscreen_for_point() · 969ff4c8
      Kristian Rietveld authored
      One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
      the code to fix this.
      969ff4c8