pkgsrc/wm/aewm++/patches/patch-ab

22 lines
487 B
Text
Raw Normal View History

2011-11-25 23:20:58 +01:00
$NetBSD: patch-ab,v 1.2 2011/11/25 22:20:59 joerg Exp $
2006-01-02 22:40:00 +01:00
2011-11-25 23:20:58 +01:00
--- windowmanager.cc.orig 2003-05-15 01:44:12.000000000 +0000
2006-01-02 22:40:00 +01:00
+++ windowmanager.cc
2011-11-25 23:20:58 +01:00
@@ -6,6 +6,7 @@
*/
#include "aewm.hh"
+#include <cstring>
WindowManager* wm;
@@ -625,7 +626,7 @@ void WindowManager::handleKeyPressEvent(
2006-01-02 22:40:00 +01:00
{
if( (unsigned)current_desktop != ks - XK_1 )
{
- (unsigned)current_desktop = ks - XK_1;
+ current_desktop = (int)(ks - XK_1);
goToDesktop(current_desktop);
}
}