[openbox] I made a little modification on openbox!!

Pierre-Paul Lavoie ppl at nbnet.nb.ca
Thu Jan 2 12:25:17 EST 2003

On Thu, Jan 02, 2003 at 03:08:55PM +0800, d2002xx wrote:
> Hello everybody!!
> It's all about the toolbar: I removed the "label" and "workspace_label", and 
> added "clock2", which shows the state of CPU resource (well, it's not about 
> clock at all, I'm just too lazy to modify the header file again), and changed 
> something in "checkClock" to make the flicking problem in the clock in 
> toolbar minimal (I dunno how to do double buffer, yet)

Afaik, you simply create a pixmap of the required width/height.
Then you draw in that pixmap instead of the window. When you're
done, simply XCopyArea the pixmap to the window. You can use an
empty graphic context for the operation.

Have a good day,

More information about the openbox mailing list