Commit Graph

3 Commits

Author SHA1 Message Date
a8aa5b5c30 chore: clean up mouse drag to resize/move logic a little bit
1. No longer fallback to use move(), since all known platforms
   support startSystemMove(), and it's unlikely going to work
   if it's not supported on a specific platform.
2. Fix titlebar move check missing `window()->`.

This amends a10bbb4e8d
2026-07-18 01:27:36 +08:00
Tech-Tac
a10bbb4e8d chore: allow dragging window from titlebar when maximized (#178)
This better matches titlebar behavior of Windows and KDE, and probably a lot more other environments, it also allows for easier unmaximizing because the current titlebar has no dedicated maximize/restore button.

Note: This is somewhat problematic on Windows, thus we only apply the change to other platforms for now.
2026-07-18 00:38:01 +08:00
bbe5e485f4 feat: add option to provide a titlebar (default on) 2026-06-29 19:22:33 +08:00