summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/xcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/chansrv/xcommon.c')
-rw-r--r--sesman/chansrv/xcommon.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sesman/chansrv/xcommon.c b/sesman/chansrv/xcommon.c
index c5a91cae..919bc41b 100644
--- a/sesman/chansrv/xcommon.c
+++ b/sesman/chansrv/xcommon.c
@@ -25,8 +25,10 @@
#include "clipboard.h"
#include "rail.h"
+/*
#undef LOG_LEVEL
#define LOG_LEVEL 11
+*/
extern int g_clip_up; /* in clipboard.c */
@@ -40,6 +42,9 @@ int g_screen_num = 0;
Window g_root_window = 0;
Atom g_wm_delete_window_atom = 0;
Atom g_wm_protocols_atom = 0;
+Atom g_utf8_string = 0;
+Atom g_net_wm_name = 0;
+Atom g_wm_state = 0;
/*****************************************************************************/
static int DEFAULT_CC
@@ -117,7 +122,10 @@ xcommon_init(void)
g_wm_delete_window_atom = XInternAtom(g_display, "WM_DELETE_WINDOW", 0);
g_wm_protocols_atom = XInternAtom(g_display, "WM_PROTOCOLS", 0);
-
+ g_utf8_string = XInternAtom(g_display, "UTF8_STRING", 0);
+ g_net_wm_name = XInternAtom(g_display, "_NET_WM_NAME", 0);
+ g_wm_state = XInternAtom(g_display, "WM_STATE", 0);
+
return 0;
}