wmaker: do not remove Title Bar for windows that declare themselves as Toolbar or...
commit88352b72743a997122a83472f510e6dac14974ef
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 23 Nov 2014 21:54:30 +0000 (23 22:54 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:43:38 +0000 (23 22:43 +0000)
tree84b7196c88d61dbf6440bd071c9fe10c20c20184
parent3a15750ad5f2db191c2a73d7c14516bc2efe51ba
wmaker: do not remove Title Bar for windows that declare themselves as Toolbar or Tear-off menu

As pointed by Germán Arias, some windows in GNUstep did not have a title
bar because they declare themselves with the NET_WM type MENU.

A closer look at the spec shows that this type is meant for stuff like tear
off menus, and thus like for toolbar it is not expected that the
application does not want a titlebar, as opposite to DROPDOWN_MENU,
POPUP_MENU and COMBO.

So, this patch moves the case for TYPE_MENU to be the same as TYPE_TOOLBAR
and remove the flag that disables having a title bar.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/wmspec.c