mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
- Fixed incorrect focusing of application's windows after an unhide (sometimes
the incorrect window got focus instead of the apps's last focused window) - Unshade application's shaded windows when Dbl-MiddleClick-ing its appicon. (this is to be consistent with deminiaturizing application's miniwindows which also happens in this case, since shading is a form of miniaturization) - misc fixes
This commit is contained in:
@@ -1094,7 +1094,7 @@ parseCascade(WScreen *scr, WMenu *menu, FILE *file, char *file_name)
|
||||
char params[MAXLINE];
|
||||
char *line;
|
||||
|
||||
while (!IsEof(file)) {
|
||||
while (!feof(file)) {
|
||||
int lsize, ok;
|
||||
|
||||
ok = 0;
|
||||
@@ -1120,7 +1120,7 @@ parseCascade(WScreen *scr, WMenu *menu, FILE *file, char *file_name)
|
||||
} else {
|
||||
ok=1;
|
||||
}
|
||||
} while (!ok && !IsEof(file));
|
||||
} while (!ok && !feof(file));
|
||||
if (ok==2)
|
||||
continue;
|
||||
|
||||
@@ -1214,7 +1214,7 @@ readMenuFile(WScreen *scr, char *file_name)
|
||||
}
|
||||
}
|
||||
|
||||
while (!IsEof(file)) {
|
||||
while (!feof(file)) {
|
||||
if (!fgets(linebuf, MAXLINE, file))
|
||||
break;
|
||||
line = cropline(linebuf);
|
||||
@@ -1317,7 +1317,7 @@ readMenuPipe(WScreen *scr, char **file_name)
|
||||
}
|
||||
}
|
||||
|
||||
while (!IsEof(file)) {
|
||||
while (!feof(file)) {
|
||||
if (!fgets(linebuf, MAXLINE, file))
|
||||
break;
|
||||
line = cropline(linebuf);
|
||||
|
||||
Reference in New Issue
Block a user