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
Diffstat (limited to '')
-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: {
Hack clang into checking uiFmt format stringsJune McEnroe 2018-08-07Handle PART and QUIT without messagesJune McEnroe 2018-08-07Make safe filling the who bufferJune McEnroe 2018-08-07Add reverse and reset IRC formatting codesJune McEnroe 2018-08-06Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe 2018-08-04Handle /topicJune McEnroe