simple-egl: Add keyboard fullscreen toggle
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 27 Jul 2012 14:18:13 +0000 (17:18 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Jul 2012 20:11:40 +0000 (16:11 -0400)
commit69f9840bed01a72d675447db25c438166f404809
tree520147e57c38f38b88a9827949452c0d39004d78
parent2995c517c58043ad8d30f923fb53b2630f1d7266
simple-egl: Add keyboard fullscreen toggle

Make simple-egl toggle the fullscreen state whenever the key F11 is
pressed. A sync callback is used to stop drawing while the surface has
not received the configure event, to prevent a buffer with the windowed
size to be attached to the surface after the set_fullscreen request.
clients/simple-egl.c