mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
overview: Use whole stage size for cover pane
We show a cover pane on top of the overview during transitions to prevent issues caused by clicks and mouseover events when the overview is not ready. Right now, this pane is only being shown on the primary monitor, which obviosly allows interactions to happen before the animations are finished on the secondary monitors. To fix this, use the size of the whole stage for the cover pane.
This commit is contained in:
parent
3a78695bd9
commit
02d06bb1f3
1 changed files with 2 additions and 4 deletions
|
|
@ -395,10 +395,8 @@ var Overview = new Lang.Class({
|
|||
if (!Main.layoutManager.primaryMonitor)
|
||||
return;
|
||||
|
||||
let workArea = Main.layoutManager.getWorkAreaForMonitor(Main.layoutManager.primaryIndex);
|
||||
|
||||
this._coverPane.set_position(0, workArea.y);
|
||||
this._coverPane.set_size(workArea.width, workArea.height);
|
||||
this._coverPane.set_position(0, 0);
|
||||
this._coverPane.set_size(global.screen_width, global.screen_height);
|
||||
|
||||
this._updateBackgrounds();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue