1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

fixed some bugs

made click on windows that are unfocused windows focus them on sloppy/evil focus mode
This commit is contained in:
kojima
2001-01-05 22:39:01 +00:00
parent 83979b5f4c
commit 068c5a94b1
7 changed files with 11 additions and 17 deletions

View File

@@ -599,6 +599,7 @@ handleButtonPress(XEvent *event)
{
WObjDescriptor *desc;
WScreen *scr;
#ifdef DEBUG
L("got button press");
#endif
@@ -668,12 +669,12 @@ handleButtonPress(XEvent *event)
XAllowEvents(dpy, AsyncPointer, CurrentTime);
}
if (wPreferences.focus_mode == WKF_CLICK) {
/* if (wPreferences.focus_mode == WKF_CLICK) {*/
if (wPreferences.ignore_focus_click) {
XAllowEvents(dpy, AsyncPointer, CurrentTime);
}
XAllowEvents(dpy, ReplayPointer, CurrentTime);
}
/* }*/
XSync(dpy, 0);
} else if (desc->parent_type == WCLASS_APPICON
|| desc->parent_type == WCLASS_MINIWINDOW