summaryrefslogtreecommitdiff
path: root/src/core/edge-resistance.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 09:28:01 +0100
committerraveit65 <[email protected]>2022-01-27 22:37:45 +0100
commit81375be326a1a2ca9198bdb119d5ba8bfabdaa1f (patch)
tree6477099b5ca95ad731be1b4532abdc45c2d63f81 /src/core/edge-resistance.c
parent89686c62f46565ae828112ae148f7f785fe5fcca (diff)
downloadmarco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.bz2
marco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/core/edge-resistance.c')
-rw-r--r--src/core/edge-resistance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/edge-resistance.c b/src/core/edge-resistance.c
index d8a643a6..96c0055b 100644
--- a/src/core/edge-resistance.c
+++ b/src/core/edge-resistance.c
@@ -1161,7 +1161,7 @@ meta_window_edge_resistance_for_move (MetaWindow *window,
proposed_outer.y += (*new_y - old_y);
new_outer = proposed_outer;
- window->display->grab_last_user_action_was_snap = snap;
+ window->display->grab_last_user_action_was_snap = (snap != FALSE);
is_resize = FALSE;
if (apply_edge_resistance_to_each_side (window->display,
window,
@@ -1259,7 +1259,7 @@ meta_window_edge_resistance_for_resize (MetaWindow *window,
proposed_outer_width,
proposed_outer_height);
- window->display->grab_last_user_action_was_snap = snap;
+ window->display->grab_last_user_action_was_snap = (snap != FALSE);
is_resize = TRUE;
if (apply_edge_resistance_to_each_side (window->display,
window,