mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
12
src/misc.c
12
src/misc.c
@@ -949,18 +949,6 @@ ExpandOptions(WScreen *scr, char *cmdline)
|
||||
}
|
||||
|
||||
|
||||
/* feof doesn't seem to work on pipes */
|
||||
int
|
||||
IsEof(FILE * stream)
|
||||
{
|
||||
static struct stat stinfo;
|
||||
|
||||
fstat(fileno(stream), &stinfo);
|
||||
return ((S_ISFIFO(stinfo.st_dev) && stinfo.st_size == 0) ||
|
||||
feof(stream));
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ParseWindowName(WMPropList *value, char **winstance, char **wclass, char *where)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user