WindowCloneContainer: Fix double unref

This commit is contained in:
Leonhard Kargl 2024-08-16 23:56:57 +02:00 committed by Danielle Foré
parent 5509269f7b
commit 738a1e95f6

View File

@ -51,7 +51,7 @@ namespace Gala {
* The window that is currently selected via keyboard shortcuts. It is not
* necessarily the same as the active window.
*/
private WindowClone? current_window = null;
private unowned WindowClone? current_window = null;
public WindowCloneContainer (WindowManager wm, GestureTracker? gesture_tracker, float scale, bool overview_mode = false) {
Object (wm: wm, gesture_tracker: gesture_tracker, monitor_scale: scale, overview_mode: overview_mode);