summaryrefslogtreecommitdiff
path: root/wm/aewm++/patches/patch-ab
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-02 21:40:00 +0000
committerjoerg <joerg>2006-01-02 21:40:00 +0000
commit2ec9a5309fd85edc30aa6793ddfaae8fa33ab697 (patch)
tree7b7f3ef006df5fcbb21cdd5bc635d69f371243bf /wm/aewm++/patches/patch-ab
parentd839bfcb0b17e634cc2ceac3f22c29b11d7dffc2 (diff)
downloadpkgsrc-2ec9a5309fd85edc30aa6793ddfaae8fa33ab697.tar.gz
Invert a lvalue cast to a rvalue cast.
Diffstat (limited to 'wm/aewm++/patches/patch-ab')
-rw-r--r--wm/aewm++/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/wm/aewm++/patches/patch-ab b/wm/aewm++/patches/patch-ab
new file mode 100644
index 00000000000..c83288ee5dc
--- /dev/null
+++ b/wm/aewm++/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/01/02 21:40:00 joerg Exp $
+
+--- windowmanager.cc.orig 2006-01-02 21:33:19.000000000 +0000
++++ windowmanager.cc
+@@ -625,7 +625,7 @@ void WindowManager::handleKeyPressEvent(
+ {
+ if( (unsigned)current_desktop != ks - XK_1 )
+ {
+- (unsigned)current_desktop = ks - XK_1;
++ current_desktop = (int)(ks - XK_1);
+ goToDesktop(current_desktop);
+ }
+ }