/usr/share/perl5/X11/Protocol/XSetRoot.pm is in libx11-protocol-other-perl 28-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 | # Copyright 2010, 2011, 2012, 2013 Kevin Ryde
# This file is part of X11-Protocol-Other.
#
# X11-Protocol-Other is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3, or (at your option) any
# later version.
#
# X11-Protocol-Other is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with X11-Protocol-Other. If not, see <http://www.gnu.org/licenses/>.
# Window Manager Notes:
#
# ctwm does it's workspaces by moving windows or unmapping or something.
# There's no virtual root but it does draw the root window to a
# per-workspace colour on each change which overwrites anything put there in
# xsetroot style.
#
# evilwm desktop workspaces done by hiding/mapping windows.
#
# tvtwm comes with an ssetroot which looks at __SWM_VROOT.
#
# awesome does desktops by hiding/mapping and a task bar across the top.
# Maybe:
# Maybe read /usr/include/X11/bitmaps/gray like xsetroot -grey.
# Or /usr/include/X11/bitmaps/root_weave which is the server default.
# Those files are bitmaps so foreground,background colours.
#
# bitmap_filename => '/blah...'
# bitmap_usr_include => 'gray'
# bitmap_include => 'gray'
# bitmap_type => 'gray','root_weave','default' builtins
# mod => x,y
# reverse_colors
# color =>
# background =>
# bitmap_foreground =>
# bitmap_background =>
#
#
# root=>
# virtual_root=> no look at root SWM_VROOT
#
BEGIN { require 5 }
package X11::Protocol::XSetRoot;
use strict;
use Carp;
use X11::AtomConstants;
use X11::Protocol::Other;
use X11::Protocol::WM;
use vars '$VERSION';
$VERSION = 28;
# uncomment this to run the ### lines
# use Smart::Comments;
sub set_background {
my ($class, %option) = @_;
### XSetRoot set_background(): do { my %o = %option; delete $o{'X'}; %o }
my $display;
my $X = $option{'X'};
if (! $X) {
$display = $option{'display'};
### display: $display
require X11::Protocol;
$X = X11::Protocol->new (defined $display ? ($display) : ());
$display ||= ''; # so not undef
}
### X: "$X"
my $root = $option{'root'};
my $screen_number = $option{'screen'};
if (! defined $root) {
if (defined $screen_number) {
$root = $X->{'screens'}->[$screen_number]->{'root'};
} else {
$root = $X->{'root'};
}
}
if (! defined $screen_number) {
$screen_number = X11::Protocol::Other::root_to_screen($X,$root);
# Secret undocumented allowance for root=>$xid being something not an
# actual root window. Maybe a window_to_screen() checking among the
# roots and then QueryTree().
#
if (! defined $screen_number) {
my ($actual_root) = $X->QueryTree ($root);
$screen_number = X11::Protocol::Other::root_to_screen($X,$actual_root);
}
}
### $root
my $visual = X11::Protocol::Other::window_visual($X,$root);
my $visual_is_dynamic = X11::Protocol::Other::visual_is_dynamic($X,$visual);
my $allocated;
my @window_attributes;
my $pixmap = $option{'pixmap'};
if (! defined $pixmap) {
my $screen_info = $X->{'screens'}->[$screen_number];
my $pixel;
if (defined ($pixel = $option{'pixel'})) {
### pixel: $pixel
} elsif (defined (my $color = $option{'color'})) {
($pixel) = _alloc_named_or_hex_color($X,
$screen_info->{'default_colormap'},
$color);
# when we allocate the pixel here we don't need a specified $X
# connection, one opened here is enough
$option{'X'} = 1;
} else {
croak "No color, pixel or pixmap for background";
}
$allocated = $visual_is_dynamic
&& ! ($pixel == $screen_info->{'black_pixel'}
|| $pixel == $screen_info->{'white_pixel'}
|| _tog_cup_pixel_is_reserved($X,$screen_number,$pixel));
### $allocated
if ($option{'use_esetroot'}) {
### create Esetroot 1x1 pixmap of pixel ...
$pixmap = $X->new_rsrc;
$X->CreatePixmap ($pixmap,
$root, # drawable
_window_depth($X,$root), # depth
1,1); # width,height
my $gc = $X->new_rsrc;
$X->CreateGC ($gc, $pixmap, foreground => $pixel);
$X->PolyPoint ($pixmap, $gc, 'Origin', 0,0);
$X->FreeGC($gc);
} else {
@window_attributes = (background_pixel => $pixel);
}
} else {
$allocated = $option{'pixmap_allocated_colors'};
}
if (defined $pixmap) {
### pixmap: sprintf '%#X', $pixmap
$pixmap = _num_none($pixmap);
@window_attributes = (background_pixmap => $pixmap);
}
### @window_attributes
if ($allocated) {
if ($visual_is_dynamic) {
unless ($option{'X'}) {
croak 'Need X connection to set given pixmap or allocated pixel';
}
} else {
### static visual, so no pixel allocation ...
$allocated = 0;
}
}
# follow any __SWM_VROOT
$root = (X11::Protocol::WM::root_to_virtual_root($X,$root) || $root);
# GrabServer() so atomic get/set of _XSETROOT_ID.
#
# After GetProperty() delete+kill old _XSETROOT_ID don't want another
# client to be able to slip in a new value which ChangeProperty() here
# would overwrite (and so leak resources).
#
# The QueryPointer() sync is under the grab too so that no-one else can
# KillClient() on our new _XSETROOT_ID, until after QueryPointer().
#
require X11::Protocol::GrabServer;
my $grab = X11::Protocol::GrabServer->new ($X);
_kill_current ($X, $root);
$X->ChangeWindowAttributes ($root, @window_attributes);
$X->ClearArea ($root, 0,0,0,0); # whole window
if ($option{'use_esetroot'}) {
### set _XROOTPMAP_ID, ESETROOT_PMAP_ID: sprintf '%#X', $pixmap
my $data = pack ('L', $pixmap);
$X->ChangeProperty($root,
$X->atom('ESETROOT_PMAP_ID'),
X11::AtomConstants::PIXMAP(),
32, # format
'Replace',
$data);
$X->ChangeProperty($root,
$X->atom('_XROOTPMAP_ID'),
X11::AtomConstants::PIXMAP(),
32, # format
'Replace',
$data);
$X->SetCloseDownMode('RetainPermanent');
} else {
### xsetroot free the pixmap ...
# if given, and if not $pixmap==0 meaning "None"
if ($pixmap) {
### FreePixmap: $pixmap
$X->FreePixmap($pixmap);
}
if ($allocated) {
my $id_pixmap = $X->new_rsrc;
### save id_pixmap: sprintf('%#X', $id_pixmap)
$X->CreatePixmap ($id_pixmap, # 1x1 bitmap
$root, # drawable, for screen
1, # depth
1,1); # width,height
$X->ChangeProperty($root,
$X->atom('_XSETROOT_ID'),
X11::AtomConstants::PIXMAP(),
32, # format
'Replace',
pack ('L', $id_pixmap));
$X->SetCloseDownMode('RetainPermanent');
}
}
# Check for errors with a QueryPointer round trip, either if allocated
# pixels because the application will do nothing more, or if $display
# opened here.
if ($allocated || defined $display) {
### sync with QueryPointer ...
$X->QueryPointer($root);
}
}
# Return true if $pixel is a TOG-CUP reserved colormap entry in the root
# colormap of $screen_number. If it's not, or if no TOG-CUP available, then
# return false.
#
sub _tog_cup_pixel_is_reserved {
my ($X, $screen_number, $pixel) = @_;
### _tog_cup_pixel_is_reserved(): $pixel
if ($X->{'ext'}->{'TOG_CUP'}
|| $X->init_extension('TOG-CUP')) {
my $c;
foreach $c ($X->CupGetReservedColormapEntries($screen_number)) {
if ($c->[0] == $pixel) {
return 1;
}
}
}
return 0;
}
# Similar to window_size().
# Return the depth of $window.
# If $window is one of the root windows then the root_depth from the screen
# info in $X is returned, otherwise the depth is obtained from GetGeometry().
sub _window_depth {
my ($X, $window) = @_;
### _window_depth(): $window
my $screen_info = X11::Protocol::Other::root_to_screen_info($X,$window);
if ($screen_info) {
return $screen_info->{'root_depth'};
}
my %geom = $X->GetGeometry($window);
return $geom{'depth'};
}
# Thought about making this a public method, but doubt it would find much
# use except another setroot. After killing the saved resource properties
# the actual root window background ought to be set to something and a
# ClearArea() to draw.
#
# =item C<X11::Protocol::XSetRoot-E<gt>kill_current ($X)>
#
# =item C<X11::Protocol::XSetRoot-E<gt>kill_current ($X, $root)>
#
# Kill any existing C<_XSETROOT_ID> on the given C<$root> XID. If C<$root>
# is C<undef> or omitted then the C<$X-E<gt>root> default is used.
#
# This is normally only used when changing or replacing the background in
# the way C<set_background()> above does.
#
sub _kill_current {
my ($X, $root) = @_;
### XSetRoot kill_current() ...
# $root ||= $X->{'root'};
# Delete _XROOTPMAP_ID.
# Do this before KillClient(ESETROOT_PMAP_ID) so that _XROOTPMAP_ID is not
# left momentarily as a killed non-existent XID. Though anyone using
# _XROOTPMAP_ID must be prepared for the XID to be destroyed at any time
# since it belongs to another client. We're under a GrabServer() here
# anyway, so no normal clients get in between the deletes and replacement.
#
$X->DeleteProperty($root, $X->atom('_XROOTPMAP_ID'));
# Delete and kill _XSETROOT_ID and ESETROOT_PMAP_ID.
#
foreach my $atom_name ('ESETROOT_PMAP_ID', '_XSETROOT_ID') {
### atom: $X->atom($atom_name)
### $atom_name
my ($value, $type, $format, $bytes_after)
= $X->GetProperty($root,
$X->atom($atom_name),
0, # AnyPropertyType
0, # offset
1, # length
1); # delete
### $type
if ($type == X11::AtomConstants::PIXMAP() && $format == 32) {
my $xid = unpack 'L', $value;
### kill _XSETROOT_ID: sprintf('%#X', $xid)
# For safety check $xid!=0, since KillClient(0) would mean kill all
# temporary clients (ie. all normal clients).
if ($xid) {
$X->KillClient($xid);
}
}
}
### _kill_current() done ...
}
sub _alloc_named_or_hex_color {
my ($X, $colormap, $str) = @_;
### _alloc_named_or_hex_color(): $str
{
my @exact;
if (@exact = X11::Protocol::Other::hexstr_to_rgb($str)) {
my ($pixel, @actual) = $X->AllocColor($colormap, @exact);
return ($pixel, @exact, @actual);
}
}
return $X->AllocNamedColor($colormap, $str);
}
# or maybe $X->num('IDorNone',$xid)
sub _num_none {
my ($xid) = @_;
if ($xid eq 'None') {
return 0;
} else {
return $xid;
}
}
1;
__END__
=for stopwords Ryde pixmap colormap RetainPermanent pre-defined lookup XID Pixmap XSetRoot recognised Esetroot
=head1 NAME
X11::Protocol::XSetRoot -- set root window background
=for test_synopsis my ($X, $pixmap_xid)
=head1 SYNOPSIS
use X11::Protocol::XSetRoot;
X11::Protocol::XSetRoot->set_background (color => 'green');
# or given $X, but which then can't be used any more
X11::Protocol::XSetRoot->set_background
(X => $X,
pixmap => $pixmap_xid,
pixmap_allocated_colors => 1);
=head1 DESCRIPTION
This module sets the X root window background in the style of the
C<xsetroot> program.
The simplest use is a named colour interpreted by the server's usual
C<AllocNamedColor()> or a 1 to 4 digit hex string like "#RRGGBB" or
"#RRRRGGGGBBBB".
X11::Protocol::XSetRoot->set_background
(color => 'green');
X11::Protocol::XSetRoot->set_background
(color => '#FF0000'); # red
A pattern can be set with a pixmap. A pixmap the size of the screen can
give a full background picture.
# draw $pixmap with say $X->black_pixel and $X->white_pixel,
# then set it with
X11::Protocol::XSetRoot->set_background
(X => $X,
pixmap => $pixmap);
C<set_background()> takes ownership of the given C<$pixmap> and frees it
with C<FreePixmap()> once put into the window background.
Setting the root to a pixmap drawn by a program is the main use for this
module. If you just want a solid colour then that can be done easily enough
with the actual C<xsetroot> program.
=head2 Retained Resources
Allocated pixel colours and any C<use_esetroot> preserve pixels and pixmap
with C<SetCloseDownMode('RetainPermanent')> and leave root window properties
C<_XSETROOT_ID> or C<ESETROOT_PMAP_ID> ready to released by C<KillClient()>
at a future background change.
In these cases the C<$X> connection cannot be used any more since a further
background change and consequent C<KillClient()> could occur at any time,
perhaps immediately.
If a C<pixmap> is given then if it contains any allocated pixels
(C<AllocColor()> etc) then this should be indicated with the
C<pixmap_allocated_colors> option. (Allocated pixels are noticed
automatically for C<pixel> and C<color> options.)
# AllocColor colours, draw $pixmap with them, then
#
X11::Protocol::XSetRoot->set_background
(X => $X,
pixmap => $pixmap,
pixmap_allocated_colors => 1);
# don't use $X any more
The easiest thing is to close an C<$X> connection immediately after a
C<set_background()>. Perhaps there could be a return value to say whether a
retain was done and so the connection cannot be used again. Or perhaps if
in the future C<X11::Protocol> had an explicit C<$X-E<gt>close()> then that
could be done here so a closed connection would indicate it cannot be used
further.
If the root visual is static such as C<TrueColor> then there's no colour
allocation as such (C<AllocColor()> is just a lookup). In this case
C<set_background()> knows there's no need for C<RetainPermanent> for
colours, only for pixmaps.
If the C<color> or C<pixel> options are the screen C<black_pixel> or
C<white_pixel> then those pixels exist permanently in the root colormap and
C<set_background()> knows there's no need for C<RetainPermanent>. Similarly
if the server has the TOG-CUP extension (see L<X11::Protocol::Ext::TOG_CUP>)
then any reserved pixels listed there are recognised as permanent.
=head1 Virtual Root
C<XSetRoot> looks for C<__SWM_VROOT> using L<X11::Protocol::WM>
C<root_to_virtual_root()> and acts on that when applicable. Such a virtual
root is used by C<amiwm>, C<swm> and C<tvtwm> window managers and the
C<xscreensaver> program.
Alas the enlightenment window manager uses a background window covering the
root window. This stops most root window programs from working, including
XSetRoot here.
=head1 Esetroot
The C<Esetroot> program and various compatible programs such as C<fvwm-root>
use different properties than C<xsetroot>. The C<Esetroot> method records
the root pixmap ready for use by programs such as C<Eterm>, for example to
implement pseudo-transparency (C<Eterm --trans>, which is what the method
was designed for).
The C<set_background()> option C<use_esetroot> uses the C<Esetroot> style
rather than the default C<xsetroot> style. If this is given with C<pixel>
or C<color> options then C<set_background()> makes a 1x1 pixmap to give a
solid colour.
C<set_background()> always deletes and kills (as appropriate) both the
C<xsetroot> and C<Esetroot> properties since both are superseded by a new
background.
For reference, to use C<Eterm --trans> (as of its version 0.9.6 March 2011)
an C<Esetroot> background should be present at C<Eterm> startup and should
not be removed later (or set to "None"). It doesn't notice a later
C<Esetroot> or re-install. In practice this means C<Esetroot> before
running C<Eterm> and then all future background changes in C<Esetroot>
style.
The advantage of the C<Esetroot> method is that the root pixmap is available
for client programs to use in creative ways. If the client draws some of
the root pixmap as its own background then it can appear semi-transparent
without the SHAPE extension, and perhaps do some visual effects like shading
or dithering.
For comparison the C<xsetroot> style means the root pixmap is not available
to client programs and therefore in principle allows the server to apply it
to the hardware and never refer to it again. In practice that might not
occur, if for example on multiple console "virtual terminals" the server
must give up the hardware when switched away.
=pod
=head1 FUNCTIONS
=over 4
=item C<X11::Protocol::XSetRoot-E<gt>set_background (key=E<gt>value, ...)>
Set the root window background to a pixmap or colour. The key/value
parameters are
X => X11::Protocol object
display => string ":0.0" etc
screen => integer, eg. 0
root => XID of root window
color => string
pixel => integer pixel value
pixmap => XID of pixmap to display, or "None"
pixmap_allocated_colors => boolean, default false
use_esetroot => boolean, default false
The server is given by an C<X> connection object, or a C<display> name to
connect to, or the default is the C<DISPLAY> environment variable.
The root window is given by C<root> or C<screen>, or the default is the
default screen in C<$X> either per C<$X-E<gt>choose_screen()> or the default
from the display name.
The background to show is given by a colour name, pixel value, or pixmap.
C<color> can be anything understood by the server C<AllocNamedColor()>, plus
1 to 4 digit hex
blue named colours
#RGB hex digits
#RRGGBB
#RRRGGGBBB
#RRRRGGGGBBBB
C<pixel> is an integer pixel value in the root window colormap. It's
automatically recognised as allocated or not (the screen pre-defined black
or white and TOG-CUP reserved pixels are permanent and so reckoned not
allocated).
C<pixmap> is an XID integer. C<set_background()> takes ownership of this
pixmap and will C<FreePixmap()> once installed. "None" or 0 means no
pixmap, which gives the server's default root background (usually a black
and white weave pattern).
C<pixmap_allocated_colors> should be true if any of the pixels in C<pixmap>
were allocated with C<AllocColor()> etc, as opposed to just the screen
pre-defined black and white pixels (and any TOG-CUP permanent pixels).
C<use_esetroot> means use the root window properties in the style of
C<Esetroot>. This allows programs such as C<Eterm> to use the root
background for "pseudo-transparency" or in other creative ways.
When an allocated pixel or a pixmap with allocated pixels is set as the
background the C<_XSETROOT_ID> mechanism described above means the C<$X>
connection could be killed by another C<xsetroot> at any time, perhaps
immediately, and for that reason C<$X> should not be used any more. The
easiest way is to make C<set_background()> the last thing done on C<$X>.
Setting an allocated C<pixel> or any C<pixmap> can only be done on a C<$X>
connection as such, not with the C<display> option. This is because
retaining the colours with the C<_XSETROOT_ID> mechanism can only be done
from the client connection which created the resources, not a new separate
client connection.
=back
=head1 ROOT WINDOW PROPERTIES
=over
=item C<_XSETROOT_ID>
For C<xsetroot>, if colours in the root window background are allocated by
C<AllocColor()> etc then C<_XSETROOT_ID> is a pixmap XID which can be killed
by C<KillClient()> to free those colours when the root background is
replaced. C<_XSETROOT_ID> is only a 1x1 dummy pixmap, it's not the actual
root background pixmap.
=item C<_XROOTPMAP_ID>
For C<Esetroot> style, this is the current root window background pixmap.
It might be set by an C<Esetroot> which has run and exited, or it might be
set by a window manager or similar which is still running.
Client programs can use this to combine the root background into their own
window in interesting ways. Listen to C<PropertyNotify> on the root window
for background changes. Note that since this pixmap belongs to another
client it could be freed at any time, so protocol errors when copying or
drawing from it should generally be ignored, or cause a fallback to some
default.
=item C<ESETROOT_PMAP_ID>
For C<Esetroot> style, this is the same as C<_XROOTPMAP_ID> if that pixmap
was created by C<Esetroot> and saved by
C<SetCloseDownMode('RetainPermanent')>. This should be freed by
C<KillClient()> if the background is replaced.
The specification L<http://www.eterm.org/docs/view.php?doc=ref#trans>
advises killing C<ESETROOT_PMAP_ID> only when equal to C<_XROOTPMAP_ID>.
Probably it's safer to always kill C<ESETROOT_PMAP_ID> if replacing its
value, to be sure of not leaking resources. But perhaps if both
C<ESETROOT_PMAP_ID> and C<_XROOTPMAP_ID> exist then they are always equal.
=back
=head1 ENVIRONMENT
=over
=item C<DISPLAY>
The default X server.
=back
=head1 FILES
F</etc/X11/rgb.txt> on the server, being the usual colour names database for
the C<color> option above.
=head1 SEE ALSO
L<X11::Protocol>,
L<X11::Protocol::Ext::TOG_CUP>
L<xsetroot(1)>,
L<Esetroot(1)>,
L<Eterm(1)>,
L<fvwm-root(1)>
L<http://www.eterm.org/docs/view.php?doc=ref#trans>
L<http://www.eterm.org/doc/Eterm_reference.html#trans>
=head1 HOME PAGE
L<http://user42.tuxfamily.org/x11-protocol-other/index.html>
=head1 LICENSE
Copyright 2010, 2011, 2012, 2013 Kevin Ryde
X11-Protocol-Other is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3, or (at your option) any later
version.
X11-Protocol-Other is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
X11-Protocol-Other. If not, see <http://www.gnu.org/licenses/>.
=cut
|