summaryrefslogtreecommitdiff
path: root/src/core/display-private.h
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/display-private.h
parent89686c62f46565ae828112ae148f7f785fe5fcca (diff)
downloadmarco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.bz2
marco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/core/display-private.h')
-rw-r--r--src/core/display-private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/display-private.h b/src/core/display-private.h
index 0352c2ad..0fd040c5 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -177,11 +177,13 @@ struct _MetaDisplay {
guint grab_wireframe_active : 1;
guint grab_was_cancelled : 1; /* Only used in wireframe mode */
guint grab_frame_action : 1;
+ guint grab_last_user_action_was_snap : 1;
+ guint grab_threshold_movement_reached : 1;
MetaRectangle grab_wireframe_rect;
MetaRectangle grab_wireframe_last_xor_rect;
MetaRectangle grab_initial_window_pos;
int grab_initial_x, grab_initial_y; /* These are only relevant for */
- gboolean grab_threshold_movement_reached; /* raise_on_click == FALSE. */
+ /* raise_on_click == FALSE. */
MetaResizePopup* grab_resize_popup;
gint64 grab_last_moveresize_time;
guint32 grab_motion_notify_time;
@@ -189,7 +191,6 @@ struct _MetaDisplay {
int grab_wireframe_last_display_height;
GList* grab_old_window_stacking;
MetaEdgeResistanceData* grab_edge_resistance_data;
- unsigned int grab_last_user_action_was_snap;
/* we use property updates as sentinels for certain window focus events
* to avoid some race conditions on EnterNotify events