<div dir="ltr"><div style>Hi. I have the following keybindings in my rc.xml:</div><div style><br></div><div><keybind key="W-Escape" chroot="true"></div><div>      <keybind key="Right"></div>
<div>        <action name="ResizeRelative"></div><div>          <right>50</right></div><div>        </action></div><div>      </keybind></div><div style>      <!-- and similar for Left, Up and Down --></div>
<div></keybind><br></div><div><br></div><div style>I can't wrap my head around how this works. What is the unit that I specify? Is it pixels or % or maybe something else? At my computer a small window grows by 400 pixels in width:</div>
<div style><br></div><div style># the window is currently centralized</div><div style><div>$ wmctrl -lxG | tail -n 1</div><div>0x024012a3  0 393  276  655  377  lxterminal.Lxterminal</div><div style># after ResizeRelative +50 right</div>
<div style><div>$ wmctrl -lxG | tail -n 1</div><div>0x024012a3  0 393  276  1055 377  lxterminal.Lxterminalt</div><div style><br></div><div style># centralize again</div><div style><div>$ wmctrl -lxG | tail -n 1</div><div>
0x0240279c  0 393  276  655  377  lxterminal.Lxterminal</div><div style># after ResizeRelative +50 left</div><div style><div>$ wmctrl -lxG | tail -n 1</div><div>0x0240279c  0 -7   276  1055 377  lxterminal.Lxterminal</div>
<div><br></div><div style>and by 750 pixels in height:</div><div><br></div><div style># centralized</div><div><div>$ wmctrl -lxG | tail -n 1</div><div>0x024028bb  0 393  276  655  377  lxterminal.Lxterminal</div><div style>
# ResizeRelative +50 bottom</div><div>rafal@studio ~ $ wmctrl -lxG | tail -n 1</div><div>0x024028bb  0 393  276  655  1127 lxterminal.Lxterminal</div></div><div><br></div><div style># centralized</div><div><div>$ wmctrl -lxG | tail -n 1</div>
<div>0x024029af  0 393  276  655  377  lxterminal.Lxterminal</div><div style># ResizeRelative +50 top</div><div>rafal@studio ~ $ wmctrl -lxG | tail -n 1</div><div>0x024029af  0 393  -474 655  1127 lxterminal.Lxterminal</div>
</div><div><br></div><div style>I have similar bindings binding for moving the window, also by 50 somethings:</div><div style><br></div><div style><div><keybind key="A-W-Escape" chroot="true"></div>
<div>      <keybind key="Right"></div><div>        <action name="MoveRelative"></div><div>          <x>50</x></div><div>        </action></div><div>      </keybind></div>
<div>      ...</div><div></keybind><br></div><div><br></div><div style>and this does move the window by 50 pixels in each direction (I won't paste the wmctrl calls here, trust me on this one ;d).</div><div style>
My resolution is 1440x900 and I am on:</div><div style><br></div><div style><div>$ openbox --version</div><div>Openbox 3.5.0</div><div>...</div></div><div style><br></div><div style>What are the units that these parameters are specified in? And why are they inconsistent? Or is it just something with my setup and I am doing things wrong?</div>
<div style><br></div><div style>wujek</div></div></div></div></div></div></div>