]> git.sur5r.net Git - i3/i3/commit
Check if output is disabled in handle_output()
authorTony Crisci <tony@dubstepdish.com>
Thu, 23 Apr 2015 22:21:15 +0000 (18:21 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 30 Jul 2015 19:35:42 +0000 (21:35 +0200)
commite71c304444dd3070877887d2bb5407cd64033946
tree1b76b351902b0eb063ee186708750366c0185611
parenta0268a38d30ca8a55ca36f570848b581f8ca92e8
Check if output is disabled in handle_output()

Check if the `connection` of the randr output is
XCB_RANDR_CONNECTION_DISONNECTED and disable the output if it is.

This fixes an issue where the output would not be disabled if the output was
physically unplugged from the machine.
src/randr.c