weston/shared
Boyan Ding c4902124f9 cairo-util: Fix geometry for frames with buttons but without title
There exist frames which have buttons without title such as a simple
X application piped through xwayland which doesn't specify a title.
We draw the title bar with buttons, but hide it under the window
because geometry thinks a window needs titlebar only if it has title.

This patch change the condition, making it titlebar is needed if a
frame has title or has button(s), which makes more sense.

Signed-off-by: Boyan Ding <stu_dby@126.com>
2014-07-05 01:05:06 -07:00
..
cairo-util.c cairo-util: Don't show a resize cursor on edges when we're maximized 2014-04-30 21:02:37 -07:00
cairo-util.h xdg-shell: Add set_margin request 2014-02-06 13:05:03 -08:00
config-parser.c config: Don't crash if we don't have a config file 2013-09-26 16:24:33 -07:00
config-parser.h compositor: Log the full path of the config file we're using 2013-09-21 23:17:35 -07:00
frame.c cairo-util: Fix geometry for frames with buttons but without title 2014-07-05 01:05:06 -07:00
image-loader.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
image-loader.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
matrix.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
matrix.h sdk: be C++ friendly 2013-03-28 14:03:58 -04:00
option-parser.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
os-compatibility.c os: use posix_fallocate in creating sharable buffers 2013-12-02 16:20:27 -08:00
os-compatibility.h Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
zalloc.h Add zalloc(size_t) allocator function 2013-08-08 13:46:13 -07:00