summaryrefslogtreecommitdiffstats
path: root/kicker/kicker/core/kmenubase.ui.h
blob: e1ed1ac25ca88c791b8abf0a2056d4bbb4646d7f (plain)
1
2
3
4
5
6
7
8
9
#include <X11/Xlib.h>

void KMenuBase::init()
{
    XSetWindowAttributes attrs;
    attrs.override_redirect = True;
    XChangeWindowAttributes( qt_xdisplay(), winId(), CWOverrideRedirect, &attrs );
    setWFlags( Qt::WType_Popup );
}