]> git.sur5r.net Git - i3/i3/commit
Check if output is disabled in handle_output() 1680/head
authorTony Crisci <tony@dubstepdish.com>
Thu, 23 Apr 2015 22:21:15 +0000 (18:21 -0400)
committerTony Crisci <tony@dubstepdish.com>
Thu, 23 Apr 2015 22:21:15 +0000 (18:21 -0400)
commit14e95e765eeb1fd103ee8821656b43bf69c5519d
tree7e9569a30ac003ab3e47001fa37cb83de8280e1d
parent79d54fc3aee0bd552a084f8d73705a5aecc0e335
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