projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a7f5e
)
Bugfix: letting XmbSetWMProperties set the windowtitle causes a memleak with some...
author
Nikolas Garofil
<garo@dunaldi.garofil.be>
Sat, 21 Nov 2009 22:58:02 +0000
(23:58 +0100)
committer
Nikolas Garofil
<garo@dunaldi.garofil.be>
Sat, 21 Nov 2009 22:58:02 +0000
(23:58 +0100)
src/x11.c
patch
|
blob
|
history
diff --git
a/src/x11.c
b/src/x11.c
index
f9cf35a
..
80c02b3
100644
(file)
--- a/
src/x11.c
+++ b/
src/x11.c
@@
-274,8
+274,9
@@
void init_window(int own_window, int w, int h, int set_trans, int back_colour,
wmHint.initial_state = NormalState;
}
- XmbSetWMProperties(display, window.window, window.title, NULL, argv,
+ XmbSetWMProperties(display, window.window, NULL, NULL, argv,
argc, NULL, &wmHint, &classHint);
+ XStoreName(display, window.window, window.title);
/* Sets an empty WM_PROTOCOLS property */
XSetWMProtocols(display, window.window, NULL, 0);