weston/shared
Marek Chalupa eaea470510 cairo-util: fix shadows for small clients
If the client is small (< 128 pixels in any ward),
then the shadows overlap and create dark lines behind clients.
This is a problem mosly with pop-up menues. The lines become observable
when the menu has less than three items. The other case is when
the client doesn't restrict its size when resizing (try
'weston-eventdemo --max-width=1 --max-height=1' for example)

This fixes a part of the bug:
https://bugs.freedesktop.org/show_bug.cgi?id=78511

v2:
  - rework computing of the size of corners
  - rewrite some comments
  - rename tile_mask to render_shadow (in separate patch)

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-11-19 15:46:30 +02:00
..
cairo-util.c cairo-util: fix shadows for small clients 2014-11-19 15:46:30 +02:00
cairo-util.h toytoolkit: rename tile_mask to render_shadow 2014-11-19 15:39:36 +02:00
config-parser.c tests: allow running make check without make install 2014-08-22 17:47:33 +03:00
config-parser.h tests: allow running make check without make install 2014-08-22 17:47:33 +03:00
frame.c clients: Maximize window when double touch on title bar 2014-09-22 10:19:44 +03:00
image-loader.c load_image: always print a message on failure if filename is not empty 2014-09-11 13:01:47 +03:00
image-loader.h
matrix.c
matrix.h
option-parser.c parse_options: fail on more malformed options 2014-09-11 12:36:55 +03:00
os-compatibility.c
os-compatibility.h
zalloc.h