1. 22 Jan, 2014 2 commits
  2. 14 Jan, 2014 1 commit
  3. 13 Jan, 2014 1 commit
    • Matthias Clasen's avatar
      Redo csd window-dragging · 2232430a
      Matthias Clasen authored
      The window-dragging code had a number of issues: The code was
      starting a drag on every button press, never bothering to cancel
      them. This leads to the odd hand cursor occurring between the two
      clicks to maximize. We relied on GDK's multi-click detection, which
      gives us triple-clicks when we really want sequences of double-clicks.
      Lastly, we didn't propery restrict double-click handling to the primary
      button, so e.g. if you had a window on an empty workspace, double-right
      click on the titlebar would maximize it, which is not intended.
      This commit solves all three problem by a doing our own double-click
      detection, and only starting a drag when the pointer goes out of
      'double-click range'. We change the way dragging is implemented for
      menubars and toolbars to just letting events bubble up, so they
      get the same behaviour as the titlebar. To make this work, we
      have to select for pointer motion events in a few more places.
  4. 10 Jan, 2014 1 commit
  5. 13 Dec, 2013 1 commit
  6. 16 Nov, 2013 2 commits
  7. 09 Nov, 2013 1 commit
  8. 15 Oct, 2013 1 commit
    • Allison Karlitskaya's avatar
      GtkApplication: a new approach to accels · 9a6ee36e
      Allison Karlitskaya authored
      Rework how accels are handled on GtkApplicationWindow.
      Instead of having GtkApplication fill the GtkAccelMap which is then used
      by GtkApplicationWindow to create a GtkAccelGroup filled with closures
      that is then associated with the window, do it directly.
      GtkApplication now keeps a list of accels and their actions.
      Accelerators on a GtkApplicationWindow ask GtkApplication to execute the
      appropriate action.
      This saves a fair bit of complexity and memory use (due to not having to
      create all those closures and accelmap entries).  The new approach also
      supports multiple accels per action (although there is not yet a public
      API for it).
      This patch (and the ones before) Reviewed and ACK'd by Matthias Clasen.
  9. 21 Apr, 2013 1 commit
    • Matthias Clasen's avatar
      csd: Drop content_window · 1507ba79
      Matthias Clasen authored
      Instead of reparenting the content, use input-only windows to
      set cursors and capture clicks on the window frame. This avoids
      some of the problems that were introduced by content_window, such
      as black flashes and non-working opacity.
  10. 09 Apr, 2013 1 commit
  11. 02 Apr, 2013 1 commit
  12. 27 Mar, 2013 1 commit
  13. 17 Mar, 2013 1 commit
    • Rob Bradford's avatar
      window: Allow _gtk_window_set_allocation to return a modified allocation · 55a98da4
      Rob Bradford authored
      Update the documentation and users of this function to handle
      the future case that that we have some internal decorations to the window and
      useable allocation is thus smaller.
      By having a separate out parameter there is no need to have an in/out function
      and allows for greater robustness.
      The current implementation simply returns the allocation provided.
  14. 01 Sep, 2012 1 commit
  15. 27 Feb, 2012 1 commit
  16. 20 Jan, 2012 1 commit
  17. 01 Feb, 2011 1 commit
  18. 28 Jan, 2011 3 commits
  19. 18 Dec, 2010 1 commit
    • Matthias Clasen's avatar
      Hide GtkWindowGroup members · 7b665316
      Matthias Clasen authored
      In the process of removing all sealed members from headers.
      At the same time, add a gtkwindowprivate.h header and move
      all internal functions from gtkwindow.h there.