* xterm.c (handle_one_xevent): Only set async_visible and friends
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 29 Nov 2011 18:08:53 +0000 (19:08 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 29 Nov 2011 18:08:53 +0000 (19:08 +0100)
commit2b56b87e029eaa04f243718c1690eca5545c5102
tree868135688c6ac26bdecfe19a4726f4756cd5ae8a
parente70b5064d77602ba43cd31216ca8f3eb9a4c2c42
* xterm.c (handle_one_xevent): Only set async_visible and friends
if net_wm_state_hidden_seen is non-zero
(get_current_wm_state):  Set net_wm_state_hidden_seen to 1 if
_NET_WM_STATE_HIDDEN is in NET_WM_STATE.

* xterm.h (struct x_output): net_wm_state_hidden_seen is new.

Fixes: debbugs:10002
src/ChangeLog
src/xterm.c
src/xterm.h