*
* 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
- osx_grab_desktop_image (screen, window, drawable);
- if (name_ret)
- *name_ret = strdup ("desktop");
- done = True;
+ if (osx_grab_desktop_image (screen, window, drawable, &geom_ret_2)) {
+ if (name_ret)
+ *name_ret = strdup ("desktop");
+ done = True;
+ }