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 b098930e6d
commit 97b38c1950

View File

@ -399,9 +399,6 @@ get_gl_vendor (void)
gboolean gboolean
shell_util_need_background_refresh (void) 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) if (g_strcmp0 (get_gl_vendor (), "NVIDIA Corporation") == 0)
return TRUE; return TRUE;