diff options
author | rbuj <[email protected]> | 2021-12-22 09:28:01 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-01-27 22:37:45 +0100 |
commit | 81375be326a1a2ca9198bdb119d5ba8bfabdaa1f (patch) | |
tree | 6477099b5ca95ad731be1b4532abdc45c2d63f81 /src/core/constraints.c | |
parent | 89686c62f46565ae828112ae148f7f785fe5fcca (diff) | |
download | marco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.bz2 marco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/core/constraints.c')
-rw-r--r-- | src/core/constraints.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c index 90b5be15..a89ef138 100644 --- a/src/core/constraints.c +++ b/src/core/constraints.c @@ -628,8 +628,8 @@ update_onscreen_requirements (MetaWindow *window, */ old = window->require_fully_onscreen; window->require_fully_onscreen = - meta_rectangle_contained_in_region (info->usable_screen_region, - &info->current); + (meta_rectangle_contained_in_region (info->usable_screen_region, + &info->current) != FALSE); if (old ^ window->require_fully_onscreen) meta_topic (META_DEBUG_GEOMETRY, "require_fully_onscreen for %s toggled to %s\n", @@ -641,8 +641,8 @@ update_onscreen_requirements (MetaWindow *window, */ old = window->require_on_single_xinerama; window->require_on_single_xinerama = - meta_rectangle_contained_in_region (info->usable_xinerama_region, - &info->current); + (meta_rectangle_contained_in_region (info->usable_xinerama_region, + &info->current) != FALSE); if (old ^ window->require_on_single_xinerama) meta_topic (META_DEBUG_GEOMETRY, "require_on_single_xinerama for %s toggled to %s\n", @@ -660,8 +660,8 @@ update_onscreen_requirements (MetaWindow *window, titlebar_rect.height = info->borders->visible.top; old = window->require_titlebar_visible; window->require_titlebar_visible = - meta_rectangle_overlaps_with_region (info->usable_screen_region, - &titlebar_rect); + (meta_rectangle_overlaps_with_region (info->usable_screen_region, + &titlebar_rect) != FALSE); if (old ^ window->require_titlebar_visible) meta_topic (META_DEBUG_GEOMETRY, "require_titlebar_visible for %s toggled to %s\n", |