Files
kitty/glfw
mcrmck 59c963c481 Add draggable window title bars
Implements drag-to-reorder for window title bars, following up on the
merged window title bar feature (#9450) and the design discussion in #9619.

- Drag a title bar and drop on another title bar to swap positions
- Drop on a window body quadrant (left/right/top/bottom) to insert as
  a directional split; Splits layout uses insert_window_next_to(), other
  layouts fall back to move_window_to_group()
- Drop on a tab bar tab to move the window into that tab
- Drop on another OS window to move into its active tab
- Drop outside kitty to detach into a new OS window
- Tab bar highlights the hovered tab during a window drag, mirroring
  how the destination window title bar is highlighted
- toggle_window_title_bars action temporarily force-shows title bars
  for drag-to-reorder when they are normally hidden, auto-hiding after
  the drag completes
- window_title_bar_drag_threshold option (default 5px) controls how far
  the mouse must move before a drag is initiated; 0 disables dragging

MIME type follows the same convention as tab dragging:
application/net.kovidgoyal.kitty-window-{PID}

Ref: #9619
2026-03-08 20:56:38 -04:00
..
2026-02-07 23:11:42 +05:30
2025-08-16 07:38:54 +05:30
2026-03-08 20:56:38 -04:00
2025-08-16 07:38:54 +05:30
...
2025-11-22 20:03:01 +05:30
2025-05-13 15:29:37 +05:30
2026-02-23 07:44:58 +05:30
2026-02-22 15:36:10 +05:30
2025-08-16 07:38:54 +05:30
...
2026-02-22 16:48:59 +05:30
2025-08-16 07:38:54 +05:30
2025-08-16 07:38:54 +05:30
2026-02-28 16:54:02 +05:30