"the least oversight" #1
The fixes a permanent (sync) button grab. Well, oversaw global buttonpresses. Let's wait for more to come ;-)
This commit is contained in:
parent
53bb2407c9
commit
1fc2602499
1 changed files with 6 additions and 2 deletions
|
@ -689,8 +689,12 @@ void BScreen::buttonPressEvent(XButtonEvent &be) {
|
||||||
imageControl().installRootColormap();
|
imageControl().installRootColormap();
|
||||||
|
|
||||||
Keys *keys = Fluxbox::instance()->keys();
|
Keys *keys = Fluxbox::instance()->keys();
|
||||||
keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP,
|
if (keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP,
|
||||||
0, be.time);
|
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) {
|
void BScreen::cycleFocus(int options, const ClientPattern *pat, bool reverse) {
|
||||||
|
|
Loading…
Reference in a new issue