tray: Reuse bar visual
This commit is contained in:
parent
81d1f74b7b
commit
bdfe655556
@ -570,8 +570,7 @@ void tray_manager::create_bg() {
|
|||||||
* Set window WM hints
|
* Set window WM hints
|
||||||
*/
|
*/
|
||||||
void tray_manager::set_wm_hints() {
|
void tray_manager::set_wm_hints() {
|
||||||
// TODO use same visual as bar/tray window
|
const xcb_visualid_t visual{m_bar_opts.x_data.visual->visual_id};
|
||||||
const xcb_visualid_t visual{m_connection.screen()->root_visual};
|
|
||||||
const uint32_t orientation{_NET_SYSTEM_TRAY_ORIENTATION_HORZ};
|
const uint32_t orientation{_NET_SYSTEM_TRAY_ORIENTATION_HORZ};
|
||||||
|
|
||||||
m_log.trace("bar: Set window WM_NAME / WM_CLASS");
|
m_log.trace("bar: Set window WM_NAME / WM_CLASS");
|
||||||
|
Loading…
Reference in New Issue
Block a user