<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><span style="font-weight: bold;">Hi jonas,</span><br>> Um... gcc doesn't complain, but I assume your program is not doing what you want it to do?<br><span style="font-weight: bold;">no, everything works as it should be, but you know there is many ways to do something, some are more efficient than other, sometime I'm not convinced what I'm doing it's the best way, and it's the case here. I would like some critics about how I'm using my structure, if for you when I do some </span><span>(* _mc)</span><span style="font-weight: bold;"> if it's look wise since I do many cast.</span><br><div><br>> Did you very recently start learning C</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">no, I'm
 fine with C (but not an expert too), as I said before, it's a matter of being more efficient</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">>Going with raw Xlib for a simple clock seems a bit overkill to me.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">I'm writing a window manager, with panel,clock and some other things integrated. In my last mail I tried to be concise. If you want I can send the files, but you know since I'm starting to use cairo and xlib since few days only, it's look messy... for example I didn't yet coded the
 destruction for all surfaces and some others...<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">-Nicoo</span><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div class="y_msg_container"><br></div> </div> </div>  </div></body></html>