Skip to content

Commit

Permalink
Make log message in XdgToplevelDecorationV1::to_decorations_type cl…
Browse files Browse the repository at this point in the history
…earer

Co-authored-by: Alan Griffiths <[email protected]>
  • Loading branch information
tarek-y-ismail and AlanGriffiths authored Jul 3, 2024
1 parent a1555bc commit 9c189ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/frontend_wayland/xdg_decoration_unstable_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ auto mir::frontend::XdgToplevelDecorationV1::to_decorations_type(uint32_t mode)
pid_t pid;
wl_client_get_credentials(client->raw_client(), &pid, nullptr, nullptr); // null pointers are allowed

mir::log_warning("Client PID: %d, got invalid protocol mode (%d), defaulting to client side.", pid, mode);
mir::log_warning("Client PID: %d, attempted to set invalid zxdg_toplevel_decoration_v1 mode (%d), defaulting to client side.", pid, mode);

return DecorationStrategy::DecorationsType::csd;
}
Expand Down

0 comments on commit 9c189ee

Please sign in to comment.