summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 1e9ab98e..146dde9c 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -7286,7 +7286,7 @@ meta_window_titlebar_is_onscreen (MetaWindow *window)
gboolean is_onscreen;
const int min_height_needed = 8;
- const int min_width_percent = 0.5;
+ const float min_width_percent = 0.5;
const int min_width_absolute = 50;
/* Titlebar can't be offscreen if there is no titlebar... */