hey chicken blood machine (CBM)!!,

THANKS A MILLION FOR THE HELP!!!


Well I just want to know a few things in your code.

1.
XSetWMHints(QX11Info::display(), static_cast<Window>(this->winId()), hints);

Please elaborate on the use of QX11Info::display(), and static_cast...
w.r.t. the given function XSetWMHints();

2.
#define QT_XA_MOTIF_WM_HINTS "_MOTIF_WM_HINTS"
#define QT_MWM_HINTS_FUNCTIONS 0x01
#define QT_MWM_HINTS_DECORATIONS 0x10
#define QT_MWM_ALL_FUNCS_WITHOUT_RESIZE 0x3C
#define QT_MWM_ALL_DECOR_WITHOUT_RESIZE_HANDLE 0x7A

These are all user defined Macros, right? and why the specific Hex values, where did you get these from?

Do reply,

Thanks once again

Nupul