diff options
author | taiyu <[email protected]> | 2015-08-21 10:28:37 -0700 |
---|---|---|
committer | taiyu <[email protected]> | 2015-08-21 10:28:37 -0700 |
commit | 1a1ac64662a603fdeb7025bed3822e24f9158076 (patch) | |
tree | 4ac14ed2cb3942072824a3376337ea5492bf4e75 /sway/log.c | |
parent | 034358dbfd07e013417bafcbcc819ddad90a2f21 (diff) |
bugfixes, renames
Diffstat (limited to 'sway/log.c')
-rw-r--r-- | sway/log.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |