[hackers] [st] set title before mapping window (thx Kamil Cholewiński). || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Sun, 22 May 2011 16:57:35 +0200 (CEST)

changeset: 198:2effc50d2c4f
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Sun May 22 16:57:27 2011 +0200
files: st.c
description:
set title before mapping window (thx Kamil Cholewiński).

diff -r 1eb3e1b6a8d0 -r 2effc50d2c4f st.c
--- a/st.c Sat May 14 17:47:37 2011 +0200
+++ b/st.c Sun May 22 16:57:27 2011 +0200
@@ -1632,9 +1632,9 @@
                 &(XColor){.red = 0xffff, .green = 0xffff, .blue = 0xffff},
                 &(XColor){.red = 0x0000, .green = 0x0000, .blue = 0x0000});
 
+ XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st");
         XMapWindow(xw.dpy, xw.win);
         xhints();
- XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st");
         XSync(xw.dpy, 0);
 }
 
Received on Sun May 22 2011 - 16:57:35 CEST

This archive was generated by hypermail 2.2.0 : Sun May 22 2011 - 17:00:10 CEST