diff options
Diffstat (limited to 'wayland/registry.c')
-rw-r--r-- | wayland/registry.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland/registry.c b/wayland/registry.c index 2d66b7eb..44afb146 100644 --- a/wayland/registry.c +++ b/wayland/registry.c | |||
@@ -18,6 +18,8 @@ static void display_handle_mode(void *data, struct wl_output *wl_output, | |||
18 | state->flags = flags; | 18 | state->flags = flags; |
19 | state->width = width; | 19 | state->width = width; |
20 | state->height = height; | 20 | state->height = height; |
21 | sway_log(L_DEBUG, "Got mode %dx%x:0x%X for output %p", | ||
22 | width, height, flags, data); | ||
21 | } | 23 | } |
22 | } | 24 | } |
23 | 25 | ||
@@ -34,6 +36,7 @@ static void display_handle_done(void *data, struct wl_output *wl_output) { | |||
34 | static void display_handle_scale(void *data, struct wl_output *wl_output, int32_t factor) { | 36 | static void display_handle_scale(void *data, struct wl_output *wl_output, int32_t factor) { |
35 | struct output_state *state = data; | 37 | struct output_state *state = data; |
36 | state->scale = factor; | 38 | state->scale = factor; |
39 | sway_log(L_DEBUG, "Got scale factor %d for output %p", factor, data); | ||
37 | } | 40 | } |
38 | 41 | ||
39 | static const struct wl_output_listener output_listener = { | 42 | static const struct wl_output_listener output_listener = { |