Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217)
commit2ac95b4ae8b7a4ade54810eec1f2802dc8171730
authorUli Schlachter <psychon@znc.in>
Sat, 8 Mar 2014 14:33:34 +0000 (8 15:33 +0100)
committerUli Schlachter <psychon@znc.in>
Sat, 8 Mar 2014 14:33:34 +0000 (8 15:33 +0100)
tree61685dc45ca8ae9f19ab515c4da7bb1a1a5f6b4a
parent1b21dce46c49f5cbe4f34d6461c5f897d18f59ac
Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217)

Instead of having the C code mess with which tags are selected, we now emit a
signal on the tag that says that something requested it to be selected. Lua can
then handle this by only switching tags on the correct monitor and by updating
the focus history correctly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
ewmh.c
lib/awful/tag.lua.in
objects/tag.c
objects/tag.h