Disko Forum logo Login  |  Register  |  Lost Password
Window with no decoration

kwanlc
Posts: 1
graphgraph

Window with no decoration 5 Years, 4 Months ago  
Hi,

I'm trying to create an application launcher using disko. May I know how do I create a borderless window with no titlebar? Is there a way to tell the window manager not to add any decorations to my window?

Regards,
Kwan.
 
  The administrator has disabled public write access.
Window with no decoration

Stefan
Posts: 91
graph

Re:Window with no decoration 5 Years, 4 Months ago  
Currently there is no way of telling the X11 window manager to omit the window decoration for non - fullscreen windows.

However you can change this behaviour at

src/mmsgui/fb/mmsfb.cpp in MMSFB::init()

just add

|CWOverrideRedirect

and

x_window_attr.override_redirect = True;

before the second XCreateWindow() call.

Maybe we should make this parameterized.

have fun
Stefan
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop