wmaker: fix misuse of 'user_flags' instead of 'client_flags' for window attributes
commitfd1dd9c7eae188aa67bb3592b4f0037bdafc8ef9
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 10 May 2015 17:56:03 +0000 (10 19:56 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 15 May 2015 16:44:50 +0000 (15 17:44 +0100)
tree8fe6f805d42ae56379970772d0aaa985e1fb4aa2
parenta8f6abc9ea0350ddfc0b6b4a76cb92be4c89a1b0
wmaker: fix misuse of 'user_flags' instead of 'client_flags' for window attributes

The structure containing the information on windows contains 2 sets of
attributes, client_flags which contains those asked by the application
through Hints (like MWM Hints and others) and user_flags which was defined
to allow the user to override them.

Unfortunately many places of the code was using the wrong structure to save
the attributes to (for example by using the WSETUFLAG macro) which was
merely ok as the user_flags have priority, but when we want to provide a
clean consistent behaviour to users, we need to get things in the right
place.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/client.c
src/motif.c
src/window.c
src/winspector.c