mirror of
https://github.com/swaywm/sway
synced 2024-11-18 04:33:59 +01:00
remove verbose commit logging
This commit is contained in:
parent
a27736adcd
commit
41e71d950a
@ -55,8 +55,6 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
||||
struct sway_wl_shell_surface *sway_surface =
|
||||
wl_container_of(listener, sway_surface, commit);
|
||||
struct sway_view *view = sway_surface->view;
|
||||
sway_log(L_DEBUG, "wl_shell surface commit %dx%d",
|
||||
sway_surface->pending_width, sway_surface->pending_height);
|
||||
// NOTE: We intentionally discard the view's desired width here
|
||||
// TODO: Let floating views do whatever
|
||||
view->width = sway_surface->pending_width;
|
||||
|
@ -61,8 +61,6 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
||||
struct sway_xdg_surface_v6 *sway_surface =
|
||||
wl_container_of(listener, sway_surface, commit);
|
||||
struct sway_view *view = sway_surface->view;
|
||||
sway_log(L_DEBUG, "xdg surface commit %dx%d",
|
||||
sway_surface->pending_width, sway_surface->pending_height);
|
||||
// NOTE: We intentionally discard the view's desired width here
|
||||
// TODO: Let floating views do whatever
|
||||
view->width = sway_surface->pending_width;
|
||||
|
@ -84,8 +84,6 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
||||
struct sway_xwayland_surface *sway_surface =
|
||||
wl_container_of(listener, sway_surface, commit);
|
||||
struct sway_view *view = sway_surface->view;
|
||||
sway_log(L_DEBUG, "xwayland surface commit %dx%d",
|
||||
sway_surface->pending_width, sway_surface->pending_height);
|
||||
// NOTE: We intentionally discard the view's desired width here
|
||||
// TODO: Let floating views do whatever
|
||||
view->width = sway_surface->pending_width;
|
||||
|
Loading…
Reference in New Issue
Block a user