mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
output: Add output_is_usable() helper
This commit is contained in:
parent
fe7edf82d9
commit
6efc6a9db4
5 changed files with 20 additions and 18 deletions
|
|
@ -407,10 +407,9 @@ osd_update(struct server *server)
|
|||
struct output *output;
|
||||
wl_list_for_each(output, &server->outputs, link) {
|
||||
destroy_osd_nodes(output);
|
||||
if (!output->wlr_output->enabled) {
|
||||
continue;
|
||||
if (output_is_usable(output)) {
|
||||
display_osd(output);
|
||||
}
|
||||
display_osd(output);
|
||||
}
|
||||
|
||||
/* Outline current window */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue