<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-04-30 14:04 GMT-03:00 Keith Packard <span dir="ltr"><<a href="mailto:keithp@keithp.com" target="_blank">keithp@keithp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":of" class="" style="overflow:hidden">The -origin option specifies where the screen appears in the cursor<br>
address space when running multiple kdrive screens in Xinerama mode. If<br>
you want an option to specify where the screen appears in the enclosing<br>
window system, you'll need a new option.<br></div></blockquote><div><br></div><div>OK, I'll take care about it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":of" class="" style="overflow:hidden">
Also, you probably want to make the configuration specify the X/Y<br>
positions only if the user actually set them so that the window manager<br>
will automatically position the window sensibly by default, and only<br>
force the window position when directed by the user.</div></blockquote></div><br>I dont' know if I understand what you mean, but I just realized I can force window position</div><div class="gmail_extra">by setting it after xcb_map_window() call. Example:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">{</div><div class="gmail_extra"> uint32_t mask = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;</div><div class="gmail_extra">
uint32_t values[2] = {width, height};</div><div class="gmail_extra"> xcb_configure_window(HostX.conn, scrpriv->win, mask, values);</div><div class="gmail_extra">}</div><div class="gmail_extra"><br></div>
<div class="gmail_extra">xcb_map_window(HostX.conn, scrpriv->win);<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">{</div><div class="gmail_extra"> uint32_t xy_mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y;</div>
<div class="gmail_extra"> uint32_t xy_values[2] = {x, y};</div><div class="gmail_extra"> xcb_configure_window(HostX.conn, scrpriv->win, xy_mask, xy_values);</div><div class="gmail_extra">}</div><div><br>
</div>
</div><div>Is this what you mean?</div><br clear="all"><div><div dir="ltr">CANTATE DOMINO CANTICUM NOVUM<div>QUIA MIRABILIA FECIT</div><div><br></div><div>Laércio</div></div></div>
</div></div>