diff options
author | Rui Matos <tiagomatos@gmail.com> | 2015-10-05 17:53:57 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2015-10-06 22:33:42 +0200 |
commit | 54557f062e15e13de2e351eae02ed54f28068102 (patch) | |
tree | ddf4da5e7c0586574a010ba606440f1464a95b5e /src/compositor/meta-window-actor.c | |
parent | 130807a30803e1d691b613be074d8414c630dce9 (diff) | |
download | mutter-54557f062e15e13de2e351eae02ed54f28068102.tar.gz |
xprops: Fix reading Window and XSyncCounter properties
Both Window and XSyncCounter are XIDs which on 64 bit X clients are 8
bytes wide. But the values on the wire are 32 bit so, for these types,
we always copy 4 bytes into results->prop. As such copying them out
with a cast such as *(Window *) means that we are actually reading 8
bytes which depending on whether the higher addressed 4 bytes are zero
means that sometimes this works while others it gives us a bogus
value.
https://bugzilla.gnome.org/show_bug.cgi?id=756074
Diffstat (limited to 'src/compositor/meta-window-actor.c')
0 files changed, 0 insertions, 0 deletions