all repos — fluxbox @ 4b5c00b764417b91388d6e88b10f3cbd2764ff02

custom fork of the fluxbox windowmanager

in ClickFocus, replay pointer before focusing window
Mark Tiefenbruck mark@fluxbox.org
commit

4b5c00b764417b91388d6e88b10f3cbd2764ff02

parent

b265d0d8703cf38e526bc60229cd51eabab27f0f

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2388,9 +2388,6 @@ }

frame().tabcontainer().tryButtonPressEvent(be); if (be.button == 1) { - if (!m_focused && acceptsFocus() && m_click_focus) //check focus - focus(); - if (frame().window().window() == be.window || frame().tabcontainer().window() == be.window) { if (screen().clickRaises())

@@ -2405,6 +2402,9 @@ m_button_grab_x = be.x_root - frame().x() - frame().window().borderWidth();

m_button_grab_y = be.y_root - frame().y() - frame().window().borderWidth(); } else if (frame().handle() == be.window) raise(); + + if (!m_focused && acceptsFocus() && m_click_focus) //check focus + focus(); menu().hide(); }