diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-17 16:26:26 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-17 16:51:33 +0200 |
commit | f39034a55f6303c4729a72722a7e1c34d93936af (patch) | |
tree | ee675dd29adbc678307fafe1a22163d8b2cf4c4e /sway/focus.c | |
parent | Add support for pango markup (diff) | |
download | sway-f39034a55f6303c4729a72722a7e1c34d93936af.tar.gz sway-f39034a55f6303c4729a72722a7e1c34d93936af.tar.zst sway-f39034a55f6303c4729a72722a7e1c34d93936af.zip |
Use correct format string for x86_64 and i686
Fix #587
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/focus.c b/sway/focus.c index 93391c63..cdc9a888 100644 --- a/sway/focus.c +++ b/sway/focus.c | |||
@@ -105,7 +105,7 @@ bool set_focused_container(swayc_t *c) { | |||
105 | active_ws_child_count = active_ws->children->length + active_ws->floating->length; | 105 | active_ws_child_count = active_ws->children->length + active_ws->floating->length; |
106 | } | 106 | } |
107 | 107 | ||
108 | swayc_log(L_DEBUG, c, "Setting focus to %p:%ld", c, c->handle); | 108 | swayc_log(L_DEBUG, c, "Setting focus to %p:%" PRIuPTR, c, c->handle); |
109 | 109 | ||
110 | // Get workspace for c, get that workspaces current focused container. | 110 | // Get workspace for c, get that workspaces current focused container. |
111 | swayc_t *workspace = swayc_active_workspace_for(c); | 111 | swayc_t *workspace = swayc_active_workspace_for(c); |
@@ -196,7 +196,7 @@ bool set_focused_container_for(swayc_t *a, swayc_t *c) { | |||
196 | return set_focused_container(c); | 196 | return set_focused_container(c); |
197 | } | 197 | } |
198 | 198 | ||
199 | sway_log(L_DEBUG, "Setting focus for %p:%ld to %p:%ld", | 199 | sway_log(L_DEBUG, "Setting focus for %p:%" PRIuPTR " to %p:%" PRIuPTR, |
200 | a, a->handle, c, c->handle); | 200 | a, a->handle, c, c->handle); |
201 | 201 | ||
202 | c->is_focused = true; | 202 | c->is_focused = true; |