mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
tray: Reuse bar visual
This commit is contained in:
parent
81d1f74b7b
commit
bdfe655556
1 changed files with 1 additions and 2 deletions
|
@ -570,8 +570,7 @@ void tray_manager::create_bg() {
|
|||
* Set window WM hints
|
||||
*/
|
||||
void tray_manager::set_wm_hints() {
|
||||
// TODO use same visual as bar/tray window
|
||||
const xcb_visualid_t visual{m_connection.screen()->root_visual};
|
||||
const xcb_visualid_t visual{m_bar_opts.x_data.visual->visual_id};
|
||||
const uint32_t orientation{_NET_SYSTEM_TRAY_ORIENTATION_HORZ};
|
||||
|
||||
m_log.trace("bar: Set window WM_NAME / WM_CLASS");
|
||||
|
|
Loading…
Reference in a new issue