2014-04-30 14:04 GMT-03:00 Keith Packard <[email protected]>:
> The -origin option specifies where the screen appears in the cursor
> address space when running multiple kdrive screens in Xinerama mode. If
> you want an option to specify where the screen appears in the enclosing
> window system, you'll need a new option.
>
OK, I'll take care about it.
> Also, you probably want to make the configuration specify the X/Y
> positions only if the user actually set them so that the window manager
> will automatically position the window sensibly by default, and only
> force the window position when directed by the user.
>
I dont' know if I understand what you mean, but I just realized I can force
window position
by setting it after xcb_map_window() call. Example:
{
uint32_t mask = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;
uint32_t values[2] = {width, height};
xcb_configure_window(HostX.conn, scrpriv->win, mask, values);
}
xcb_map_window(HostX.conn, scrpriv->win);
{
uint32_t xy_mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y;
uint32_t xy_values[2] = {x, y};
xcb_configure_window(HostX.conn, scrpriv->win, xy_mask, xy_values);
}
Is this what you mean?
CANTATE DOMINO CANTICUM NOVUM
QUIA MIRABILIA FECIT
Laércio
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel