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

@@ -16,6 +16,9 @@ Changes since version 0.64.0:
- fixed a memleak in the dialog panels. - fixed a memleak in the dialog panels.
- made "Keep on Top" in the dock/clip menu a checked menu entry. It's _much_ - made "Keep on Top" in the dock/clip menu a checked menu entry. It's _much_
easier to work with it this way. easier to work with it this way.
- 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.
Changes since version 0.63.1: Changes since version 0.63.1:

View File

@@ -731,7 +731,7 @@ main(int argc, char **argv)
else else
str = NULL; str = NULL;
if (str && sscanf(str, "%i.%i", &d, &s)==2) if (str && sscanf(str, ":%i.%i", &d, &s)==2)
multiHead = False; multiHead = False;
DisplayName = XDisplayName(DisplayName); DisplayName = XDisplayName(DisplayName);

View File

@@ -408,7 +408,7 @@ wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
} }
} else { } else {
int tmp_workspace = -1; int tmp_workspace = -1;
int tmp_level = -1; int tmp_level = INT_MIN; /* INT_MIN is never used by the window levels */
Bool check; Bool check;
check = False; check = False;
@@ -430,7 +430,10 @@ wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
wOLWMCheckClientHints(wwin); wOLWMCheckClientHints(wwin);
#endif /* OLWM_HINTS */ #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)) if (WFLAGP(wwin, floating))
*level = WMFloatingLevel; *level = WMFloatingLevel;
else if (WFLAGP(wwin, sunken)) else if (WFLAGP(wwin, sunken))