Fix Chrome group not to interfere with drag-and-drop
Drag and drop was not working since the (non-reactive, invisible) chrome group was on top of most of the screen. Explicitly set a 0x0 size on that group to resolve the problem.
This commit is contained in:
parent
7af940f7ea
commit
0c7b983b10
@ -20,7 +20,8 @@ Chrome.prototype = {
|
||||
_init: function() {
|
||||
let global = Shell.Global.get();
|
||||
|
||||
this.actor = new Clutter.Group();
|
||||
// The group itself has zero size so it doesn't interfere with DND
|
||||
this.actor = new Clutter.Group({ width: 0, height: 0 });
|
||||
global.stage.add_actor(this.actor);
|
||||
this.nonOverlayActor = new Clutter.Group();
|
||||
this.actor.add_actor(this.nonOverlayActor);
|
||||
|
Loading…
Reference in New Issue
Block a user