[cairo] xcb backend - no window decorations

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Mon Jul 11 11:53:40 UTC 2016


On 11.07.2016 13:30, Lawrence D'Oliveiro wrote:

> Aren’t you supposed to create the window first, then pass it to
> cairo_xcb_surface_create
> <https://www.cairographics.org/manual/cairo-XCB-Surfaces.html#cairo-xcb-surface-create>
> as the drawable?

yeah, that's how I'm doing it (according to some cairo-xcb examples).
it suspected that cairo-xcb is doing something to the window, but it
doesn't seem the case - just created yet another window w/o creating
an cairo surface ontop of it, getting the same effect.

so, the big question now is: how to create an xcb window with usual
window decorations ? do i have to add some atoms ?


--mtx



More information about the cairo mailing list