gri3-wm/testcases/t
Orestis Floros ae757c6848
Extend tiling/floating criteria with optional auto/user values (#4006)
The default `tiling` and `floating` behavior is preserved and matches
both cases.

Adds a new handler to `remanage_window` on A_I3_FLOATING_WINDOW change.

Mainly in order to `run_assignments`, this makes `for_window [floating]`
directives to work for windows which where initially opened as tiling.
Now, when floating is enabled, `for_window` will trigger correctly. Same
applies to `for_window [tiling]`.

The obvious solution of `run_assignments` after
`floating_{enable,disable}` doesn't work because `run_assignments`
modifies the parser state in src/assignments.c:51.

Fixes #3588

Co-Authored-By: Michael Stapelberg <michael@stapelberg.de>
2020-04-12 13:49:08 +02:00
..
000-load-deps.t
001-tile.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
002-i3-sync.t
003-ipc.t
004-unmanaged.t
005-floating.t
100-fullscreen.t
101-focus.t
102-dock.t
104-focus-stack.t
111-goto.t
112-floating-resize.t
113-urgent.t
114-client-leader.t
115-ipc-workspaces.t
116-nestedcons.t
117-workspace.t
118-openkill.t
119-match.t
120-multiple-cmds.t
121-next-prev.t
122-split.t
124-move.t
126-regress-close.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
127-regress-floating-parent.t
128-open-order.t
129-focus-after-close.t
130-close-empty-split.t
131-stacking-order.t
132-move-workspace.t commands.c: Improve error replies 2018-09-11 08:35:58 +03:00
133-size-hints.t
134-invalid-command.t Remove trailing whitespace from Perl scripts 2018-03-15 21:33:45 +02:00
135-floating-focus.t Remove special handling of floating containers in con_next_focused 2018-03-30 18:29:33 +03:00
136-floating-ws-empty.t
137-floating-unmap.t
138-floating-attach.t
139-ws-numbers.t
140-focus-lost.t
141-resize.t
142-regress-move-floating.t
143-regress-floating-restart.t
144-regress-floating-resize.t
145-flattening.t
146-floating-reinsert.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
147-regress-floatingmove.t
148-regress-floatingmovews.t
150-regress-dock-restart.t
151-regress-float-size.t
152-regress-level-up.t
153-floating-originalsize.t
154-regress-multiple-dock.t
155-floating-split-size.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
156-fullscreen-focus.t
158-wm_take_focus.t
159-socketpaths.t
161-regress-borders-restart.t
162-regress-dock-urgent.t
163-wm-state.t
164-kill-win-vs-client.t
165-for_window.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
166-assign.t
167-workspace_layout.t
168-regress-fullscreen-restart.t
169-border-toggle.t
170-force_focus_wrapping.t
171-config-migrate.t
172-start-on-named-ws.t
173-get-marks.t
174-border-config.t
175-startup-notification.t
176-workspace-baf.t
177-bar-config.t
178-regress-workspace-open.t
179-regress-multiple-ws.t
180-fd-leaks.t
181-regress-float-border.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
182-regress-focus-dock.t
183-config-variables.t
184-regress-float-split-resize.t
185-scratchpad.t
186-regress-assign-focus-parent.t
187-commands-parser.t
188-regress-focus-restart.t
189-floating-constraints.t
190-scratchpad-diff-ws.t
191-resize-levels.t
192-layout.t
193-ipc-version.t
194-regress-floating-size.t
195-net-active-window.t handlers.c: new focus should not end up behind fullscreen 2019-10-09 02:38:40 +03:00
196-randr-output-names.t
197-regression-move-vanish.t
198-regression-scratchpad-crash.t
199-ipc-mode-event.t
200-urgency-timer.t
201-config-parser.t
202-scratchpad-criteria.t
203-regress-assign-and-move.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
204-regress-scratchpad-move.t
205-ipc-windows.t Implement the tick event 2017-09-30 11:41:57 +02:00
206-fullscreen-scratchpad.t
207-shmlog.t
208-regress-floating-criteria.t
209-ewmh-net-workarea.t
210-mark-unmark.t
211-regress-urgency-assign.t
212-assign-urgency.t
213-layout-restore-simple.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
214-layout-restore-criteria.t
215-layout-restore-crash.t
216-layout-restore-split-swallows.t
217-NET_CURRENT_DESKTOP.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
218-regress-floating-split.t
219-ipc-window-focus.t
220-ipc-window-title.t
221-floating-type-hints.t
222-regress-dock-resize.t
223-net-client-list.t
224-regress-resize-branch.t
225-ipc-window-fullscreen.t
226-internal-workspaces.t
227-ipc-workspace-empty.t
228-border-widths.t
229-cleanup-tmpdir.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
230-floating-fullscreen-restart.t
231-ipc-floating-event.t
232-cmd-move-criteria.t
233-regress-manage-focus-unmapped.t
234-ewmh-desktop-names.t
235-check-config-no-x.t
236-floating-focus-raise.t
237-regress-assign-focus.t
238-ipc-binding-event.t
239-net-close-window-request.t
240-focus-on-window-activation.t
241-consistent-center.t
242-no-focus.t con_num_windows: Count floating windows 2018-09-26 20:04:17 +03:00
243-move-to-mark.t
244-new-workspace-floating-enable-center.t
245-move-position-mouse.t
246-window-decoration-focus.t
247-config-line-continuation.t
248-regress-urgency-clear.t
249-layout-restore-floating.t
250-layout-restore-multiple-criteria.t
251-command-criteria-focused.t match_matches_window: Check if focused->window exists 2018-09-16 14:55:27 +03:00
252-floating-size.t
253-multiple-net-wm-state-atoms.t testcases: remove assumption from state atoms test 2018-03-18 00:11:55 +02:00
254-move-to-output-with-criteria.t
255-multiple-marks.t
256-no-auto-back-and-forth.t
257-keypress-group1-fallback.t Implement the tick event 2017-09-30 11:41:57 +02:00
258-keypress-release.t
259-net-wm-user-time.t
260-invalid-criteria.t
261-match-con_id-con_mark-combinations.t
262-config-validation.t
263-config-reload-reverts-bind-mode.t
264-dock-criteria.t
265-ipc-mark.t Implement the tick event 2017-09-30 11:41:57 +02:00
266-net-moveresize-window.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
267-regress-mark-restart.t
268-ipc-config.t
269-focus-stack-above.t
270-config-no-newline-end.t
271-for_window_tilingfloating.t
272-regress-focus-assign.t
273-regress-focus-toggle.t
274-move-branch-position.t
275-ipc-window-close.t
276-ipc-window-move.t
277-ipc-window-urgent.t Implement the tick event 2017-09-30 11:41:57 +02:00
278-layout-restore-output.t
279-regress-default-floating-border.t
280-wm-class-change-handler.t
281-regress-reload-bindsym.t
282-tabbed-floating-disable-crash.t
283-net-wm-state-hidden.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
284-ewmh-visible-name.t
285-sticky.t
286-root-window-mouse-binding.t
287-edge-borders.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
288-i3-floating-window-atom.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
289-ipc-shutdown-event.t
290-keypress-numlock.t
291-swap.t
292-regress-layout-toggle.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
293-focus-follows-mouse.t
293-sticky-output-crash.t Prevent access of freed workspace in _workspace_show 2017-12-10 21:37:43 +02:00
294-focus-order.t
294-update-ewmh-atoms.t Call all ewmh_update_* functions together when necessary 2019-05-03 16:19:11 +03:00
295-net-wm-state-focused.t
296-regress-focus-behind-fullscreen-floating.t
297-assign-workspace-to-output.t
297-scroll-tabbed.t Activate the focused child when scrolling over tab/stack decorations 2018-05-05 13:30:48 +03:00
298-ipc-misbehaving-connection.t
299-regress-scratchpad-focus.t
300-restart-non-utf8.t
301-shape.t
302-tree.t
303-regress-move-floating.t
304-ipc-workspace-init.t create_workspace_on_output: send workspace init event 2019-02-23 12:00:55 +02:00
305-restart-reply.t
306-move-to-parent.t Move container to marked workspace: refine corner case 2019-10-07 18:15:03 +00:00
307-focus-next-prev.t cmd_focus_sibling: Fix crash on workspace level 2020-04-09 11:29:14 +02:00
308-focus_wrapping.t
309-crash-move-parent.t
500-multi-monitor.t
501-scratchpad.t
502-focus-output.t
503-workspace.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
504-move-workspace-to-output.t
505-scratchpad-resolution.t
506-focus-right.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
507-workspace-move-crash.t
509-workspace_layout.t
510-focus-across-outputs.t
511-scratchpad-configure-request.t
512-move-wraps.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
513-move-workspace.t
514-ipc-workspace-multi-monitor.t
515-create-workspace.t
516-move.t
517-regress-move-direction-ipc.t
518-interpret-workspace-numbers.t
519-mouse-warping.t
520-regress-focus-direction-floating.t
521-ewmh-desktop-viewport.t
522-rename-assigned-workspace.t
523-move-position-center.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
524-move.t
525-i3bar-mouse-bindings.t
526-reconfigure-dock.t
527-focus-fallback.t
528-workspace-next-prev-reversed.t
529-net-wm-desktop.t
530-bug-2229.t 530-bug-229.t: Get rid of smartmatch 2018-09-20 19:37:50 +03:00
531-fullscreen-on-given-output.t
532-xresources.t
533-randr15.t
534-dont-warp.t
535-workspace-next-prev.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
536-net-wm-desktop_mm.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
537-move-single-to-output.t tests: replace http:// with https:// where appropriate 2017-09-24 10:19:50 +02:00
538-i3bar-primary-output.t
539-disable_focus_wrapping.t
540-sigterm-cleanup.t
541-resize-set-tiling.t
542-layout-restore-remanage.t