Commit Graph

11728 Commits

Author SHA1 Message Date
Michael Grant
159191428e Cleanup. 2026-07-08 20:26:20 +01:00
Michael Grant
b7ff5259f5 Refactor, clean up, remove state from layout_cell and move to a temp structure while parsing. 2026-07-08 08:54:24 +01:00
Michael Grant
7aa26d9de3 Resolve merge conflicts. 2026-07-08 08:24:43 +01:00
Thomas Adam
db115c6b97 Merge branch 'obsd-master' 2026-07-07 14:00:06 +01:00
nicm
7b02cb6d03 Fix . and ; bindings, reported by tb. 2026-07-07 12:30:36 +00:00
Thomas Adam
8beb17df0d Merge branch 'obsd-master' 2026-07-07 11:00:08 +01:00
nicm
76b693aa81 Add C-b g , and C-b g . for move and resize menus, also add to pane menu
(and fix to make them work).
2026-07-07 09:45:09 +00:00
Thomas Adam
d53f1b7458 Merge branch 'obsd-master' 2026-07-07 09:15:06 +01:00
nicm
7188391a22 Add a layout_geometry container struct, from Dane Jensen. 2026-07-07 08:07:26 +00:00
Thomas Adam
869170abd6 Merge branch 'obsd-master' 2026-07-07 09:00:07 +01:00
nicm
1ea574e4ca Set initial scrollbar state, from Michael Grant. 2026-07-07 07:47:03 +00:00
nicm
af35bcb64f Restore { and } to swap-pane and for floating panes and use a separate
key table accessed by g (short for "gove and/or gesize") for floating
panes. So "C-b g Up" moves the pane to top-centre, "C-b g M-Up" moves
and resizes it. This means we not only do not lose the surprisingly
popular { and } bindings, but we can have more than four keys for moving
and resizing panes.
2026-07-07 07:43:07 +00:00
Thomas Adam
55ce48c152 Merge branch 'obsd-master' 2026-07-06 23:00:06 +01:00
Michael Grant
6413409ab3 Back out select-layout multiple windows. 2026-07-06 22:45:41 +01:00
nicm
ff09914327 Could of minor tidy ups. 2026-07-06 21:44:26 +00:00
Nicholas Marriott
3946e24eff Add array test. 2026-07-06 18:13:25 +01:00
Michael Grant
c3e7738cc5 Simplify man page and move doc on the formats to layout-custom.c. 2026-07-06 17:15:08 +01:00
Thomas Adam
b07424224b Merge branch 'obsd-master' 2026-07-06 17:00:06 +01:00
Michael Grant
cd6cd323ea Simplify language. 2026-07-06 16:59:53 +01:00
Michael Grant
8af6823987 Fix comment. 2026-07-06 16:55:33 +01:00
Michael Grant
789f833f83 Fix test to add version number. 2026-07-06 16:54:57 +01:00
Michael Grant
1fe9cbacb4 Rename the flag to CLIENT_CONTROL_NEWWINDOWLAYOUTS/new-window-layouts. 2026-07-06 16:46:56 +01:00
nicm
d33d5b7de8 When sync is enabled, we need to mark the whole scroll region dirty if
there has been any scrolling. GitHub issue 5330.
2026-07-06 15:41:31 +00:00
Thomas Adam
9180356b13 Merge branch 'obsd-master' 2026-07-06 16:00:06 +01:00
nicm
20ef19b42f Add a key to change an array key in customize mode. 2026-07-06 14:40:57 +00:00
nicm
1117caaf09 Change array item keys to be strings instead of numbers which are
painful to work with.
2026-07-06 14:29:10 +00:00
Thomas Adam
e6505947ec Merge branch 'obsd-master' 2026-07-06 13:30:06 +01:00
nicm
79b83600af NOJOBS is a flag, use correct argument. 2026-07-06 12:10:18 +00:00
nicm
85e3ca5ae2 Check for width/height 0, based on change from Uzair Aftab. 2026-07-06 12:08:52 +00:00
Thomas Adam
e11af53819 Merge branch 'obsd-master' 2026-07-06 13:00:06 +01:00
Thomas Adam
0593cbeb84 Merge branch 'obsd-master' 2026-07-06 12:30:06 +01:00
nicm
d565fd3b54 Do not create zero size panes, from Uzair Aftab. 2026-07-06 11:28:39 +00:00
nicm
699b18414d Do not allow jobs in monitor formats. 2026-07-06 11:17:28 +00:00
Nicholas Marriott
eb82e8527a Shorten all socket names because macOS is stupid. 2026-07-06 11:50:58 +01:00
Nicholas Marriott
069201dd1a Regression test fixes. 2026-07-06 11:22:56 +01:00
Nicholas Marriott
37e4b3cdb6 Fix name. 2026-07-06 10:12:24 +01:00
Nicholas Marriott
501e8da925 Update some tests and improve Makefile. 2026-07-06 10:00:26 +01:00
Nicholas Marriott
6a6822b906 Shorten socket names. 2026-07-06 09:27:17 +01:00
Thomas Adam
e7c1361a10 Merge branch 'obsd-master' 2026-07-06 09:15:06 +01:00
nicm
913e503296 Unzoom before creating a floating pane (for now). 2026-07-06 07:57:45 +00:00
Nicholas Marriott
2c0f06782d Add alerts test. 2026-07-06 08:47:57 +01:00
Nicholas Marriott
fcce73af42 Add another test. 2026-07-05 22:14:48 +01:00
Nicholas Marriott
2b2963859b Add some hooks tests. 2026-07-05 21:56:52 +01:00
Michael Grant
1b88870490 Add a version number (,v2) to the list-windows serialization string. 2026-07-05 21:27:05 +01:00
Thomas Adam
327c05307a Merge branch 'obsd-master' 2026-07-05 20:00:06 +01:00
nicm
3f065cf789 Add a window pane reference count. 2026-07-05 18:37:57 +00:00
Nicholas Marriott
dc1693d5a1 set-hook -R test. 2026-07-05 18:26:44 +01:00
Michael Grant
21dce04dca Changed the name of the option from window-layout-v2 to window-layout-new. 2026-07-05 18:01:02 +01:00
Michael Grant
28e6b66cc3 Merge remote-tracking branch 'origin/master' into 5211-fix-select-layout-list-windows
# Conflicts:
#	layout-custom.c
2026-07-05 17:27:23 +01:00
Michael Grant
d138519eaf Merge branch 'master' into 5211-fix-select-layout-list-windows 2026-07-05 17:21:23 +01:00