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

- Fixed problem with GNOME apps that have windows which need to stay on the

desktop level.
- Fixed incorrect parsing of display and screen number from $DISPLAY.
This commit is contained in:
dan
2001-04-11 00:14:41 +00:00
parent e0235bb61b
commit 81ccbdc743
3 changed files with 9 additions and 3 deletions

View File

@@ -408,7 +408,7 @@ wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
}
} else {
int tmp_workspace = -1;
int tmp_level = -1;
int tmp_level = INT_MIN; /* INT_MIN is never used by the window levels */
Bool check;
check = False;
@@ -430,7 +430,10 @@ wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
wOLWMCheckClientHints(wwin);
#endif /* OLWM_HINTS */
if (tmp_level < 0) {
/* window levels are between INT_MIN+1 and INT_MAX, so if we still
* have INT_MIN that means that no window level was requested. --Dan
*/
if (tmp_level == INT_MIN) {
if (WFLAGP(wwin, floating))
*level = WMFloatingLevel;
else if (WFLAGP(wwin, sunken))