mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
Fix trivial coding style breaches
This commit is contained in:
parent
8e1f115486
commit
5b34c81768
22 changed files with 151 additions and 91 deletions
|
|
@ -66,8 +66,8 @@ new_output_notify(struct wl_listener *listener, void *data)
|
|||
if (wlr_output->non_desktop) {
|
||||
wlr_log(WLR_DEBUG, "Not configuring non-desktop output");
|
||||
if (server->drm_lease_manager) {
|
||||
wlr_drm_lease_v1_manager_offer_output(server->drm_lease_manager,
|
||||
wlr_output);
|
||||
wlr_drm_lease_v1_manager_offer_output(
|
||||
server->drm_lease_manager, wlr_output);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -344,7 +344,7 @@ handle_output_layout_change(struct wl_listener *listener, void *data)
|
|||
struct server *server =
|
||||
wl_container_of(listener, server, output_layout_change);
|
||||
|
||||
bool done_changing = server->pending_output_config == NULL;
|
||||
bool done_changing = !server->pending_output_config;
|
||||
if (done_changing) {
|
||||
struct wlr_output_configuration_v1 *config =
|
||||
create_output_config(server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue