mirror of
https://github.com/polybar/polybar.git
synced 2026-03-14 12:15:23 +00:00
feat(xwindow): New module "xwindow"
Add module to display title of active window. Requires WM with support for the _NET_ACTIVE_WINDOW hint. Ref #84
This commit is contained in:
@ -722,7 +722,7 @@ void bar::set_wmhints() {
|
||||
wm_util::set_wmstate(m_connection, m_window, {_NET_WM_STATE_STICKY, _NET_WM_STATE_ABOVE});
|
||||
|
||||
m_log.trace("bar: Set _NET_WM_DESKTOP");
|
||||
wm_util::set_wmdesktop(m_connection, m_window, -1u);
|
||||
wm_util::set_wmdesktop(m_connection, m_window, 0xFFFFFFFF);
|
||||
|
||||
m_log.trace("bar: Set _NET_WM_PID");
|
||||
wm_util::set_wmpid(m_connection, m_window, getpid());
|
||||
|
||||
Reference in New Issue
Block a user