From 44191d5ffca96f1b6a5c4234c2b03785d9b2ee06 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 3 Jan 2010 22:07:39 +0100 Subject: [PATCH] sighandler: last little style fixes --- src/sighandler.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sighandler.c b/src/sighandler.c index 61a3e129..b013c60d 100644 --- a/src/sighandler.c +++ b/src/sighandler.c @@ -78,7 +78,6 @@ static int sig_draw_window(xcb_connection_t *conn, xcb_window_t win, int width, return 1; } - /* * Handles keypresses of 'e' or 'r' to exit or restart i3 * @@ -116,8 +115,8 @@ static xcb_window_t open_input_window(xcb_connection_t *conn, Rect screen_rect, values[1] = 1; /* center each popup on the specified screen */ - uint32_t x = screen_rect.x + ((screen_rect.width / 2) - (width/2)), - y = screen_rect.y + ((screen_rect.height / 2) - (height/2)); + uint32_t x = screen_rect.x + ((screen_rect.width / 2) - (width / 2)), + y = screen_rect.y + ((screen_rect.height / 2) - (height / 2)); xcb_create_window(conn, XCB_COPY_FROM_PARENT, -- 2.39.5