From 1a1ac64662a603fdeb7025bed3822e24f9158076 Mon Sep 17 00:00:00 2001 From: taiyu Date: Fri, 21 Aug 2015 10:28:37 -0700 Subject: bugfixes, renames --- sway/log.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sway/log.c') diff --git a/sway/log.c b/sway/log.c index a1e89bad..4a047eef 100644 --- a/sway/log.c +++ b/sway/log.c @@ -119,8 +119,9 @@ bool sway_assert(bool condition, const char* format, ...) { /* XXX:DEBUG:XXX */ static void container_log(const swayc_t *c) { fprintf(stderr, "focus:%c|", - c->is_focused ? 'F' : // Focused - c == active_workspace ? 'W' : // active workspace + c == get_focused_view(&root_container) ? 'K': + c == get_focused_container(&root_container) ? 'F' : // Focused + c == swayc_active_workspace() ? 'W' : // active workspace c == &root_container ? 'R' : // root 'X');// not any others fprintf(stderr,"(%p)",c); -- cgit v1.2.3