Skip to content

Commit bb04c32

Browse files
authored
Fix compilation warnings (#2132)
1 parent ce3389e commit bb04c32

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/ShellClients/HideTracker.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public class Gala.HideTracker : Object {
9999
display.get_stage ().add_action_full ("panel-swipe-gesture", CAPTURE, pan_action);
100100
}
101101

102-
//Can be removed with mutter > 45
102+
#if !HAS_MUTTER45
103103
private bool window_has_pointer () {
104104
var cursor_tracker = display.get_cursor_tracker ();
105105
Graphene.Point pointer_pos;
@@ -118,6 +118,7 @@ public class Gala.HideTracker : Object {
118118
};
119119
return graphene_window_rect.contains_point (pointer_pos);
120120
}
121+
#endif
121122

122123
private void track_focus_window (Meta.Window? window) {
123124
if (window == null) {

src/WindowManager.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,8 @@ namespace Gala {
13001300
case Meta.SizeChange.UNFULLSCREEN:
13011301
handle_fullscreen_window (window, which_change_local);
13021302
break;
1303+
default:
1304+
break;
13031305
}
13041306

13051307
size_change_completed (actor);

0 commit comments

Comments
 (0)