summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2009-12-13 15:39:28 +0000
committerJan Djärv <jan.h.d@swipnet.se>2009-12-13 15:39:28 +0000
commit36acb2a70642e7395b3fa8f45291c7828718b392 (patch)
tree342175657f5a9a406355bcd2dab8426ad4efd570 /src/xterm.h
parentb8f0067758d1710e580f55f60ab70cd073f7fa79 (diff)
downloademacs-36acb2a70642e7395b3fa8f45291c7828718b392.tar.gz
Set the extended window manager hint for tooltip windows.
* xfns.c (x_create_tip_frame): Set the extended window manager hint for tooltip windows. * xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and Xatom_net_window_type. * xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and Xatom_net_window_type.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 1ad2a097016..6c6de8d901d 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -355,10 +355,12 @@ struct x_display_info
size_t x_dnd_atoms_size;
size_t x_dnd_atoms_length;
- /* Extended window manager hints, Atoms supported by the window manager */
+ /* Extended window manager hints, Atoms supported by the window manager and
+ atoms for settig the window type. */
Atom *net_supported_atoms;
int nr_net_supported_atoms;
Window net_supported_window;
+ Atom Xatom_net_window_type, Xatom_net_window_type_tooltip;
/* Atoms dealing with maximization and fullscreen */
Atom Xatom_net_wm_state, Xatom_net_wm_state_fullscreen_atom,