]> git.sur5r.net Git - i3/i3/commitdiff
Merge branch 'lex' into next
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 19 Sep 2009 17:06:57 +0000 (19:06 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 19 Sep 2009 17:06:57 +0000 (19:06 +0200)
src/handlers.c

index 5d171403d5703a7f3b2cd5879e072dc41f993152..516bb88ad1a77038c5afd74e77e5ffd5054c9194 100644 (file)
@@ -408,7 +408,7 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
                                     to_bottom = client->rect.height - event->event_y;
                                 resize_orientation_t orientation = O_VERTICAL;
                                 Container *con = client->container;
-                                int first, second;
+                                int first = 0, second = 0;
 
                                 LOG("click was %d px to the right, %d px to the left, %d px to top, %d px to bottom\n",
                                                 to_right, to_left, to_top, to_bottom);