mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +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:
@@ -16,6 +16,9 @@ Changes since version 0.64.0:
|
||||
- fixed a memleak in the dialog panels.
|
||||
- made "Keep on Top" in the dock/clip menu a checked menu entry. It's _much_
|
||||
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:
|
||||
|
||||
@@ -731,7 +731,7 @@ main(int argc, char **argv)
|
||||
else
|
||||
str = NULL;
|
||||
|
||||
if (str && sscanf(str, "%i.%i", &d, &s)==2)
|
||||
if (str && sscanf(str, ":%i.%i", &d, &s)==2)
|
||||
multiHead = False;
|
||||
|
||||
DisplayName = XDisplayName(DisplayName);
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user