swayfx/sway/input
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
Instead of using container->width/height as both the input and output
of the layout calculation have container->width_fraction/height_fraction
as the share of the parent this container occupies and calculate the
layout based on that. That way the container arrangement can always be
recalculated even if width/height have been altered by things like
fullscreen.

To do this several parts are reworked:

- The vertical and horizontal arrangement code is ajusted to work with
  fractions instead of directly with width/height
- The resize code is then changed to manipulate the fractions when
  working on tiled containers.
- Finally the places that manipulated width/height are adjusted to
  match. The adjusted parts are container split, swap, and the input
  seat code.

It's possible that some parts of the code are now adjusting width and
height only for those to be immediately recalculated. That's harmless
and since non-tiled containers are still sized with width/height
directly it may avoid breaking other corner cases.

Fixes #3547
Fixes #4297
2019-07-14 11:13:55 -04:00
..
cursor.c Unhide cursor on cursor activity after touch 2019-06-08 12:02:28 -04:00
input-manager.c input/libinput: only reset supported options 2019-07-09 11:50:02 -04:00
keyboard.c commands/input: perform basic keymap validation 2019-06-09 20:13:22 +03:00
seat.c bindings: defer while initiailizing 2019-06-12 07:56:41 +03:00
seatop_default.c Fix a silly mistake 2019-04-28 21:07:47 +03:00
seatop_down.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_move_floating.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
seatop_move_tiling.c Layout tiled using a width/height fraction 2019-07-14 11:13:55 -04:00
seatop_resize_floating.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
seatop_resize_tiling.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
switch.c cmd_bindswitch: add option to execute on reload 2019-07-09 10:00:57 +03:00