~plymouth-dev/plymouth/trunk

Viewing all changes in revision 1850.

  • Committer: Ray Strode
  • Author(s): Hans de Goede
  • Date: 2018-07-10 13:28:55 UTC
  • Revision ID: git-v1:447c783046a0e6bd0486e780f6a94396637a5bd4
main: Only activate renderers if the splash uses pixel-displays

Since commit eb147e52b123 ("renderer: support reactivating renderer without
closing it first"), the show_theme() call done by
toggle_between_splash_and_details() will reactivate the renderers after
switching to details mode, causing the drm renderer to switch the screen
from text to graphics mode hiding the details being logged on the console.

This commit fixes this by only calling ply_device_manager_activate_renderers()
and ply_device_manager_deactivate_renderers if the splash uses pixel-displays.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>

https://bugs.freedesktop.org/show_bug.cgi?id=107047

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: