projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.33.tar.gz
[xscreensaver]
/
hacks
/
qix.c
diff --git
a/hacks/qix.c
b/hacks/qix.c
index ad1e26e7a6ef951834ec60f72b8c2bb37d400f1c..6e3e9aebe987ef5b747da1c8e2c62b4d0c285d5d 100644
(file)
--- a/
hacks/qix.c
+++ b/
hacks/qix.c
@@
-475,7
+475,7
@@
add_qline (struct state *st,
{
/* give a non-opaque alpha to the color */
unsigned long pixel = qline->color.pixel;
{
/* give a non-opaque alpha to the color */
unsigned long pixel = qline->color.pixel;
- unsigned long amask = BlackPixel
OfScreen (
0);
+ unsigned long amask = BlackPixel
(st->dpy,
0);
unsigned long a = (0xBBBBBBBB & amask);
pixel = (pixel & (~amask)) | a;
qline->color.pixel = pixel;
unsigned long a = (0xBBBBBBBB & amask);
pixel = (pixel & (~amask)) | a;
qline->color.pixel = pixel;
@@
-592,6
+592,9
@@
static const char *qix_defaults [] = {
"*transparent:true",
"*gravity: false",
"*additive: true",
"*transparent:true",
"*gravity: false",
"*additive: true",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};
0
};