summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2015-08-04 16:46:49 +0200
committerJoel Klinghed <the_jk@opera.com>2015-08-04 16:46:49 +0200
commitb41fddc7e8f5d41c928c1aef0e75973e33572918 (patch)
treea13085b6cf7315490060fe57c8c809a4845058b5
parent1d8af5a018282dc6a93b9ed7c87d9d2f87287b14 (diff)
Register name and class with ICCCM
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 91ed9f3..9bb5b6c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -250,6 +250,8 @@ int main(int argc, char **argv)
xcb_icccm_set_wm_protocols(m.conn, m.wnd, m.atoms.WM_PROTOCOLS,
1, protocols);
+ xcb_icccm_set_wm_name(m.conn, m.wnd, XCB_ATOM_STRING, 8, 5, "timer");
+ xcb_icccm_set_wm_class(m.conn, m.wnd, 8, "jk.timer");
}
#endif