21 lines
487 B
Text
21 lines
487 B
Text
$NetBSD: patch-ab,v 1.2 2011/11/25 22:20:59 joerg Exp $
|
|
|
|
--- windowmanager.cc.orig 2003-05-15 01:44:12.000000000 +0000
|
|
+++ windowmanager.cc
|
|
@@ -6,6 +6,7 @@
|
|
*/
|
|
|
|
#include "aewm.hh"
|
|
+#include <cstring>
|
|
|
|
WindowManager* wm;
|
|
|
|
@@ -625,7 +626,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);
|
|
}
|
|
}
|