Hi, Am Donnerstag, den 23.09.2010, 23:30 +0200 schrieb Andrea Gasparini: > > thanks for the bug report and patch. The patches seem to be recorded the > > wrong way. > > Uops. Sorry, i used "*" without checking twice. need a resend?
don’t worry. > > Anyways, I think using gtk_window_fullscreen should work, and if not, > > I’d like to know why. If you want to help finding out the proper way to > > fullscreen a window, you might find out on some gtk mailing list. > > Well, it's quite simple: gtk_window_fullscreen works correctly, but only if > virtual desktop and your monitor resolution are the same. > ( Actually, I think it depends also on the used window manager ) > Anyway: it sets window to the size of one monitor. > > Though, when you set size with: > gtk_window_set_resizable(GTK_WINDOW(window), FALSE); > .... > gtk_widget_set_size_request(window, gdk_screen_get_width(screen), > gdk_screen_get_height(screen)); > you are instead forcing the size of the window to a minimum of the whole > virtual desktop. > [briefly: fullscreen->consider just one monitor, screen->consider both > monitors] > > So, a first correction (*IMHO*), could be applying the first patch and > eventually give a parameter that force a different behavior. > > Resource I've used to (try to :P) understand: > http://old.nabble.com/Multiple-Monitors-td28854309.html > http://www.doknowevil.net/2010/07/05/python-multi-head-x-nvidia-twinview-dual- > monitor-development-notes/ could you maybe test if the fullscreen code of geeqie (successor of gqview) works correctly in your setup? It seems that this code is well tested against various setups and it might just be easiest to use that. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part