This commit is contained in:
taiyu 2015-09-22 09:41:01 -07:00
parent d7f8bbd353
commit 6c33f8122a
2 changed files with 25 additions and 18 deletions

View file

@ -253,8 +253,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 %d x %d : %d x %d",
geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h);
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);
// 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