diff options
Diffstat (limited to 'wm/qvwm/patches/patch-ad')
-rw-r--r-- | wm/qvwm/patches/patch-ad | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/wm/qvwm/patches/patch-ad b/wm/qvwm/patches/patch-ad deleted file mode 100644 index b4af52b505f..00000000000 --- a/wm/qvwm/patches/patch-ad +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2006/06/10 23:59:51 martin Exp $ - ---- src/gnome.cc.orig 2001-03-03 06:13:32.000000000 +0100 -+++ src/gnome.cc 2006-06-06 11:50:07.000000000 +0200 -@@ -104,11 +104,12 @@ void Gnome::SetProtocols() - void Gnome::SetWorkspace() - { - Rect rcVirt = paging->GetVirtRect(); -- int num, val[2]; -+ long num, val[2]; - - // set the number of desktops for workspace - XA_WIN_WORKSPACE_COUNT = XInternAtom(display, "_WIN_WORKSPACE_COUNT", False); - num = 1; // fixed -+ - XChangeProperty(display, root, XA_WIN_WORKSPACE_COUNT, XA_CARDINAL, 32, - PropModeReplace, (unsigned char *)&num, 1); - -@@ -116,6 +117,7 @@ void Gnome::SetWorkspace() - XA_WIN_AREA_COUNT = XInternAtom(display, "_WIN_AREA_COUNT", False); - val[0] = rcVirt.width; - val[1] = rcVirt.height; -+ - XChangeProperty(display, root, XA_WIN_AREA_COUNT, XA_CARDINAL, 32, - PropModeReplace, (unsigned char *)val, 2); - -@@ -134,7 +136,7 @@ void Gnome::SetWorkspace() - XA_WIN_WORKSPACE = XInternAtom(display, "_WIN_WORKSPACE", False); - XA_WIN_AREA = XInternAtom(display, "_WIN_AREA", False); - -- int index = 0; // fixed -+ long index = 0; // fixed - XChangeProperty(display, root, XA_WIN_WORKSPACE, XA_CARDINAL, 32, - PropModeReplace, (unsigned char *)&index, 1); - } |