gtkwindow: Use shadow border when calculating resize areas positions

This way resize areas are correctly positioned right outside the visible
window edge on all sides.
This commit is contained in:
Carlos Garnacho 2017-12-09 17:33:44 +01:00
parent f6ef18ac74
commit 6b4dd4be6c

View File

@ -1732,7 +1732,7 @@ edge_under_coordinates (GtkWindow *window,
{
handle_h = MIN (RESIZE_HANDLE_SIZE, allocation.width / 2);
handle_v = MIN (RESIZE_HANDLE_SIZE, allocation.height / 2);
gtk_style_context_get_margin (context, &border);
get_shadow_width (window, &border);
}
else
{