summaryrefslogtreecommitdiff
path: root/src/libsink/desktop.c
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-02 17:52:27 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-02 17:52:27 -0400
commit34933b7e1d682e67702999270cd3ceec0e167316 (patch)
treea6777f793fe658ad0facb85876e41cb66dbec2c2 /src/libsink/desktop.c
parentef3f687db0f53f026e808c4284e084255c9e9dd5 (diff)
downloadcamu-34933b7e1d682e67702999270cd3ceec0e167316.tar.gz
camu-34933b7e1d682e67702999270cd3ceec0e167316.tar.bz2
camu-34933b7e1d682e67702999270cd3ceec0e167316.zip
Update deps, build fixes, cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/libsink/desktop.c')
-rw-r--r--src/libsink/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsink/desktop.c b/src/libsink/desktop.c
index ccc34a3..e9ccedb 100644
--- a/src/libsink/desktop.c
+++ b/src/libsink/desktop.c
@@ -256,7 +256,7 @@ bool camu_desktop_connect(struct camu_desktop *c, str *name, struct nn_event_loo
bool camu_desktop_tick(struct camu_desktop *c)
{
bool force;
- if (camu_screen_tick(&c->scr, &force) && !c->should_quit) {
+ if (!c->should_quit && camu_screen_tick(&c->scr, &force)) {
if (!c->renderer->render(c->renderer, &c->scr, force)) {
log_error("render() failed, forcing exit.");
c->should_quit = 1;