Thanks a lot Peter, I seem to be close but I must be missing something. I have a little program which I run, and its rendered without the window decorations. Then on the side I have my X11 client which tries to set the override-redirect to true, and then proceed to set a window border. After wiresharking my X11 requests I see that I am sending the right stuff to the x server. But for some reason it has no effect. I wonder if I am missing something?

After the borderless window is created I send the following requests:
  • ChangeWindowAttributes with border pixel color set to red, and override-redirect set to true
  • ConfigureWindow with border-width set to 5
Is there something I am missing?

Thanks

- John E


Peter Harris wrote:
On 2010-05-03 12:40, John Eke wrote:
  
  Thanks a lot for your response Peter, is there any way around this
though? I can get the window to render without decorations, but will
this suffice?
    

Depends on the window manager.

You can always set "override-redirect" on your window, which will bypass
the window manager entirely. But your users won't appreciate it if you
override-redirect anything that isn't a brief splash screen or a simple
popup menu.

If you really want a solid frame of a particular colour inside your
window, you can always paint one by hand.

Peter Harris
  
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to