[openbox] <width> and <height> in <applications> is client only?

D.T. ohnonot-github at posteo.de
Sun Mar 7 02:14:50 EST 2021


So the openbox wiki says - for Actions (*) - that specifying <width>
and <height> by default measures the whole window including
decorations, but for the <applications> section this doesn't seem to be
true.
I just tested three different ways, openbox clearly applies the sizes
to the client only and not the whole window including decorations.
I even tried adding 'client="no"' to the <width> and <height> tags, to
no avail.

Example:

    <application title="Zutty">
      <size>
        <width>838</width>
        <height>511</height>
        <!-- half of screen height, excluding panel's height -->
      </size>
      <maximized>false</maximized>
    </application>
    <application class="Pcmanfm">
      <size>
        <width>1/2</width>
        <height>1/2</height>
      </size>
      <maximized>false</maximized>
    </application>
    <application class="Geany">
      <size>
        <width>50%</width>
        <height>50%</height>
      </size>
      <maximized>false</maximized>
    </application>
    <application class="Marker">
      <size>
        <width>50%</width>
        <height>50%</height>
      </size>
      <maximized>false</maximized>
    </application>

These are a) a terminal emulator that does not use any GUI toolkit, b)
a GTK2 application, c) a GTK3 application and d) a GTK3 application
that uses client-side decorations.
I tried switching things around, but the result is always the same,
except for the last one.

[ For manual tiling actions all this works as expected. ]

Can this behaviour be changed?

TIA,

D.T.

(*) http://openbox.org/wiki/Help:Actions#MoveResizeTo




More information about the openbox mailing list