parent
0c39061c98
commit
d9c035381e
3 changed files with 26 additions and 14 deletions
src/components
|
@ -369,7 +369,7 @@ void bar::restack_window() {
|
|||
restacked = bspwm_util::restack_to_root(m_connection, m_opts.monitor, m_opts.window);
|
||||
#if ENABLE_I3
|
||||
} else if (wm_restack == "i3" && m_opts.override_redirect) {
|
||||
restacked = i3_util::restack_to_root(m_connection, m_opts.monitor, m_opts.window);
|
||||
restacked = i3_util::restack_to_root(m_connection, m_opts.window);
|
||||
} else if (wm_restack == "i3" && !m_opts.override_redirect) {
|
||||
m_log.warn("Ignoring restack of i3 window (not needed when `override-redirect = false`)");
|
||||
wm_restack.clear();
|
||||
|
@ -492,6 +492,8 @@ void bar::handle(const evt::enter_notify&) {
|
|||
m_opts.dimmed = false;
|
||||
m_sig.emit(dim_window{1.0});
|
||||
});
|
||||
} else if (m_taskqueue->exist("window-dim")) {
|
||||
m_taskqueue->purge("window-dim");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue