mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -05:00
Remember to handle rgb_visual case in surface_attach.
This commit is contained in:
parent
de31d5ca6f
commit
e10b828562
1 changed files with 2 additions and 0 deletions
|
|
@ -587,6 +587,8 @@ surface_attach(struct wl_client *client,
|
|||
es->visual = &ec->argb_visual;
|
||||
else if (visual == &ec->premultiplied_argb_visual.base)
|
||||
es->visual = &ec->premultiplied_argb_visual;
|
||||
else if (visual == &ec->rgb_visual.base)
|
||||
es->visual = &ec->rgb_visual;
|
||||
else
|
||||
/* FIXME: Smack client with an exception event */;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue