Attempt to make GTK sizing work with tiling WM
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 22 Oct 2014 11:06:25 +0000 (13:06 +0200)
committerArun Persaud <arun@nubati.net>
Wed, 22 Oct 2014 15:18:47 +0000 (08:18 -0700)
commit34ee88fbe6aaf114f5a0212c4c94c532d3ae1925
tree1c2fc727be4a59649c3c37fe4726fd006cd09e64
parent4435d1ff1d234516df1e10d54e1617a94039858b
Attempt to make GTK sizing work with tiling WM

The Rezise routine now takes the size of the entire dialog table
(for me always equal to the outer-window size), and checks if the
actual outer window is smaller. If it is, it shrinks the board to fit,
under the assumption that a tiling window manager offers only a limited
'viewport' to our dialog, and we want everything to be visible inside that.
gtk/xboard.c