[mutter] keybindings: Fix code style
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] keybindings: Fix code style
- Date: Thu, 22 May 2014 20:10:39 +0000 (UTC)
commit c45f616fdc742a0104708383cb68163b4d0a5146
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu May 22 15:44:34 2014 -0400
keybindings: Fix code style
src/core/keybindings.c | 34 ++++++++++++++++++++--------------
1 files changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index e21f03f..1772c25 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2516,21 +2516,27 @@ 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) {
- new_x = work_area.x + (to_right ?
- work_area.width - frame_rect.width :
- 0);
- } else {
- new_x = orig_x;
- }
+ if (xchange)
+ {
+ new_x = work_area.x + (to_right ?
+ work_area.width - frame_rect.width :
+ 0);
+ }
+ else
+ {
+ new_x = orig_x;
+ }
- if (ychange) {
- new_y = work_area.y + (to_bottom ?
- work_area.height - frame_rect.height :
- 0);
- } else {
- new_y = orig_y;
- }
+ if (ychange)
+ {
+ new_y = work_area.y + (to_bottom ?
+ work_area.height - frame_rect.height :
+ 0);
+ }
+ else
+ {
+ new_y = orig_y;
+ }
meta_window_move_frame (window,
TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]