diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-09-29 07:43:50 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-09-29 07:43:50 -0400 |
commit | fe3b85d65ff84133cfbe43c11a5462beddbefaff (patch) | |
tree | 46356ae7b43ce6a2ea133771784a072294918f78 /sway/handlers.c | |
parent | d7f8bbd35323e9d83b10ab9fbd8715ec4f1aaa8c (diff) | |
parent | 494499617090eccf73a0c75380ca884e77548a9f (diff) |
Merge pull request #181 from taiyu-len/master
multi command keybinds
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 096df53c..cf07bc8b 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 @@ -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]; |