Re: [PATCH] gitk: don't save the geometry to rc file on exit
From: Paul Mackerras <hidden>
Date: 2016-06-15 22:44:21
Jonathan del Strother writes:
This almost works on OS X. The only problem is that it's not taking into account menubars and windowbars. eg, if I have a screen resolution of 640x480, setting the window _content_ to that size will make the entire window including its titlebar about 500px tall. Not only that, but the system-wide menubar at the top of the screen also reduces the available space, meaning that the maximum window size ought to be around 640x456. (If you wanted to get even pickier, that will changing depending on the interface resolution...)
Do you know of any way for an application to determine how big it can be, then?
Presumably your patch does nothing to move gitk back on screen if the monitor it was on last time has gone away? Or are we still blaming the window manager for that?
With the patch it no longer specifies a position, so yes we blame the window manager now if it doesn't put the window somewhere visible. :) Paul.