all repos — fluxbox @ 1fc2602499d43d6e563a1281f8e13405000849ee

custom fork of the fluxbox windowmanager

"the least oversight" #1

The fixes a permanent (sync) button grab.

Well, oversaw global buttonpresses.
Let's wait for more to come ;-)
Thomas Lübking thomas.luebking@gmail.com
commit

1fc2602499d43d6e563a1281f8e13405000849ee

parent

53bb2407c918e1f5b8cf88aa87ec76a2b66f76e2

1 files changed, 6 insertions(+), 2 deletions(-)

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

@@ -689,8 +689,12 @@ if (be.button == 1 && !isRootColormapInstalled())

imageControl().installRootColormap(); Keys *keys = Fluxbox::instance()->keys(); - keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP, - 0, be.time); + if (keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP, + 0, be.time)) { + XAllowEvents(Fluxbox::instance()->display(), SyncPointer, CurrentTime); + } else { + XAllowEvents(Fluxbox::instance()->display(), ReplayPointer, CurrentTime); + } } void BScreen::cycleFocus(int options, const ClientPattern *pat, bool reverse) {