Mercurial > emacs
diff src/xterm.h @ 111356:ee70db35f80f
Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).
* src/xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
before traversing window tree (Bug#5721).
* src/xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
* src/xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Thu, 04 Nov 2010 09:41:25 +0100 |
parents | 60266cf487b0 |
children | 132f2dfd549f 376148b31b5e |
line wrap: on
line diff
--- a/src/xterm.h Wed Nov 03 18:19:23 2010 -0500 +++ b/src/xterm.h Thu Nov 04 09:41:25 2010 +0100 @@ -362,10 +362,10 @@ Window net_supported_window; Atom Xatom_net_window_type, Xatom_net_window_type_tooltip; - /* Atoms dealing with maximization and fullscreen */ + /* Atoms dealing with EWMH (i.e. _NET_...) */ Atom Xatom_net_wm_state, Xatom_net_wm_state_fullscreen_atom, Xatom_net_wm_state_maximized_horz, Xatom_net_wm_state_maximized_vert, - Xatom_net_wm_state_sticky; + Xatom_net_wm_state_sticky, Xatom_net_frame_extents; /* XSettings atoms and windows. */ Atom Xatom_xsettings_sel, Xatom_xsettings_prop, Xatom_xsettings_mgr;