summaryrefslogtreecommitdiff
path: root/x11/wmessage/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-07-23 20:38:48 +0000
committerwiz <wiz@pkgsrc.org>2001-07-23 20:38:48 +0000
commit17e822fb3e6617617fcbe4bef92e0ba18cc07de3 (patch)
tree99f4130e8996eda6f14d0b3228caa35ae3dafa5e /x11/wmessage/patches
parent3bd15d7264c26da19de0c34d9bdc1e0dc3e779ab (diff)
downloadpkgsrc-17e822fb3e6617617fcbe4bef92e0ba18cc07de3.tar.gz
Update to 0.10. Also make it work with latest windowmaker.
Patches mostly by Ben Wong from pkg/13378. Changes seem only to be other changes to keep up with windowmaker.
Diffstat (limited to 'x11/wmessage/patches')
-rw-r--r--x11/wmessage/patches/patch-ab34
-rw-r--r--x11/wmessage/patches/patch-ac13
-rw-r--r--x11/wmessage/patches/patch-ad22
3 files changed, 32 insertions, 37 deletions
diff --git a/x11/wmessage/patches/patch-ab b/x11/wmessage/patches/patch-ab
index 7d0128bcea1..ec1bdedc4f1 100644
--- a/x11/wmessage/patches/patch-ab
+++ b/x11/wmessage/patches/patch-ab
@@ -1,31 +1,13 @@
-$NetBSD: patch-ab,v 1.2 2001/03/22 14:00:40 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2001/07/23 20:38:48 wiz Exp $
---- panel.c.orig Mon Aug 30 02:28:35 1999
+--- panel.c.orig Tue Jan 9 01:43:47 2001
+++ panel.c
-@@ -128,7 +128,7 @@
- return (-2);
+@@ -409,7 +409,7 @@
- if (settings->centre == True) {
-- WMSetWindowUPosition (panel->win,
-+ WMSetWindowInitialPosition (panel->win,
- (WidthOfScreen (DefaultScreenOfDisplay (settings->dpy)) - WMWidgetWidth(panel->win))/2,
- (HeightOfScreen (DefaultScreenOfDisplay (settings->dpy)) - WMWidgetHeight(panel->win))/2);
+ WMSetWindowTitle(panel->win, "");
-@@ -136,7 +136,7 @@
- (WidthOfScreen (DefaultScreenOfDisplay (settings->dpy)) - WMWidgetWidth(panel->win))/2,
- (HeightOfScreen (DefaultScreenOfDisplay (settings->dpy)) - WMWidgetHeight(panel->win))/2);
-
-- WMSetWindowUSize (panel->win, WMWidgetWidth (panel->win), WMWidgetHeight (panel->win));
-+ WMSetWindowBaseSize (panel->win, WMWidgetWidth (panel->win), WMWidgetHeight (panel->win));
- } else if (settings->nearmouse == True) {
- int x, y, x2, y2;
- unsigned int mask;
-@@ -144,7 +144,7 @@
-
- XQueryPointer (settings->dpy, DefaultRootWindow (settings->dpy), &root, &child, &x, &y, &x2, &y2, &mask);
-
-- WMSetWindowUPosition (panel->win, x - (WMWidgetWidth(panel->win)/2), y - (WMWidgetHeight(panel->win)/2));
-+ WMSetWindowInitialPosition (panel->win, x - (WMWidgetWidth(panel->win)/2), y - (WMWidgetHeight(panel->win)/2));
- WMMoveWidget (panel->win, x - (WMWidgetWidth(panel->win)/2), y - (WMWidgetHeight(panel->win)/2));
- }
+- if ((appicon = WMGetApplicationIconImage (scrPtr))) {
++ if ((appicon = WMGetApplicationIconPixmap (scrPtr))) {
+ WMSize ais;
+ ais = WMGetPixmapSize (appicon);
diff --git a/x11/wmessage/patches/patch-ac b/x11/wmessage/patches/patch-ac
index e4d5a7b640d..be2acf1e778 100644
--- a/x11/wmessage/patches/patch-ac
+++ b/x11/wmessage/patches/patch-ac
@@ -1,16 +1,7 @@
-$NetBSD: patch-ac,v 1.1 2001/03/22 14:00:40 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2001/07/23 20:38:48 wiz Exp $
---- wmessage.h.orig Mon Aug 30 01:07:59 1999
+--- wmessage.h.orig Tue Jan 9 01:45:18 2001
+++ wmessage.h
-@@ -25,7 +25,7 @@
-
- #include <wraster.h>
-
--#include <WINGs.h>
-+#include <WINGs/WINGs.h>
-
- #include <unistd.h>
- #include <stdio.h>
@@ -38,7 +38,7 @@
#include <X11/keysym.h>
diff --git a/x11/wmessage/patches/patch-ad b/x11/wmessage/patches/patch-ad
new file mode 100644
index 00000000000..13992013de4
--- /dev/null
+++ b/x11/wmessage/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2001/07/23 20:38:48 wiz Exp $
+
+--- wmessage.c.orig Mon Jan 10 06:47:21 2000
++++ wmessage.c
+@@ -247,7 +247,7 @@
+ icon = WMCreatePixmapFromRImage(scrPtr, tmp, 0);
+ RDestroyImage(tmp);
+ if (icon) {
+- WMSetApplicationIconImage(scrPtr, icon);
++ WMSetApplicationIconPixmap(scrPtr, icon);
+ WMReleasePixmap(icon);
+ } else
+ if (settings->warnings == True)
+@@ -279,7 +279,7 @@
+ setAppIcon (scr, settings->icon);
+ } else {
+ pixmap = WMCreatePixmapFromXPMData(scr, GNUSTEP_XPM);
+- WMSetApplicationIconImage(scr, pixmap);
++ WMSetApplicationIconPixmap(scr, pixmap);
+ WMReleasePixmap(pixmap);
+ }
+ }