fixes bug with rox panel flickering with mousefocus
markt markt
2 files changed,
6 insertions(+),
3 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,9 @@
(Format: Year/Month/Day) Changes for 1.0.0: +*07/06/03: + * Only change layer to normal when removing _NET_WM_STATE_{ABOVE,BELOW} if + the window is actually above/below the normal layer (thanks Jim Ramsay) + Ewmh.cc *07/06/01: * Fixed infinite loop caused by removing the last workspace when it contains windows (Mark)
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -1058,13 +1058,12 @@ win.setIconHidden(value);
} else if (state == m_net_wm_state_below) { // bottom layer if (value) win.moveToLayer(Layer::BOTTOM); - else + else if (win.layerNum() > Layer::NORMAL) win.moveToLayer(Layer::NORMAL); - } else if (state == m_net_wm_state_above) { // above layer if (value) win.moveToLayer(Layer::ABOVE_DOCK); - else + else if (win.layerNum() < Layer::NORMAL) win.moveToLayer(Layer::NORMAL); } else if (state == m_net_wm_state_demands_attention) { if (value) { // if add attention