Commit 8c2dd4db authored by Jan Djärv's avatar Jan Djärv

Detect iconified under Compiz/Unity

* xterm.c (handle_one_xevent): Detect iconified by looking at
_NET_WM_STATE_HIDDEN.
parent c9c0610d
2014-09-10 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (handle_one_xevent): Detect iconified by looking at
_NET_WM_STATE_HIDDEN.
2014-09-10 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove.
......
......@@ -6860,6 +6860,14 @@ handle_one_xevent (struct x_display_info *dpyinfo,
inev.ie.kind = DEICONIFY_EVENT;
XSETFRAME (inev.ie.frame_or_window, f);
}
else if (! FRAME_ICONIFIED_P (f)
&& f->output_data.x->net_wm_state_hidden_seen)
{
SET_FRAME_VISIBLE (f, 0);
SET_FRAME_ICONIFIED (f, 1);
inev.ie.kind = ICONIFY_EVENT;
XSETFRAME (inev.ie.frame_or_window, f);
}
x_handle_property_notify (&event->xproperty);
xft_settings_event (dpyinfo, event);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment