summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-29 01:40:55 -0400
committerRay Strode <rstrode@redhat.com>2008-05-29 01:40:55 -0400
commitfee3d6d876220dccb17729845029f45150bcce1d (patch)
treefc3f3357b1ebc4c8b9df4878fbad00689bd439e8 /src
parent458b2c81e3bef517cdc60ecfd6e9a78e9b3ee399 (diff)
downloadplymouth-fee3d6d876220dccb17729845029f45150bcce1d.tar.gz
plymouth-fee3d6d876220dccb17729845029f45150bcce1d.tar.xz
plymouth-fee3d6d876220dccb17729845029f45150bcce1d.zip
Reset graphics mode before drawing throbber
This ensures keyboard input stays in raw mode
Diffstat (limited to 'src')
-rw-r--r--src/splash-plugins/spinfinity/throbber.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/splash-plugins/spinfinity/throbber.c b/src/splash-plugins/spinfinity/throbber.c
index 131cdf2..1711a3b 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)