main: Reload theme on video memory purge errors
The theme machinery uses FBOs in some cases (mainly for shadows) which need to be reloaded if we get a video memory purged error. https://bugzilla.gnome.org/show_bug.cgi?id=739178
This commit is contained in:
parent
2a7f9f70b8
commit
358f64d66b
@ -191,6 +191,8 @@ function _initializeUI() {
|
|||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
global.display.connect('gl-video-memory-purged', loadTheme);
|
||||||
|
|
||||||
// Provide the bus object for gnome-session to
|
// Provide the bus object for gnome-session to
|
||||||
// initiate logouts.
|
// initiate logouts.
|
||||||
EndSessionDialog.init();
|
EndSessionDialog.init();
|
||||||
|
Loading…
Reference in New Issue
Block a user