sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit b18f0042103b8475b5be754bec9209c2ac512a56
parent 6750975b9f91d3e0aa632add0f56fc4611b0853a
Author: S. Christoffer Eliesen <christoffer@eliesen.no>
Date:   Mon, 28 Dec 2015 01:07:44 +0100

handlers: geometry_request: Better debug output.

Previous output was confusing.

Diffstat:
Msway/handlers.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sway/handlers.c b/sway/handlers.c @@ -279,8 +279,8 @@ static void handle_view_focus(wlc_handle view, bool focus) { } static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry *geometry) { - sway_log(L_DEBUG, "geometry request for %ld %dx%d : %dx%d", - handle, geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h); + sway_log(L_DEBUG, "geometry request for %ld %dx%d @ %d,%d", handle, + geometry->size.w, geometry->size.h, geometry->origin.x, geometry->origin.y); // If the view is floating, then apply the geometry. // Otherwise save the desired width/height for the view. // This will not do anything for the time being as WLC improperly sends geometry requests