window: Fix a compiler warning
This commit is contained in:
parent
f28fed51da
commit
4366687b95
@ -5831,7 +5831,7 @@ meta_window_get_outer_rect (const MetaWindow *window,
|
|||||||
|
|
||||||
if (window->has_custom_frame_extents)
|
if (window->has_custom_frame_extents)
|
||||||
{
|
{
|
||||||
GtkBorder *extents = &window->custom_frame_extents;
|
const GtkBorder *extents = &window->custom_frame_extents;
|
||||||
rect->x += extents->left;
|
rect->x += extents->left;
|
||||||
rect->y += extents->top;
|
rect->y += extents->top;
|
||||||
rect->width -= extents->left + extents->right;
|
rect->width -= extents->left + extents->right;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user