clients/window: drop support for rgb565
authorLeandro Ribeiro <leandrohr@riseup.net>
Wed, 4 Dec 2019 17:48:27 +0000 (14:48 -0300)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 11 Dec 2019 19:28:30 +0000 (19:28 +0000)
commitf0cd00a85511dc973925626cb71c15d514ec1b4d
tree56089570d96b01e85416bf8d83e467ea17e5883b
parent90eee632cab548b1a9276f73c6e748897370b02a
clients/window: drop support for rgb565

Remove member preferred_format from struct window and hardcode
ARGB32 pixel format for clients/window.

The member preferred_format was first added to allow hinting
of a preference for RGB565 when creating a window. But it is
not being used for a long time now. So it's safe to remove it
from the code, dropping support for RGB565 in clients/window.

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
clients/window.c
clients/window.h