]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Reset graphics mode before drawing throbber
authorRay Strode <rstrode@redhat.com>
Thu, 29 May 2008 05:40:55 +0000 (01:40 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 29 May 2008 05:40:55 +0000 (01:40 -0400)
This ensures keyboard input stays in raw mode

src/splash-plugins/spinfinity/throbber.c

index 131cdf26685610c9e18bf35de4f7aad74a4bc0e7..1711a3b1a870973667666f92a7b5aace65e3fd13 100644 (file)
@@ -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)