X11::Protocol::Ext::XC_MISC(3pm)

X11::Protocol::Ext::XC_MISC3pm

Perl module for the x11 protocol xc-misc extension

Usage

  use X11::Protocol;
  $x = X11::Protocol->new();
  $x->init_extension('XC-MISC');

Overview

This module is used by the programmer to pre-acquire large numbers of X resource IDs to be used with the X11::Protocol module.

If supported by the server, X11::Protocol will load this module automatically when additional resource IDs are needed via the standard new_rsrc() interface. However, if you anticipate that a program will run for a long time and allocate many resources, it would be a good idea to initialize the extension at startup to verify its existence.

Requests

This extension adds three requests, called as shown below:

  $x->XCMiscGetVersion => ($major, $minor)
  $x->XCMiscGetXIDRange => ($start_id, $count)
  $x->XCMiscGetXIDList($count) => ($count, @ids)

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

Author

Jay Kominek <[email protected]>.

From perl-x11-protocol 0.56-18 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.