summary refs log tree commit diff
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
commitc8b32df583b00e82aa411575bac8218d040d9f8b (patch)
treeff797501ed158968428797256498fb71a876a0c4
parentSample at the centre of the pixel in brot (diff)
downloadsrc-c8b32df583b00e82aa411575bac8218d040d9f8b.tar.gz
src-c8b32df583b00e82aa411575bac8218d040d9f8b.zip
Call status after draw in gfx frontends
-rw-r--r--bin/gfx/cocoa.m2
-rw-r--r--bin/gfx/x11.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/gfx/cocoa.m b/bin/gfx/cocoa.m
index 91fce3db..495b1f9f 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 524c8c63..82d5c833 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: {
torus.hJune McEnroe 2018-03-05Generate tagsJune McEnroe 2017-10-03Simplify Makefile with pattern ruleJune McEnroe 2017-09-27Remove leading blank linesJune McEnroe 2017-09-27Add merge.c to READMEJune McEnroe 2017-09-03Assert client coords are valid after movementJune McEnroe 2017-09-03Relicense AGPLJune McEnroe 2017-09-01Revert "Add client readOnly mode"June McEnroe 2017-09-01Remove clientRemove call from clientCastJune McEnroe 2017-09-01Add client readOnly modeJune McEnroe 2017-08-31Clean up merge toolJune McEnroe 2017-08-31Choose B for tiles with equal modify timesJune McEnroe 2017-08-31Add quick data file merge toolJune McEnroe 2017-08-30Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe