]> git.decadent.org.uk Git - ion3.git/commitdiff
Added Tuomo's patch to fix implementation of "ml" and "mr" positions for the dock.
authorBen Hutchings <ben@decadent.org.uk>
Mon, 3 Sep 2007 00:12:39 +0000 (00:12 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:42:08 +0000 (12:42 +0000)
debian/patches/103_fix-dock-position.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/103_fix-dock-position.diff b/debian/patches/103_fix-dock-position.diff
new file mode 100644 (file)
index 0000000..0b3f63b
--- /dev/null
@@ -0,0 +1,15 @@
+--- trunk.orig/mod_dock/dock.c
++++ trunk/mod_dock/dock.c
+@@ -983,7 +983,11 @@
+                 ? SIZEPOLICY_GRAVITY_SOUTHEAST
+                 : SIZEPOLICY_GRAVITY_SOUTHWEST)
+              : SIZEPOLICY_GRAVITY_SOUTH))
+-       : SIZEPOLICY_GRAVITY_CENTER);
++       : (hp!=DOCK_HPOS_CENTER
++          ? (hp==DOCK_HPOS_RIGHT
++             ? SIZEPOLICY_GRAVITY_EAST
++             : SIZEPOLICY_GRAVITY_WEST)
++          : SIZEPOLICY_GRAVITY_CENTER));
+     
+     *szplcy=p;
+ }
index b4e6be904a79539b71876bacb1abe88553ba8ae5..381a85a0d4f7629e043fa07daad77c13885815b5 100644 (file)
@@ -1,3 +1,4 @@
+103_fix-dock-position.diff
 201_build-config.diff
 205_ion-lock.diff
 206_use-x-terminal-emulator.diff