Hi all, I want to draw rectangle on root window (desktop) using xlib for linux platform.In XDrawRectangle() function if i give root window,then it is not drawing rectangle(If i create simplewindow it is drawing rectangle).if anybody knows please let me know. Thanks in advance Regards manjunath