keybindings: Fix code style

This commit is contained in:
Jasper St. Pierre 2014-05-22 15:44:34 -04:00
parent 9402691aaa
commit c45f616fdc

View File

@ -2516,19 +2516,25 @@ handle_move_to_corner_backend (MetaDisplay *display,
meta_window_get_frame_rect (window, &frame_rect);
meta_window_get_position (window, &orig_x, &orig_y);
if (xchange) {
if (xchange)
{
new_x = work_area.x + (to_right ?
work_area.width - frame_rect.width :
0);
} else {
}
else
{
new_x = orig_x;
}
if (ychange) {
if (ychange)
{
new_y = work_area.y + (to_bottom ?
work_area.height - frame_rect.height :
0);
} else {
}
else
{
new_y = orig_y;
}