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.37.tar.gz
[xscreensaver]
/
utils
/
grabclient.c
diff --git
a/utils/grabclient.c
b/utils/grabclient.c
index a1a360e476d8dbc23dc5b866250a325da96cc7fb..fc002012d05d3c111c0cac17e6de14c9c244f201 100644
(file)
--- a/
utils/grabclient.c
+++ b/
utils/grabclient.c
@@
-1,4
+1,4
@@
-/* xscreensaver, Copyright (c) 1992-201
6
Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-201
7
Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@
-783,7
+783,12
@@
osx_load_image_file_async (Screen *screen, Window xwindow, Drawable drawable,
(XtPointer) (XtInputReadMask | XtInputExceptMask),
xscreensaver_getimage_file_cb, (XtPointer) clo2);
# else /* USE_IPHONE */
(XtPointer) (XtInputReadMask | XtInputExceptMask),
xscreensaver_getimage_file_cb, (XtPointer) clo2);
# else /* USE_IPHONE */
- ios_load_random_image (ios_load_random_image_cb, clo2);
+ {
+ XWindowAttributes xgwa;
+ XGetWindowAttributes (DisplayOfScreen (screen), xwindow, &xgwa);
+ ios_load_random_image (ios_load_random_image_cb, clo2,
+ xgwa.width, xgwa.height);
+ }
# endif /* USE_IPHONE */
}
# endif /* USE_IPHONE */
}