forgot to check if perapp settings said to put window on all desktops

This commit is contained in:
Mikael Magnusson 2006-08-19 17:50:12 +00:00
parent 34269a34e1
commit 39f6b8ca71
2 changed files with 3 additions and 1 deletions

View file

@ -359,7 +359,8 @@ void client_manage(Window window)
if (settings->fullscreen != -1)
client_fullscreen(self, !!settings->fullscreen, TRUE);
if (settings->desktop < screen_num_desktops)
if (settings->desktop < screen_num_desktops
|| settings->desktop == DESKTOP_ALL)
client_set_desktop(self, settings->desktop, FALSE);
if (settings->layer > -2 && settings->layer < 2)

View file

@ -133,6 +133,7 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc,
settings->name = name;
else
settings->name = NULL;
if (class_set)
settings->class = class;
else