From fe03570b5ab15a5e76b32c3a3ec697c9c4b8eca8 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Mon, 31 Oct 2016 02:36:43 +0100 Subject: [PATCH] fix(tray): Target correct atom --- include/components/x11/tray.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/components/x11/tray.hpp b/include/components/x11/tray.hpp index 3847cf2e..a1374859 100644 --- a/include/components/x11/tray.hpp +++ b/include/components/x11/tray.hpp @@ -427,7 +427,7 @@ class traymanager m_log.trace("tray: Set window _NET_SYSTEM_TRAY_VISUAL"); const uint32_t values2[1]{m_connection.screen()->root_visual}; m_connection.change_property_checked(XCB_PROP_MODE_REPLACE, m_tray, - _NET_SYSTEM_TRAY_ORIENTATION, XCB_ATOM_VISUALID, 32, 1, values2); + _NET_SYSTEM_TRAY_VISUAL, XCB_ATOM_VISUALID, 32, 1, values2); m_log.trace("tray: Set window _NET_WM_PID"); int pid = getpid();