1Protocol::Ext::XC_MISC(U3s)er Contributed Perl DocumentatPiroontocol::Ext::XC_MISC(3)
2
3
4
6 X11::Protocol::Ext::XC_MISC - Perl module for the X11 Protocol XC-MISC
7 Extension
8
10 use X11::Protocol;
11 $x = X11::Protocol->new();
12 $x->init_extension('XC-MISC');
13
15 This module is used by the programmer to pre-acquire large numbers of X
16 resource IDs to be used with the X11::Protocol module.
17
18 If supported by the server, X11::Protocol will load this module
19 automatically when additional resource IDs are needed via the standard
20 new_rsrc() interface. However, if you anticipate that a program will
21 run for a long time and allocate many resources, it would be a good
22 idea to initialize the extension at startup to verify its existence.
23
25 This extension adds three requests, called as shown below:
26
27 $x->XCMiscGetVersion => ($major, $minor)
28
29 $x->XCMiscGetXIDRange => ($start_id, $count)
30
31 $x->XCMiscGetXIDList($count) => ($count, @ids)
32
34 Jay Kominek <jay.kominek@colorado.edu>.
35
37 perl(1), X11::Protocol, XC-MISC Extension (X Consortium Standard).
38
39
40
41perl v5.36.0 2022-07-22 Protocol::Ext::XC_MISC(3)