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:
parent
b921225487
commit
51d8f289fa
21 changed files with 445 additions and 16 deletions
src/components
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue