summaryrefslogtreecommitdiffstats
path: root/utils/grabscreen.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /utils/grabscreen.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'utils/grabscreen.c')
-rw-r--r--utils/grabscreen.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/utils/grabscreen.c b/utils/grabscreen.c
index 77fe3c9..e2742bf 100644
--- a/utils/grabscreen.c
+++ b/utils/grabscreen.c
@@ -25,10 +25,8 @@
On MacOS systems running X11, which nobody does any more:
- "driver/xscreensaver-getimage" runs the Perl script
- "driver/xscreensaver-getimage-desktop", which in turn runs the MacOS
- program "/usr/sbin/screencapture" to get the Mac desktop image as a
- PNG file.
+ "driver/xscreensaver-getimage" runs "/usr/sbin/screencapture" to
+ get the Mac desktop image as a PNG.
On MacOS systems running the native Cocoa build, or on iOS or Android
systems:
@@ -48,14 +46,6 @@
#include <X11/Xatom.h>
#include <X11/Xutil.h>
-#ifdef HAVE_XMU
-# ifndef VMS
-# include <X11/Xmu/WinUtil.h>
-# else /* VMS */
-# include <Xmu/WinUtil.h>
-# endif /* VMS */
-#endif
-
#include "usleep.h"
#include "colors.h"
#include "grabscreen.h"
@@ -264,10 +254,7 @@ install_screen_colormaps (Screen *screen)
{
XWindowAttributes xgwa;
Window client;
-#ifdef HAVE_XMU
- /* #### need to put XmuClientWindow() in xmu.c, sigh... */
- if (! (client = XmuClientWindow (dpy, kids[i])))
-#endif
+ /* if (! (client = XmuClientWindow (dpy, kids[i]))) */
client = kids[i];
xgwa.colormap = 0;
XGetWindowAttributes (dpy, client, &xgwa);