summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-08-16 08:08:07 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-08-16 08:08:07 +0000
commit4e256decef925b2fd2b1a6108307b75141647b87 (patch)
tree29e79a85d3e984a88230cb90eaecdb8619acdb4a /x11-wm/sawfish/files
parentFixed missing dependency on app-arch/zip when USE=source (diff)
downloadhistorical-4e256decef925b2fd2b1a6108307b75141647b87.tar.gz
historical-4e256decef925b2fd2b1a6108307b75141647b87.tar.bz2
historical-4e256decef925b2fd2b1a6108307b75141647b87.zip
Newer snapshot
Package-Manager: portage-2.1.1_pre5-r1
Diffstat (limited to 'x11-wm/sawfish/files')
-rw-r--r--x11-wm/sawfish/files/digest-sawfish-1.3.200608163
-rw-r--r--x11-wm/sawfish/files/sawfish-configure-warning.patch20
-rw-r--r--x11-wm/sawfish/files/sawfish-kde-menus.patch22
3 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/sawfish/files/digest-sawfish-1.3.20060816 b/x11-wm/sawfish/files/digest-sawfish-1.3.20060816
new file mode 100644
index 000000000000..99ef81836870
--- /dev/null
+++ b/x11-wm/sawfish/files/digest-sawfish-1.3.20060816
@@ -0,0 +1,3 @@
+MD5 af0087d24dee707c16308b2a5733c8bd sawfish-1.3.20060816.tar.bz2 1172610
+RMD160 a4f02524f398c5de8e09e6148621dd42aca90a7d sawfish-1.3.20060816.tar.bz2 1172610
+SHA256 81672a37c0e1a27ef14588808bb005c155876c3d4394f1edc251ceaa300d2798 sawfish-1.3.20060816.tar.bz2 1172610
diff --git a/x11-wm/sawfish/files/sawfish-configure-warning.patch b/x11-wm/sawfish/files/sawfish-configure-warning.patch
new file mode 100644
index 000000000000..2f3c55c3c080
--- /dev/null
+++ b/x11-wm/sawfish/files/sawfish-configure-warning.patch
@@ -0,0 +1,20 @@
+--- sawfish/configure.in
++++ sawfish/configure.in
+@@ -90,7 +90,7 @@
+ _cppflags="${CPPFLAGS}"
+ CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
+
+-AC_CHECK_HEADERS(X11/SM/SMlib.h X11/extensions/Xdbe.h)
++AC_CHECK_HEADERS(X11/SM/SMlib.h X11/extensions/Xdbe.h,,,[#include <X11/Xlib.h>])
+
+ dnl Checks for X extensions/libraries
+ XINERAMA_LIBS=""
+@@ -110,7 +110,7 @@
+
+ AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
+ [XRANDR_LIBS="-lXrandr"
+- AC_CHECK_HEADERS(X11/extensions/Xrandr.h)],
++ AC_CHECK_HEADERS(X11/extensions/Xrandr.h,,,[#include <X11/Xlib.h>])],
+ [],[$X_LIBS -lX11 -lXext])
+
+ dnl Try using pkg-config first, since it looks like Xft2 may fail our
diff --git a/x11-wm/sawfish/files/sawfish-kde-menus.patch b/x11-wm/sawfish/files/sawfish-kde-menus.patch
new file mode 100644
index 000000000000..5e3e2125a4b0
--- /dev/null
+++ b/x11-wm/sawfish/files/sawfish-kde-menus.patch
@@ -0,0 +1,22 @@
+This patch comes from sawfish-mmc. Without it, opening
+a menu in KDE deactivates the current window.
+
+--- sawfish/src/events.c
++++ sawfish/src/events.c
+@@ -955,11 +955,15 @@
+ Lisp_Window *w = find_window_by_id (ev->xfocus.window);
+ if (ev->xfocus.detail == NotifyPointer)
+ return;
++ if (ev->xfocus.mode == NotifyGrab || ev->xfocus.mode == NotifyUngrab)
++ return;
+ if (w != 0 && ev->xfocus.detail != NotifyInferior)
+ {
+ if (focus_window == w)
+ {
+- focus_window = 0;
++ if (ev->xfocus.mode == NotifyNormal || ev->xfocus.mode == NotifyWhileGrabbed)
++ focus_window = 0;
++
+ report_focus_change (w);
+ }
+