diff options
author | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
commit | 26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch) | |
tree | a51e1637554bcd84e63cccb1cb220c898a2c4ee8 /utils/grabscreen.c | |
parent | 5.44 (diff) | |
download | xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip |
xscreensaver 6.00
Diffstat (limited to 'utils/grabscreen.c')
-rw-r--r-- | utils/grabscreen.c | 19 |
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); |