aksel bbfa140c0f For resizing, convert pixel diff to percentage, based on parent.
Previously, it first calculated one of the containers' next percentage, and then subtracted the previous percentage to find the actual change.

Now it directly calculates the change, and subtracts and adds the change to the two affected containers.

Added util function con_rect_size_in_orientation.

Removed px_resize_to_percent; inlined, using con_rect_size_in_orientation.

Also, prematurely return when pixel diff is 0, as no action is necessary.

This is related to [this issue on i3-gaps](https://github.com/Airblader/i3/issues/247).
2018-11-08 23:15:23 +01:00
2018-11-04 14:55:50 +01:00
2018-10-13 21:10:09 +03:00
2018-10-13 21:10:11 +03:00
2018-11-05 14:15:07 +01:00
2018-10-13 21:10:10 +03:00
2018-11-04 14:47:34 +01:00
2018-05-01 13:49:55 +03:00
2018-11-04 14:47:34 +01:00
2018-10-26 09:58:04 -07:00
2018-11-04 14:47:34 +01:00
2018-11-05 19:32:29 +01:00

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.

Description
No description provided
Readme 18 MiB
Languages
C 58.4%
Perl 36%
Raku 2.6%
Ruby 1.2%
Shell 0.7%
Other 1.1%