aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Gill <richard@houbathecat.fr>2021-05-13 23:12:27 +0200
committerDavid Robillard <d@drobilla.net>2021-05-14 13:15:09 -0400
commit07ba65842428ad50367847c7236881d814620ef4 (patch)
tree8b936da06fcfb264808f736a8e4fef6513723582 /src
parentd99c49e6916a182ce1b3c682fc963b4e4e9cc05f (diff)
downloadpugl-07ba65842428ad50367847c7236881d814620ef4.tar.gz
pugl-07ba65842428ad50367847c7236881d814620ef4.tar.bz2
pugl-07ba65842428ad50367847c7236881d814620ef4.zip
Remove redundant conditional
Diffstat (limited to 'src')
-rw-r--r--src/x11.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/x11.c b/src/x11.c
index 50695ff..15f9e92 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -1079,11 +1079,7 @@ flushExposures(PuglWorld* const world)
view->backend->leave(view, &expose.expose);
} else if (configure.type) {
view->backend->enter(view, NULL);
-
- if (configure.type) {
- puglConfigure(view, &configure);
- }
-
+ puglConfigure(view, &configure);
view->backend->leave(view, NULL);
}
}