diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-12-28 01:07:44 +0100 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-12-28 14:58:17 +0100 |
commit | b18f0042103b8475b5be754bec9209c2ac512a56 (patch) | |
tree | e2b6cf26300cf6b1ef1f6fe333a47d6b165e51fe | |
parent | arrange_windows_r: Round pixels to match reality, fixes calculations. (diff) | |
download | sway-b18f0042103b8475b5be754bec9209c2ac512a56.tar.gz sway-b18f0042103b8475b5be754bec9209c2ac512a56.tar.zst sway-b18f0042103b8475b5be754bec9209c2ac512a56.zip |
handlers: geometry_request: Better debug output.
Previous output was confusing.
-rw-r--r-- | sway/handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 751e894c..b8bd9eff 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -279,8 +279,8 @@ static void handle_view_focus(wlc_handle view, bool focus) { | |||
279 | } | 279 | } |
280 | 280 | ||
281 | static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry *geometry) { | 281 | static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry *geometry) { |
282 | sway_log(L_DEBUG, "geometry request for %ld %dx%d : %dx%d", | 282 | sway_log(L_DEBUG, "geometry request for %ld %dx%d @ %d,%d", handle, |
283 | handle, geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h); | 283 | geometry->size.w, geometry->size.h, geometry->origin.x, geometry->origin.y); |
284 | // If the view is floating, then apply the geometry. | 284 | // If the view is floating, then apply the geometry. |
285 | // Otherwise save the desired width/height for the view. | 285 | // Otherwise save the desired width/height for the view. |
286 | // This will not do anything for the time being as WLC improperly sends geometry requests | 286 | // This will not do anything for the time being as WLC improperly sends geometry requests |