WindowCloneContainer: Fix double unref

This commit is contained in:
Leonhard Kargl 2024-08-16 23:56:57 +02:00
parent 011682a497
commit 30cb69d7e8

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);