Hi,

I use rxvt-unicode compiled from the latest source. When I start urclock
for the first time, it always shows the current date in the window title.
If I kill the program and start it again - usually the title become totally
empty. Restart urclock several times - the title is still empty. Then
change the command line (this step is hard to reproduce), usually it helps
when I change font (e.g. from terminus to fixed), sometimes it helps to
add/remove -nodate option. Finally, for one (and only one!) time the window
appears with the title. Next restart empties the title again.

To "fix" the issue I've made a really dirty edit: I replaced if
(tmval->tm_yday != savedDay)
<http://cvs.schmorp.de/rxvt-unicode/src/rclock.C?revision=1.13&view=markup#l908>
with
"if (1)", and the problem has gone, now the title always contains the date,
no matter how many times the application was restarted.

If I understand the code correctly, savedDay is -1 on start, how tm_yday
may be equal to -1 I don't know... Anyway, the last time I did something in
C++ was 20 years ago when I was a student:)

And thank you for all your code)

Andrei Korshikov
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to