gri3-wm/include
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
..
i3 Fixes for undefined behaviour on signed shift (#3453) 2018-10-13 21:04:40 +03:00
all.h move i3 sync code into sync_respond (for following commits) 2018-03-30 21:05:32 +02:00
assignments.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
atoms.xmacro split atoms.xmacro into 2 files to obtain _NET_SUPPORTED count 2016-02-23 21:48:18 +01:00
atoms_NET_SUPPORTED.xmacro Support _NET_WM_STATE_FOCUSED 2018-03-23 14:30:57 +02:00
atoms_rest.xmacro Reject requests for WM_STATE_ICONIC 2018-09-25 15:04:55 +03:00
bindings.h Introduce --exclude-titlebar flag for mouse bindings. (#2703) 2017-05-02 09:08:42 +02:00
click.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
cmdparse.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
commands.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
commands_parser.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
con.h For resizing, convert pixel diff to percentage, based on parent. 2018-11-08 23:15:23 +01:00
config_directives.h Add title_align config directive 2018-10-12 19:58:48 +03:00
config_parser.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
configuration.h Merge pull request #3452 from orestisf1993/title_align 2018-10-23 16:41:54 +02:00
data.h Respect max size in WM_NORMAL_HINTS 2018-09-20 11:31:19 +03:00
display_version.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
ewmh.h Support _NET_WM_STATE_FOCUSED 2018-03-23 14:30:57 +02:00
fake_outputs.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
floating.h cmd_move_window_to_position: improve error message 2018-03-20 16:59:06 +02:00
handlers.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
i3.h skip ConfigureNotify events with --force_xinerama 2017-10-23 21:04:20 +02:00
ipc.h Kill misbehaving subscribed clients instead of hanging 2018-08-08 19:14:56 +03:00
key_press.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
libi3.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
load_layout.h validate JSON before loading 2017-09-13 17:41:05 +02:00
log.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
main.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
manage.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
match.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
move.h Fix focus order in floating_disable for unfocused windows 2018-03-30 18:20:40 +03:00
output.h output_push_sticky_windows: Make a bit easier to understand 2018-10-11 12:27:56 +03:00
queue.h switch to clang-format-3.8 (#2547) 2016-11-08 13:46:43 -08:00
randr.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
regex.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
render.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
resize.h For resizing, convert pixel diff to percentage, based on parent. 2018-11-08 23:15:23 +01:00
restore_layout.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
scratchpad.h Make "scratchpad show" return correct info 2018-04-20 22:30:41 +08:00
sd-daemon.h Replace http:// with https:// where applicable 2017-09-24 10:19:07 +02:00
shmlog.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
sighandler.h Rewrite the signal handler dialogs. 2017-01-10 20:13:25 +01:00
startup.h Fix typo: childs -> children 2018-10-13 21:10:11 +03:00
sync.h move i3 sync code into sync_respond (for following commits) 2018-03-30 21:05:32 +02:00
tree.h Simplify tree_close_internal 2018-07-30 19:41:24 +03:00
util.h Make comment style more consistent 2018-10-13 21:10:10 +03:00
window.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
workspace.h Allow multiple assignments of workspaces to outputs 2018-07-12 17:07:01 +03:00
x.h Reframe swallowed windows if depth doesn't match 2018-06-02 14:32:47 +03:00
xcb.h Refocus focused window for FOCUS_IN events on the root window. (#3097) 2018-03-10 19:18:44 +01:00
xcursor.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
xinerama.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
yajl_utils.h Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00