From: Ray Strode Date: Thu, 29 May 2008 05:40:55 +0000 (-0400) Subject: Reset graphics mode before drawing throbber X-Git-Tag: 0.1.0~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee3d6d876220dccb17729845029f45150bcce1d;p=thirdparty%2Fplymouth.git Reset graphics mode before drawing throbber This ensures keyboard input stays in raw mode --- diff --git a/src/splash-plugins/spinfinity/throbber.c b/src/splash-plugins/spinfinity/throbber.c index 131cdf26..1711a3b1 100644 --- a/src/splash-plugins/spinfinity/throbber.c +++ b/src/splash-plugins/spinfinity/throbber.c @@ -130,6 +130,8 @@ animate_at_time (throbber_t *throbber, ply_image_t * const * frames; uint32_t *frame_data; + ply_window_set_mode (throbber->window, PLY_WINDOW_MODE_GRAPHICS); + number_of_frames = ply_array_get_size (throbber->frames); if (number_of_frames == 0)