[Geany-devel] [PATCH] : FIx window position on start up.

Erik de Castro Lopo mle+tools at xxxxx
Thu Apr 26 12:00:51 UTC 2012


Hi all,

I often ssh from the desktop machine (screen size of 2560x1440) into
my laptop (1200x800) and X-Display geany from my laptop back to the
desktop. If I then place the geany window in the bottom right hand
corner of the screen, exit geany and then reopen geany on the laptop,
the geany window ends up off screen.

The included patch checks the window position read from the preferences
file, checks to see if its off either the right hand side or bottom
of the screen and moves it back into a sensible position.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-On-start-up-if-the-window-position-read-from-the-pre.patch
Type: text/x-diff
Size: 1550 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20120426/1e9e8b8a/attachment.patch>


More information about the Devel mailing list