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:
parent
b098930e6d
commit
97b38c1950
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user