diff src/xterm.h @ 109143:a08a6559b47b

Set _NET_WM(_ICON)_NAME as per Extended Window Manager Hints (Bug#6563). * xterm.h (Xatom_net_wm_name, Xatom_net_wm_icon_name): New. * xterm.c (x_term_init): Intern the _NET_WM_NAME and _NET_WM_ICON_NAME atoms. * xfns.c (x_set_name_internal): Set the EWMH _NET_WM_NAME and _NET_WM_ICON_NAME properties, too, matching what is done in the Gtk+ case.
author Jan D <jan.h.d@swipnet.se>
date Mon, 05 Jul 2010 12:28:27 +0200
parents e16f43875a48
children 051595eb9b58
line wrap: on
line diff
--- a/src/xterm.h	Mon Jul 05 11:55:11 2010 +0200
+++ b/src/xterm.h	Mon Jul 05 12:28:27 2010 +0200
@@ -370,6 +370,9 @@
   /* XSettings atoms and windows.  */
   Atom Xatom_xsettings_sel, Xatom_xsettings_prop, Xatom_xsettings_mgr;
   Window xsettings_window;
+
+  /* Frame name and icon name */
+  Atom Xatom_net_wm_name, Xatom_net_wm_icon_name;
 };
 
 #ifdef HAVE_X_I18N