diff options
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, ...) { | |||
119 | /* XXX:DEBUG:XXX */ | 119 | /* XXX:DEBUG:XXX */ |
120 | static void container_log(const swayc_t *c) { | 120 | static void container_log(const swayc_t *c) { |
121 | fprintf(stderr, "focus:%c|", | 121 | fprintf(stderr, "focus:%c|", |
122 | c->is_focused ? 'F' : // Focused | 122 | c == get_focused_view(&root_container) ? 'K': |
123 | c == active_workspace ? 'W' : // active workspace | 123 | c == get_focused_container(&root_container) ? 'F' : // Focused |
124 | c == swayc_active_workspace() ? 'W' : // active workspace | ||
124 | c == &root_container ? 'R' : // root | 125 | c == &root_container ? 'R' : // root |
125 | 'X');// not any others | 126 | 'X');// not any others |
126 | fprintf(stderr,"(%p)",c); | 127 | fprintf(stderr,"(%p)",c); |