From 4d779a53db8a63bee0aa4255f5e032cf84ade57e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 3 Sep 2007 00:12:39 +0000 Subject: [PATCH] Added Tuomo's patch to fix implementation of "ml" and "mr" positions for the dock. --- debian/patches/103_fix-dock-position.diff | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/103_fix-dock-position.diff 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 -- 2.39.5