[Xcb] conn.core.ConfigureWindow() does not change window xpyb

Andrew Gallant jamslam at gmail.com
Fri Aug 17 07:00:33 PDT 2012


I haven't tested it, but try changing

values = {cw.X: x, cw.Y: y, cw.Width:  w, cw.Height: h, cw.BorderWidth: bw}

to

values = [x, y, w, h, bw]

Also, does ConfigureWindowChecked return an error? You might try
printing it to see if it does.

- Andrew


On Fri, Aug 17, 2012 at 7:33 AM, Micah Nordland <mpnordland at gmail.com> wrote:
> Hi, I'm using the python xcb binding to write a simple wm. In my
> ConfigureRequestEvent handling code, I use
> conn.core.ConfigureWindowChecked() with the values from the event. But it
> does nothing, right after the call to ConfigureWindowChecked, I check the
> geometry of the window, and while what I tried to set with ConfigureWindow
> was right, the geometry returns a width of 2, and a height of 4, regardless
> of what I set. I've attached a simple example to try to show what is
> happening.
>
> --
> Praising my Savior all the day long,
> Micah Nordland
>
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list