mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Fixed 2 focus switching related bugs (Allan Peramaki <aperamak@cc.hut.fi>)
This commit is contained in:
@@ -116,6 +116,7 @@ Changes since version 0.80.2:
|
||||
- Updated Spanish translation of WPrefs (Alberto Gimenez <algibe@teleline.es>)
|
||||
- Fixed synchronization problem between hair cursor and mouse cursor in
|
||||
wmagnify with mouse cursor at the screen edge (Jon Diercks <jon@diercks.net>)
|
||||
- Fixed 2 focus switching related bugs (Allan Peramaki <aperamak@cc.hut.fi>)
|
||||
|
||||
|
||||
Changes since version 0.80.1:
|
||||
|
||||
@@ -2809,8 +2809,8 @@ wWindowResetMouseGrabs(WWindow *wwin)
|
||||
if (!WFLAGP(wwin, no_bind_mouse)) {
|
||||
/* grabs for Meta+drag */
|
||||
wHackedGrabButton(AnyButton, MOD_MASK, wwin->client_win,
|
||||
True, ButtonPressMask, GrabModeSync,
|
||||
GrabModeAsync, None, None);
|
||||
True, ButtonPressMask|ButtonReleaseMask,
|
||||
GrabModeSync, GrabModeAsync, None, None);
|
||||
}
|
||||
|
||||
if (!wwin->flags.focused && !WFLAGP(wwin, no_focusable)
|
||||
@@ -2818,8 +2818,8 @@ wWindowResetMouseGrabs(WWindow *wwin)
|
||||
/* the passive grabs to focus the window */
|
||||
/* if (wPreferences.focus_mode == WKF_CLICK) */
|
||||
XGrabButton(dpy, AnyButton, AnyModifier, wwin->client_win,
|
||||
True, ButtonPressMask, GrabModeSync, GrabModeAsync,
|
||||
None, None);
|
||||
True, ButtonPressMask|ButtonReleaseMask,
|
||||
GrabModeSync, GrabModeAsync, None, None);
|
||||
}
|
||||
XFlush(dpy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user