]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_display_info): New: net_supported_atoms,
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 8 Jan 2007 17:56:53 +0000 (17:56 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 8 Jan 2007 17:56:53 +0000 (17:56 +0000)
nr_net_supported_atoms and net_supported_window.

src/ChangeLog
src/xterm.h

index 97c9d4cbeb9f5d77b0ff870edb825a61435a34bd..79194a6016ecfb2f7e5882a239748b4524455045 100644 (file)
@@ -1,3 +1,16 @@
+2007-01-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * 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  <storm@cua.dk>
 
        * indent.c (Fvertical_motion): Fix it overshoot check for overlay
index af4225ae806467734613f6e9e0ec02c071ae7a64..cf6c909a69e20790c040efccc79ec9d086cb3fa7 100644 (file)
@@ -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