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

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