to reproduce the bug as previously stated set WM_PROTOCOLS with WM_DELETE_WINDOW you can do that like this
Atom delAtom = XInternAtom ( display, "WM_DELETE_WINDOW", False ); XSetWMProtocols(display, __win, &delAtom, 1);
you should see only two widgets a maximise and minimise widget, the buttons DO function as they should but they look incorrect see attached
to reproduce the bug as previously stated set WM_PROTOCOLS with WM_DELETE_WINDOW
you can do that like this
Atom delAtom = XInternAtom ( display, "WM_DELETE_WINDOW", False ); s(display, __win, &delAtom, 1);
XSetWMProtocol
you should see only two widgets a maximise and minimise widget, the buttons DO function as they should but they look incorrect see attached