summaryrefslogtreecommitdiff
path: root/hw/xquartz/applewm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/applewm.c')
-rw-r--r--hw/xquartz/applewm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c
index d1a6175bf..26cf5d2e9 100644
--- a/hw/xquartz/applewm.c
+++ b/hw/xquartz/applewm.c
@@ -37,6 +37,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "dixstruct.h"
#include "globals.h"
#include "extnsionst.h"
+#include "registry.h"
#include "colormapst.h"
#include "cursorstr.h"
#include "scrnintstr.h"
@@ -129,6 +130,8 @@ AppleWMExtensionInit(
WMEventBase = extEntry->eventBase;
EventSwapVector[WMEventBase] = (EventSwapPtr) SNotifyEvent;
appleWMProcs = procsPtr;
+ RegisterResourceName(ClientType, "WMClient");
+ RegisterResourceName(EventType, "WMEvent");
}
}