Client: Fixes details in client_set_rule
This commit is contained in:
parent
5d7f4a2382
commit
ec2c2f6337
@ -1068,6 +1068,14 @@ client_set_rules(Client *c)
|
||||
client_maximize(c);
|
||||
c->flags |= MaxFlag;
|
||||
}
|
||||
|
||||
if(c->tag != seltag[selscreen])
|
||||
{
|
||||
tags[c->screen][c->tag].request_update = True;
|
||||
client_focus(NULL);
|
||||
}
|
||||
|
||||
tags[c->screen][c->tag].layout.func(c->screen);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -200,9 +200,8 @@
|
||||
[rules]
|
||||
# Example of rule for Mplayer
|
||||
[rule]
|
||||
|
||||
class = "MPlayer" # First part of WM_CLASS
|
||||
instance = "xv" # Seconf part of WM_CLASS, not needed if first part is correct
|
||||
instance = "xv" # First part of WM_CLASS
|
||||
class = "MPlayer" # Seconf part of WM_CLASS, not needed if first part is correct
|
||||
# role = "" # WM_WINDOW_ROLE
|
||||
screen = 0 # Screen to use
|
||||
tag = 2 # Tag number of apps
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user