swayfx/sway
Ryan Dwyer c6368febc8 Adjust container box
Prior to f5b9815128, children of tabbed
and stacked containers would have their container size and position set
to the same as the tabbed/stacked container. Normally this would be a
problem for a layout such as T[V[view]], but there was some code in the
arrange functions which would check if the grandparent of the view was a
tabbed or stacked container and would offset the view's Y accordingly.

Commit f5b9815128 changed the box to
exclude the titlebar for all tabbed/stacked children so that the
grandparent check could be removed. But this meant the title was not
covered in the container and wasn't damaged when the child changed its
title.

This patch changes it so that a child of a tabbed/stacked container will
have its box include the title bar if the child is a view, but not if
it's a layout container. This fixes the title damage issue while
avoiding the grandparent check in the arrange functions, and matches
what we see visually.
2018-09-06 09:13:36 +10:00
..
commands Allow marked containers to be moved out of the scratchpad via move command 2018-09-05 18:01:43 +10:00
config Call wlr_output_enable on enable/disable if needed 2018-09-05 14:00:00 -04:00
desktop Fix output position issue 2018-09-05 18:01:43 +10:00
input Fix clicking workspace buttons 2018-09-05 18:01:43 +10:00
tree Adjust container box 2018-09-06 09:13:36 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
config.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
criteria.c Fix inversed condition in criteria 2018-09-05 18:01:43 +10:00
debug-tree.c Don't use wlr_output properties 2018-09-05 18:01:43 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c Fix swaybars with no defined output 2018-09-05 18:01:43 +10:00
ipc-server.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
main.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
meson.build Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00