EWMH: Ignore invalid _NET_WM_DESKTOP
Commit e291c0398
already made awesome ignore invalid values for _NET_WM_DESKTOP.
That commit just made it tag clients with the first tag if they used an invalid
value for this property.
This commit reverts 90% of that change. What is still left is the range
validation. Previously, awesome would untag a client completely when it got such
a _NET_WM_DESKTOP property / message. Now, such messages are just silently
ignored.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
2c434de6f2
commit
b8271845e3
7
ewmh.c
7
ewmh.c
|
@ -374,13 +374,6 @@ ewmh_process_desktop(client_t *c, uint32_t desktop)
|
|||
}
|
||||
else
|
||||
untag_client(c, globalconf.tags.tab[i]);
|
||||
else
|
||||
/* Value out of bounds, just give it the first tag */
|
||||
if (globalconf.tags.len > 0)
|
||||
{
|
||||
luaA_object_push(globalconf.L, globalconf.tags.tab[0]);
|
||||
tag_client(c);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue