On Mon, Feb 13, 2017 at 11:25 PM, Clemens Koller <clemens...@gmx.net> wrote: > Hello! > > I was always wondering why gerbv starts by default with a good width > (1500pix) but very limited height (450pix) window on my dual-monitor desktop > (2x 2048 x 1152, horizontally aligned). > > After some digging, I found that some multi monitor detection code does some > odd math, messing up if nmonitors >1 aligned horizontally, touching the > height as well. > Attached patch might fix that for the assumption that monitors are usually > placed next to each other and not stacked on top of each other. > This is off course just an improvisational fix.
Maybe we should just save/restore (via GtkSettings?) last used gerbv window screen position and size? > It seems that the GTK3 code would be a better solution, but I couldn't verify > that code yet. Is there an configure option to build against GTK 3+? > > Please comment if the patch is basically ok and how to test gerbv against > GTK3. GTK3 support require some patching (it was done couple of years ago by someone and I think I do have those patches), and as GTK3 is not yet in gschem nor in pcb, and than was no stable GTK3 port for Win, so gerbv is on GTK2. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel