I use KDE, and when restoring sessions, window sizes increase slightly : for example, from one session to another, xosview changes from w=213, h=230 to w=221, h=256. Maybe that frame borders are not taken into account, and their size is added each time.
