mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Remove code disabling focus handling for GNUstep apps
This commit is contained in:
@@ -3,6 +3,9 @@ Changes since version 0.63.1:
|
|||||||
- fixed messup in get-{wings,wutil,wraster}-flags
|
- fixed messup in get-{wings,wutil,wraster}-flags
|
||||||
- fixed #wmdatadir# substitution in wmaker.inst
|
- fixed #wmdatadir# substitution in wmaker.inst
|
||||||
(Seiichi SATO <sato@cvs-net.co.jp>)
|
(Seiichi SATO <sato@cvs-net.co.jp>)
|
||||||
|
- Removed spurious focus disabling for GNUstep applications - but retain
|
||||||
|
code that lets GNUstep apps control their window titlebar.
|
||||||
|
(Richard Frith-Macdonald <rfm@gnu.org>)
|
||||||
|
|
||||||
|
|
||||||
Changes since version 0.63.0:
|
Changes since version 0.63.0:
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
|||||||
|
|
||||||
if (wwin == NULL) {
|
if (wwin == NULL) {
|
||||||
XSetInputFocus(dpy, scr->no_focus_win, RevertToParent, timestamp);
|
XSetInputFocus(dpy, scr->no_focus_win, RevertToParent, timestamp);
|
||||||
if (old_focused && !old_focused->flags.is_gnustep) {
|
if (old_focused) {
|
||||||
wWindowUnfocus(old_focused);
|
wWindowUnfocus(old_focused);
|
||||||
}
|
}
|
||||||
if (oapp) {
|
if (oapp) {
|
||||||
@@ -174,7 +174,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
|||||||
wKWMSendEventMessage(NULL, WKWMFocusWindow);
|
wKWMSendEventMessage(NULL, WKWMFocusWindow);
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
} else if (old_scr != scr && old_focused && !old_focused->flags.is_gnustep) {
|
} else if (old_scr != scr && old_focused) {
|
||||||
wWindowUnfocus(old_focused);
|
wWindowUnfocus(old_focused);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -237,7 +237,6 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wwin->flags.is_gnustep)
|
|
||||||
wWindowFocus(wwin, focused);
|
wWindowFocus(wwin, focused);
|
||||||
|
|
||||||
if (napp && !wasfocused) {
|
if (napp && !wasfocused) {
|
||||||
|
|||||||
Reference in New Issue
Block a user