mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
constraints: Remove unused variable
This commit is contained in:
parent
1a5132d391
commit
5d57a2594d
@ -767,8 +767,6 @@ constrain_modal_dialog (MetaWindow *window,
|
|||||||
y = parent->rect.y + (parent->rect.height / 2 - info->current.height / 2);
|
y = parent->rect.y + (parent->rect.height / 2 - info->current.height / 2);
|
||||||
if (parent->frame)
|
if (parent->frame)
|
||||||
{
|
{
|
||||||
MetaFrameBorders borders;
|
|
||||||
|
|
||||||
x += parent->frame->rect.x;
|
x += parent->frame->rect.x;
|
||||||
y += parent->frame->rect.y;
|
y += parent->frame->rect.y;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user