Skip to content

Commit

Permalink
WindowCloneContainer: Fix crash on double unref
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Aug 16, 2024
1 parent 011682a commit 22dcf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/WindowCloneContainer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 22dcf9e

Please sign in to comment.