blob: 60b0e0732f8e029a228e11f76ba31d3d2922566b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ac,v 1.2 2011/11/24 13:32:20 joerg Exp $
--- src/OBPager.cc.orig 2004-09-01 14:23:44.000000000 +0000
+++ src/OBPager.cc
@@ -22,7 +22,8 @@
#include <string>
#include <sstream>
-
+#include <stdlib.h>
+#include <memory>
// We need to work with these properties
@@ -1096,7 +1097,7 @@ void OBPager::gotoDesktop(int newDesktop
event.xclient.format = 32;
event.xclient.data.l[0] = newDesktop;
- XSendEvent(mDisplay(), rootWindow, False, SubstructureNotifyMask, &event);
+ XSendEvent(mDisplay(), rootWindow, False, PropertyChangeMask, &event);
}
|