blob: 2047c71a03f990ff1b9f40295cc6f6470d1989a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$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);
}
}
|