From d2e2b04bfd505561981c9137bfc493bb8effe63e Mon Sep 17 00:00:00 2001 From: taiyu Date: Fri, 18 Sep 2015 06:52:04 -0700 Subject: minor fix --- sway/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/handlers.c') diff --git a/sway/handlers.c b/sway/handlers.c index 096df53c..15fa6521 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -331,7 +331,7 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier struct sway_binding *binding = mode->bindings->items[i]; if ((modifiers->mods ^ binding->modifiers) == 0) { - bool match; + bool match = false; int j; for (j = 0; j < binding->keys->length; ++j) { xkb_keysym_t *key = binding->keys->items[j]; -- cgit v1.2.3 From 6c33f8122a3c4bb8fc22129d1d2ad03f535885f7 Mon Sep 17 00:00:00 2001 From: taiyu Date: Tue, 22 Sep 2015 09:41:01 -0700 Subject: #184 --- sway/handlers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/handlers.c') diff --git a/sway/handlers.c b/sway/handlers.c index 096df53c..cef4a980 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -253,8 +253,8 @@ static void handle_view_focus(wlc_handle view, bool focus) { } static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry *geometry) { - sway_log(L_DEBUG, "geometry request %d x %d : %d x %d", - geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h); + sway_log(L_DEBUG, "geometry request for %ld %dx%d : %dx%d", + handle, geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h); // If the view is floating, then apply the geometry. // Otherwise save the desired width/height for the view. // This will not do anything for the time being as WLC improperly sends geometry requests -- cgit v1.2.3