mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
handlers: geometry_request: Better debug output.
Previous output was confusing.
This commit is contained in:
parent
6750975b9f
commit
b18f004210
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
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",
|
sway_log(L_DEBUG, "geometry request for %ld %dx%d @ %d,%d", handle,
|
||||||
handle, geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h);
|
geometry->size.w, geometry->size.h, geometry->origin.x, geometry->origin.y);
|
||||||
// If the view is floating, then apply the geometry.
|
// If the view is floating, then apply the geometry.
|
||||||
// Otherwise save the desired width/height for the view.
|
// Otherwise save the desired width/height for the view.
|
||||||
// This will not do anything for the time being as WLC improperly sends geometry requests
|
// This will not do anything for the time being as WLC improperly sends geometry requests
|
||||||
|
|
Loading…
Reference in a new issue