forked from AuroraMiddleware/gtk
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:
parent
f6ef18ac74
commit
6b4dd4be6c
@ -1732,7 +1732,7 @@ edge_under_coordinates (GtkWindow *window,
|
|||||||
{
|
{
|
||||||
handle_h = MIN (RESIZE_HANDLE_SIZE, allocation.width / 2);
|
handle_h = MIN (RESIZE_HANDLE_SIZE, allocation.width / 2);
|
||||||
handle_v = MIN (RESIZE_HANDLE_SIZE, allocation.height / 2);
|
handle_v = MIN (RESIZE_HANDLE_SIZE, allocation.height / 2);
|
||||||
gtk_style_context_get_margin (context, &border);
|
get_shadow_width (window, &border);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user