mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
src/seat.c: provide NULL fallback for output name
This fixes a warning when doing a release build.
This commit is contained in:
parent
8709962068
commit
e9552fb661
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ map_touch_to_output(struct seat *seat, struct wlr_input_device *dev)
|
|||
}
|
||||
|
||||
char *output_name = touch->output_name ? touch->output_name : touch_config_output_name;
|
||||
wlr_log(WLR_INFO, "map touch to output %s\n", output_name);
|
||||
wlr_log(WLR_INFO, "map touch to output %s\n", output_name ? output_name : "unknown");
|
||||
map_input_to_output(seat, dev, output_name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue