commit | cd186fbfaf88003175346644d077efa7e70627a2 | [log] [tgz] |
---|---|---|
author | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | Fri Apr 04 10:04:18 2014 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sun Apr 06 22:37:45 2014 -0700 |
tree | 702368a666ccee7da888bc7e7f32bca010c63dcf | |
parent | 27efc0653026383f880dd101ed67163e1868fe6a [diff] |
toytoolkit: match parent surface type when adding a subsurface When adding a subsurface (to display a tooltip) in toytoolkit, we now get the parent window surface type (SHM or EGL) and define the new surface type as the same. This fixes crashes with tooltips in cases like having Cairo-EGL available but running the X11 compositor. Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>