xwm: Fix the window decoration hints.
authorDima Ryazanov <dima@gmail.com>
Mon, 4 May 2015 02:56:37 +0000 (19:56 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Fri, 15 May 2015 03:32:02 +0000 (20:32 -0700)
commitb0f5a25d16c18927fb9853c667132de63483dd54
treedea4fd957c703b43fb7385f0d69aefbf7820d0f8
parent0c944b07c451212bd287e79985a99333b8d4c368
xwm: Fix the window decoration hints.

Enable all hints by default. This fixes the "Maximize" button in apps that
don't set any hints - e.g., xclock or Firefox. (There's still a problem, though:
"decorate" is sometimes treated as a boolean, sometimes as a bitmask.)

Handle MWM_DECOR_ALL correctly. It looks like it's supposed to invert the values
of the rest of the flags.

Signed-off-by: Dima Ryazanov <dima@gmail.com>
Reviewed-By: Giulio Camuffo <giuliocamuffo@gmail.com>
xwayland/window-manager.c