1Prima::sys::XQuartz(3)User Contributed Perl DocumentationPrima::sys::XQuartz(3)
2
3
4

NAME

6       Prima::sys::XQuartz - MacOSX/XQuartz facilities
7

DESCRIPTION

9       XQuartz emulates X environment with certain limits, namely it cannot
10       grab bits from the screen, and it hides top-level menu from screen
11       coordinates accessible for X clients. For example, a Mac with 1024x768
12       resolution will only report f.ex. 1024x746 size to Prima.  If Prima is
13       compiled with Cocoa library, "get_fullscreen_image" method circumvents
14       these limitations and returns shot of the whole screen.
15
16       Note that the screen grabbing has to be allowed. To do that, Choose
17       Apple menu, System Preferences, click Security & Privacy, then click
18       Privacy.  Click on an icon on the left lower corner to allow changes.
19       Then, in the screen recording tab, add XQuartz to the list of allowed
20       applications. Note that it might not work if you run your application
21       from a (remote) ssh session - I couldn't find how to a how to enable
22       screen grabbing for sshd.
23

AUTHOR

25       Dmitry Karasik, <dmitry@karasik.eu.org>.
26

SEE ALSO

28       Prima::Dialog::FileDialog
29
30
31
32perl v5.36.0                      2023-03-20            Prima::sys::XQuartz(3)
Impressum