]> git.sur5r.net Git - i3/i3/commit
Use a saner sanity check for floating_reposition.
authorYuxuan Shui <yshuiv7@gmail.com>
Thu, 21 Mar 2013 17:36:40 +0000 (01:36 +0800)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 21 Mar 2013 22:41:07 +0000 (23:41 +0100)
commit5adb09c5fccabc64bb8ffd769693686a77f36260
tree73cfdb457e0b2efb92053149dc212ec1462cbbe8
parent5b4ff1804dd640c7ec3694918f4abfa9148f4f0d
Use a saner sanity check for floating_reposition.

The function contained_by_output checks whether any output contains any
parts of a give rect. Rather than relying on the central point of the rect.
include/randr.h
src/floating.c
src/randr.c