From: Jan Djärv Date: Mon, 8 Jan 2007 17:56:53 +0000 (+0000) Subject: (x_display_info): New: net_supported_atoms, X-Git-Tag: emacs-pretest-22.0.93~215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=287110f561c2644ffa2c131e2f5da1042ce31b2a;p=emacs.git (x_display_info): New: net_supported_atoms, nr_net_supported_atoms and net_supported_window. --- diff --git a/src/ChangeLog b/src/ChangeLog index 97c9d4cbeb9..79194a6016e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,16 @@ +2007-01-08 Jan Dj,Ad(Brv + + * xterm.h (x_display_info): New: net_supported_atoms, + nr_net_supported_atoms and net_supported_window. + + * xterm.c: New variable last_user_time. + (handle_one_xevent): Set last_user_time from events that have Time. + Set net_supported_window to 0 when reparented. + (wm_supports): New function. + (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE. + (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms + and net_supported_window. + 2007-01-05 Kim F. Storm * indent.c (Fvertical_motion): Fix it overshoot check for overlay diff --git a/src/xterm.h b/src/xterm.h index af4225ae806..cf6c909a69e 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -396,7 +396,10 @@ struct x_display_info size_t x_dnd_atoms_size; size_t x_dnd_atoms_length; - int have_net_atoms; + /* Extended window manager hints, Atoms supported by the window manager */ + Atom *net_supported_atoms; + int nr_net_supported_atoms; + Window net_supported_window; }; #ifdef HAVE_X_I18N