overview: Remove desktop fade logic
It existed to fade out/in `nautilus-desktop` for the overview, but it only ever worked for X11 sessions (`Meta.WindowType.DESKTOP`) and `nautilus-desktop` no longer exists anyway. While I had suggested extending it in the past (!1395), that work was never finished and since then the DING extension has implemented its own visibility toggling. There seems little value in keeping the old fade logic around in gnome-shell. Removing it actually fixes a bug with DING (https://launchpad.net/bugs/1965072). Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2244>
This commit is contained in:

committed by
Marge Bot

parent
c5f6482705
commit
2127222b39
@ -708,8 +708,6 @@ class ControlsManager extends St.Widget {
|
||||
|
||||
this._searchController.prepareToEnterOverview();
|
||||
this._workspacesDisplay.prepareToEnterOverview();
|
||||
if (!this._workspacesDisplay.activeWorkspaceHasMaximizedWindows())
|
||||
Main.overview.fadeOutDesktop();
|
||||
|
||||
this._stateAdjustment.value = ControlsState.HIDDEN;
|
||||
this._stateAdjustment.ease(state, {
|
||||
@ -731,8 +729,6 @@ class ControlsManager extends St.Widget {
|
||||
this._ignoreShowAppsButtonToggle = true;
|
||||
|
||||
this._workspacesDisplay.prepareToLeaveOverview();
|
||||
if (!this._workspacesDisplay.activeWorkspaceHasMaximizedWindows())
|
||||
Main.overview.fadeInDesktop();
|
||||
|
||||
this._stateAdjustment.ease(ControlsState.HIDDEN, {
|
||||
duration: Overview.ANIMATION_TIME,
|
||||
|
Reference in New Issue
Block a user