summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan D <jan.h.d@swipnet.se>2010-07-05 12:28:27 +0200
committerJan D <jan.h.d@swipnet.se>2010-07-05 12:28:27 +0200
commit00be444c737e95c7455aa1808d9da75d4affd51f (patch)
tree1022102a524a2315ac29dd66104ff2352dfe441f /src/xterm.h
parentff919460978866c8a3be6b16a4bc2e7cee089354 (diff)
downloademacs-00be444c737e95c7455aa1808d9da75d4affd51f.tar.gz
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.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 099c194ad72..b22c225fed7 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -370,6 +370,9 @@ struct x_display_info
/* 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