From 38f1862ef072b07f917dce6996bbd75ee8a7bbf0 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 14 Apr 2018 13:17:15 -0400 Subject: Call status after draw in gfx frontends --- bin/gfx/cocoa.m | 2 +- bin/gfx/x11.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/gfx/cocoa.m b/bin/gfx/cocoa.m index 4837a386..54f39e62 100644 --- a/bin/gfx/cocoa.m +++ b/bin/gfx/cocoa.m @@ -95,8 +95,8 @@ if (!input(in)) { [NSApp terminate: self]; } - [self setWindowTitle]; [self draw]; + [self setWindowTitle]; } } @end 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: { -- cgit 1.4.1