[gnome-shell] screenShield: Stop using an offscreen buffer for the arrow actor



commit a7562b41484307a6e7a1c0dc36ddde3579f98a3d
Author: Rui Matos <tiagomatos gmail com>
Date:   Sun May 29 19:42:25 2016 +0200

    screenShield: Stop using an offscreen buffer for the arrow actor
    
    This isn't a performance critical actor and the NVIDIA driver discards
    offscreen buffers in some cases which would require us to go through
    extra hoops to handle here which isn't worth it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739178

 js/ui/screenShield.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 1c1fad9..e4ffde5 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -349,7 +349,6 @@ const Arrow = new Lang.Class({
     _init: function(params) {
         this.parent(params);
         this.x_fill = this.y_fill = true;
-        this.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS);
 
         this._drawingArea = new St.DrawingArea();
         this._drawingArea.connect('repaint', Lang.bind(this, this._drawArrow));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]