summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorŁukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>2013-02-19 13:42:57 +0100
committerŁukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>2013-02-19 13:42:57 +0100
commitf2aee243b9d76b36234be8d5f03fefe323bf652c (patch)
tree9d1419c4a14dc1b5571bf546edd048d8eee355a4 /plugins/unityshell
parentab76eb049e4a43ae3f218a7bdd6e0fe47ef4aea6 (diff)
Add a comment so that we know what hacks we did
(bzr r3162.1.2)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/inputremover.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/unityshell/src/inputremover.cpp b/plugins/unityshell/src/inputremover.cpp
index 38ddffad0..b28e7a1e2 100644
--- a/plugins/unityshell/src/inputremover.cpp
+++ b/plugins/unityshell/src/inputremover.cpp
@@ -423,6 +423,8 @@ compiz::WindowInputRemover::queryProperty(XRectangle **input,
return false;
}
+ /* XXX: the cast to void * before the reinterpret_cast is a hack to calm down
+ * gcc on ARM machines and its misalignment cast errors */
unsigned long *headerData = reinterpret_cast<unsigned long *>(static_cast<void *>(propData));
/* If version is mismatched, return false */