summary refs log tree commit diff
path: root/bin/gfx/x11.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 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: {