mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
various bug fixes
This commit is contained in:
16
src/event.c
16
src/event.c
@@ -1025,16 +1025,16 @@ handleEnterNotify(XEvent *event)
|
||||
* is for the frame window and window doesn't have focus yet */
|
||||
if ((wPreferences.focus_mode==WKF_POINTER
|
||||
|| wPreferences.focus_mode==WKF_SLOPPY)
|
||||
&& wwin->frame->core->window==event->xcrossing.window
|
||||
&& wwin->frame->core->window==event->xcrossing.window
|
||||
&& !scr->flags.doing_alt_tab) {
|
||||
|
||||
if (!wwin->flags.focused)
|
||||
|
||||
if (!wwin->flags.focused && !WFLAGP(wwin, no_focusable))
|
||||
wSetFocusTo(scr, wwin);
|
||||
|
||||
if (scr->autoRaiseTimer)
|
||||
WMDeleteTimerHandler(scr->autoRaiseTimer);
|
||||
scr->autoRaiseTimer = NULL;
|
||||
|
||||
|
||||
if (scr->autoRaiseTimer)
|
||||
WMDeleteTimerHandler(scr->autoRaiseTimer);
|
||||
scr->autoRaiseTimer = NULL;
|
||||
|
||||
if (wPreferences.raise_delay && !WFLAGP(wwin, no_focusable)) {
|
||||
scr->autoRaiseWindow = wwin->frame->core->window;
|
||||
scr->autoRaiseTimer
|
||||
|
||||
Reference in New Issue
Block a user