Skip to content

Commit

Permalink
Merge branch 'main' into lenemter/cleanup-delegate-actor
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter authored Dec 3, 2024
2 parents fbe848f + bb04c32 commit effff3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ShellClients/HideTracker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public class Gala.HideTracker : Object {
if (hide_timeout_id != 0) {
Source.remove (hide_timeout_id);
}

if (update_timeout_id != 0) {
Source.remove (update_timeout_id);
}
}

construct {
Expand Down Expand Up @@ -95,7 +99,7 @@ public class Gala.HideTracker : Object {
display.get_stage ().add_action_full ("panel-swipe-gesture", CAPTURE, pan_action);
}

//Can be removed with mutter > 45
#if !HAS_MUTTER45
private bool window_has_pointer () {
var cursor_tracker = display.get_cursor_tracker ();
Graphene.Point pointer_pos;
Expand All @@ -114,6 +118,7 @@ public class Gala.HideTracker : Object {
};
return graphene_window_rect.contains_point (pointer_pos);
}
#endif

private void track_focus_window (Meta.Window? window) {
if (window == null) {
Expand Down
2 changes: 2 additions & 0 deletions src/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,8 @@ namespace Gala {
case Meta.SizeChange.UNFULLSCREEN:
handle_fullscreen_window (window, which_change_local);
break;
default:
break;
}

size_change_completed (actor);
Expand Down

0 comments on commit effff3d

Please sign in to comment.