SOURCES: f-spot-fs.patch (NEW) - fixed fullscreen display in case ...

wrobell wrobell at pld-linux.org
Tue Jan 16 00:25:06 CET 2007


Author: wrobell                      Date: Mon Jan 15 23:25:06 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed fullscreen display in case of xinerama

---- Files affected:
SOURCES:
   f-spot-fs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/f-spot-fs.patch
diff -u /dev/null SOURCES/f-spot-fs.patch:1.1
--- /dev/null	Tue Jan 16 00:25:06 2007
+++ SOURCES/f-spot-fs.patch	Tue Jan 16 00:25:01 2007
@@ -0,0 +1,16 @@
+--- f-spot-0.2.2/src/MainWindow.cs	2006-10-06 02:23:08.000000000 +0100
++++ f-spot-0.2.2.new/src/MainWindow.cs	2006-11-20 04:55:56.000000000 +0000
+@@ -1999,6 +1999,13 @@
+ 		int active = Math.Max (ActiveIndex (), 0);
+ 		if (fsview == null) {
+ 			fsview = new FSpot.FullScreenView (query);
++
++			Gdk.Screen screen = fsview.Screen;
++			int monitor = screen.GetMonitorAtWindow (main_window.GdkWindow);
++			Gdk.Rectangle bounds = screen.GetMonitorGeometry(monitor);
++			fsview.Move(bounds.X, 0);
++			fsview.SetDefaultSize(bounds.Width, bounds.Height);
++
+ 			fsview.Destroyed += HandleFullScreenViewDestroy;
+             fsview.View.Item.Index = active;
+             ColorDialog.SwitchViews (fsview.View);
================================================================


More information about the pld-cvs-commit mailing list