summary refs log tree commit diff
path: root/bin/gfx/x11.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-04-14 13:17:15 -0400
committerJune McEnroe <june@causal.agency>2018-04-14 13:17:15 -0400
commit38f1862ef072b07f917dce6996bbd75ee8a7bbf0 (patch)
treef3fe125a52529730d5990f61062ceca5209dc256 /bin/gfx/x11.c
parentSample at the centre of the pixel in brot (diff)
downloadsrc-38f1862ef072b07f917dce6996bbd75ee8a7bbf0.tar.gz
src-38f1862ef072b07f917dce6996bbd75ee8a7bbf0.zip
Call status after draw in gfx frontends
Diffstat (limited to 'bin/gfx/x11.c')
-rw-r--r--bin/gfx/x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gfx/x11.c b/bin/gfx/x11.c
index 108d6459..c1e6babd 100644
--- a/bin/gfx/x11.c
+++ b/bin/gfx/x11.c
@@ -104,8 +104,8 @@ int main(int argc, char *argv[]) {
                 KeySym sym = XLookupKeysym(&key, key.state & ShiftMask);
                 if (sym > 0x80) break;
                 if (!input(sym)) return EX_OK;
-                XStoreName(display, window, status());
                 drawWindow();
+                XStoreName(display, window, status());
             } break;
 
             case ConfigureNotify: {