Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation warnings #2132

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ShellClients/HideTracker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -99,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 @@ -118,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
Loading