summaryrefslogtreecommitdiff
path: root/gdk/macos/gdkmacosdisplay-wm.c
Commit message (Collapse)AuthorAgeFilesLines
* macos: add clamp helper to keep rectangle in workareaChristian Hergert2022-03-021-32/+9
| | | | | | This helper is useful to ensure we are consistent with how we keep a window clamped to the workarea of a monitor when placing windows on screen. (This does not affect snap-to-edges).
* macos: create new windows with slight origin offsetChristian Hergert2022-02-241-2/+39
| | | | | | When creating new windows, it is better if we create them with a slight offset to where they were created before so that they are visible to the user separately from what they might be overshadowing.
* macos: improve placement of windowsChristian Hergert2022-02-221-0/+141
This does some very basic window management so that we place surfaces in locations where they can actually be interacted with correctly.