mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Remove code disabling focus handling for GNUstep apps
This commit is contained in:
@@ -160,7 +160,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
||||
|
||||
if (wwin == NULL) {
|
||||
XSetInputFocus(dpy, scr->no_focus_win, RevertToParent, timestamp);
|
||||
if (old_focused && !old_focused->flags.is_gnustep) {
|
||||
if (old_focused) {
|
||||
wWindowUnfocus(old_focused);
|
||||
}
|
||||
if (oapp) {
|
||||
@@ -174,7 +174,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
||||
wKWMSendEventMessage(NULL, WKWMFocusWindow);
|
||||
#endif
|
||||
return;
|
||||
} else if (old_scr != scr && old_focused && !old_focused->flags.is_gnustep) {
|
||||
} else if (old_scr != scr && old_focused) {
|
||||
wWindowUnfocus(old_focused);
|
||||
}
|
||||
|
||||
@@ -237,8 +237,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
||||
}
|
||||
}
|
||||
|
||||
if (!wwin->flags.is_gnustep)
|
||||
wWindowFocus(wwin, focused);
|
||||
wWindowFocus(wwin, focused);
|
||||
|
||||
if (napp && !wasfocused) {
|
||||
#ifdef USER_MENU
|
||||
|
||||
Reference in New Issue
Block a user