1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

added configurable cursor path

added some GNUstep support code
This commit is contained in:
kojima
2000-03-03 20:55:35 +00:00
parent d97997b5e9
commit 41334b84d5
11 changed files with 372 additions and 13 deletions

View File

@@ -160,7 +160,7 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
if (wwin == NULL) {
XSetInputFocus(dpy, scr->no_focus_win, RevertToParent, timestamp);
if (old_focused) {
if (old_focused && !old_focused->flags.is_gnustep) {
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) {
} else if (old_scr != scr && old_focused && !old_focused->flags.is_gnustep) {
wWindowUnfocus(old_focused);
}
@@ -237,7 +237,8 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
}
}
wWindowFocus(wwin, focused);
if (!wwin->flags.is_gnustep)
wWindowFocus(wwin, focused);
if (napp && !wasfocused) {
#ifdef USER_MENU