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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user