]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/osd.c: Hide OSD when there are no views on osd_update
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 15 Jun 2022 01:28:08 +0000 (03:28 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 15 Jun 2022 15:14:02 +0000 (16:14 +0100)
src/osd.c

index 153f53796bf10e52f451c92573eb2acc53d64372..38803a16370efae9dc804900e82a1cfde465f17e 100644 (file)
--- a/src/osd.c
+++ b/src/osd.c
@@ -116,6 +116,7 @@ void
 osd_update(struct server *server)
 {
        if (wl_list_empty(&server->views)) {
+               osd_finish(server);
                return;
        }