background: refresh after suspend on wayland

At the moment we only refresh after suspend on Xorg.

We need to do it on wayland, too.
This commit is contained in:
Ray Strode 2019-01-15 12:51:16 -05:00
parent 0ad02321de
commit 63b622ccea

View File

@ -399,9 +399,6 @@ get_gl_vendor (void)
gboolean
shell_util_need_background_refresh (void)
{
if (!clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
return FALSE;
if (g_strcmp0 (get_gl_vendor (), "NVIDIA Corporation") == 0)
return TRUE;