diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/.gitignore | 7 | ||||
-rw-r--r-- | src/XScrnSaver.c | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index d0f3e44..0000000 --- a/src/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.deps -.libs -libXScrnSaver.la -*.la -*.lo -Makefile -Makefile.in diff --git a/src/XScrnSaver.c b/src/XScrnSaver.c index 1e3fe70..0bbdc60 100644 --- a/src/XScrnSaver.c +++ b/src/XScrnSaver.c @@ -351,7 +351,7 @@ void XScreenSaverSetAttributes ( req->borderWidth = border_width; req->c_class = class; req->depth = depth; - if (visual == CopyFromParent) + if (visual == (Visual *)CopyFromParent) req->visualID = CopyFromParent; else req->visualID = visual->visualid; |