From: Ben Hutchings Date: Mon, 3 Sep 2007 00:12:39 +0000 (+0000) Subject: Added Tuomo's patch to fix implementation of "ml" and "mr" positions for the dock. X-Git-Tag: 20070902-1~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4d779a53db8a63bee0aa4255f5e032cf84ade57e;p=ion3.git Added Tuomo's patch to fix implementation of "ml" and "mr" positions for the dock. --- diff --git a/debian/patches/103_fix-dock-position.diff b/debian/patches/103_fix-dock-position.diff new file mode 100644 index 0000000..0b3f63b --- /dev/null +++ b/debian/patches/103_fix-dock-position.diff @@ -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; + } diff --git a/debian/patches/series b/debian/patches/series index b4e6be9..381a85a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +103_fix-dock-position.diff 201_build-config.diff 205_ion-lock.diff 206_use-x-terminal-emulator.diff