39 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 01f7df1e8a2de1340589dbcd47f98ff6a1744035 Mon Sep 17 00:00:00 2001
 | |
| From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
 | |
| Date: Wed, 15 Jan 2025 12:36:51 +0100
 | |
| Subject: [PATCH] window-list: Use correct params when re-tracking chrome
 | |
| 
 | |
| Since commit 981e8e42, we temporarily untrack the window-list actor
 | |
| while in the overview.
 | |
| 
 | |
| However as we don't pass pass the chrome parameters when re-tracking
 | |
| chrome, the window-list no longer contributes to struts or tracks
 | |
| fullscreen changes, whoops.
 | |
| 
 | |
| Make sure to pass the original parameters when re-tracking chrome
 | |
| to restore the expected behavior.
 | |
| 
 | |
| Fixes: 981e8e42 ("window-list: Untrack chrome while in overview")
 | |
| Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/550
 | |
| Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/379>
 | |
| ---
 | |
|  extensions/window-list/extension.js | 2 +-
 | |
|  1 file changed, 1 insertion(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
 | |
| index d20e5270..a768d735 100644
 | |
| --- a/extensions/window-list/extension.js
 | |
| +++ b/extensions/window-list/extension.js
 | |
| @@ -1029,7 +1029,7 @@ class WindowList extends St.Widget {
 | |
|                  this._updateKeyboardAnchor();
 | |
|              },
 | |
|              'hidden', () => {
 | |
| -                Main.layoutManager.trackChrome(this);
 | |
| +                Main.layoutManager.trackChrome(this, chromeOptions);
 | |
|                  this.visible = !this._monitor.inFullscreen;
 | |
|                  this._updateKeyboardAnchor();
 | |
|              }, this);
 | |
| -- 
 | |
| 2.47.1
 | |
| 
 |