mcde: import Motif 2.3.8 unchanged into ext/src/mcde/motif
The toolkit MCDE is built with, from now on part of MCDE and installed with it: the same Motif on every system, whatever the system has (the host's Motif 2.3.8 without pkgsrc's patches made dtsystemsettings crash in XmStringExtent). The archive as it is (sha512 in IMPORT); pkgsrc's patches and the build follow as commits of their own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a5fdba53d8
commit
2b6a86e5a2
2106 files changed
+956867
No files matched your search
@@ -9,3 +9,20 @@ pkgsrc wm/cde at pkgsrc 3c1118e94432 (the pin of this tree), copied to pkgsrc/
|
||||
licence GNU LGPL 2.0 or later (COPYING), pkgsrc LICENSE=gnu-lgpl-v2
|
||||
imported 2026-11-09, unchanged: the commit that adds this file is the tarball and
|
||||
the recipe as they were; every later change is a commit on top
|
||||
|
||||
# motif/ -- Motif, the toolkit MCDE is built with, kept in this tree and
|
||||
# installed with MCDE, so that MCDE runs with the same Motif on every system
|
||||
# (Konrad, 2026-11-11: "motif in unseren mcde source mit aufnehmen und immer
|
||||
# mit installieren als eigene motif version so das es egal is was das
|
||||
# system hat").
|
||||
|
||||
upstream Motif, https://sourceforge.net/projects/motif/
|
||||
version 2.3.8
|
||||
archive motif-2.3.8.tar.gz (pkgsrc x11/motif MASTER_SITES, sourceforge motif/)
|
||||
size 5704328 bytes
|
||||
sha512 1ab8e8eece25ef97e948592b5fa3e19d98e932695290a18b7a8e90f1aa2766bc4f082bdbc3999dff5660e684821178a149040f76bb477163e53ca06474d02b55
|
||||
pkgsrc x11/motif at pkgsrc 3c1118e94432 (PKGREVISION 4): its 28 patches are the
|
||||
commit after the import
|
||||
licence GNU LGPL 2.1 or later (motif/COPYING), pkgsrc LICENSE=gnu-lgpl-v2.1
|
||||
imported 2026-11-11, unchanged: the commit that adds motif/ is the tarball as
|
||||
it was (git add -f: MCDE's .gitignore hides configure and Makefile.in)
|
||||
@@ -0,0 +1,2 @@
|
||||
Please submit bugs to the on-line bug database:
|
||||
http://bugs.motifzone.net
|
||||
+502
@@ -0,0 +1,502 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
+3744
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,190 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
|
||||
If you don't see `configure' shell script in the package directory
|
||||
run `autogen.sh'. It will run in turn libtoolize, aclocal, autoconf,
|
||||
autoheader and automake commands that will produce `configure' shell
|
||||
script. If you don't see `configure' shell script that means one of the
|
||||
listed above commands failed and you need to update/install autotools
|
||||
package on your system.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./autogen.sh' to create configure shell script according to your
|
||||
environment and to run automatically 'configure' of the package
|
||||
for your system. If you're using `csh' on an old version of System
|
||||
V, you might need to type `sh ./autogen.sh' instead to prevent `csh'
|
||||
from trying to execute `autogen.sh' itself.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=PATH' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
@@ -0,0 +1,33 @@
|
||||
datadir = ${prefix}/share/Xm/doc
|
||||
|
||||
#data_DATA = BUGREPORT COPYRIGHT.MOTIF COPYING \
|
||||
# README RELEASE RELNOTES
|
||||
|
||||
EXTRA_DIST = BUGREPORT \
|
||||
COPYING \
|
||||
README RELEASE RELNOTES \
|
||||
INSTALL.configure Makefile.imake-pure
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in \
|
||||
configure libtool \
|
||||
config.guess \
|
||||
config.sub \
|
||||
config.log \
|
||||
ltconfig ltmain.sh \
|
||||
aclocal.m4 \
|
||||
config.h.in \
|
||||
install-sh \
|
||||
missing mkinstalldirs \
|
||||
compile
|
||||
|
||||
SUBDIRS = bindings bitmaps \
|
||||
config \
|
||||
localized \
|
||||
lib \
|
||||
include \
|
||||
tools \
|
||||
clients \
|
||||
doc \
|
||||
demos
|
||||
AUTOMAKE_OPTIONS = 1.4
|
||||
ACLOCAL_AMFLAGS = -I .
|
||||
@@ -0,0 +1,190 @@
|
||||
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
#
|
||||
# Motif
|
||||
#
|
||||
# These libraries and programs are free software; you can
|
||||
# redistribute them and/or modify them under the terms of the GNU
|
||||
# Lesser General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# These libraries and programs are distributed in the hope that
|
||||
# they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU Lesser General Public License for more
|
||||
# details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with these librararies and programs; if not, write
|
||||
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
# Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Makefile.ini
|
||||
#
|
||||
# This is a toplevel Makefile for bootstrapping an initial build of Motif
|
||||
# Release 2.x. It provides two targets: Makefile (for the cautious) and
|
||||
# World (for the bold). After the full Makefile has been produced, that
|
||||
# should be used. However, if it is accidentally corrupted, or a build
|
||||
# is initiated on a new platform, Makefile.ini can be used to restart.
|
||||
#
|
||||
RELEASE = "Release 2.3.4"
|
||||
PRODUCT = "Motif"
|
||||
SHELL = /bin/sh
|
||||
RM = rm -f
|
||||
MV = mv
|
||||
NMAKE = nmake
|
||||
WORLDOPTS = -k
|
||||
WIN32WORLDOPTS = -i
|
||||
TOP = .
|
||||
CURRENT_DIR = .
|
||||
CONFIGSRC = $(TOP)/config
|
||||
IMAKESRC = $(CONFIGSRC)/imake
|
||||
DEPENDSRC = $(CONFIGSRC)/makedepend
|
||||
DEPENDTOP = ../..
|
||||
IMAKETOP = ../..
|
||||
IRULESRC = $(CONFIGSRC)/cf
|
||||
IMAKE = $(IMAKESRC)/imake
|
||||
IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES)
|
||||
MAKE_OPTS = -f xmakefile
|
||||
MAKE_CMD = $(MAKE) $(MAKE_OPTS)
|
||||
NMAKE_CMD = $(NMAKE) $(MAKE_OPTS)
|
||||
FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
|
||||
|
||||
all:
|
||||
@$(MAKE_CMD) xmakefile-exists || $(MAKE) all-initial
|
||||
@$(MAKE_CMD) $@
|
||||
|
||||
all-initial:
|
||||
@echo "Please begin by using make World or make Makefile. You may"
|
||||
@echo "find it necessary to set the make variable BOOTSTRAPCFLAGS in"
|
||||
@echo "order to compile imake. One common example is"
|
||||
@echo "\"BOOTSTRAPCFLAGS=-I<dir>\", where <dir> is the top of your"
|
||||
@echo "X11R6 source tree. Remember to check the configuration"
|
||||
@echo "parameters in the config directory."
|
||||
@echo
|
||||
@echo "We recommend that you read the release notes carefully before"
|
||||
@echo "proceeding; they can be found under the doc directory. If"
|
||||
@echo "the top-level Makefile gets corrupted, copy Makefile.ini to"
|
||||
@echo "Makefile and try again. Do not name your log file make.log or"
|
||||
@echo "it will be deleted."
|
||||
|
||||
World:
|
||||
@echo ""
|
||||
@echo "Building $(RELEASE) of $(PRODUCT)"
|
||||
@echo ""
|
||||
@case "x$(BOOTSTRAPCFLAGS)" in x) \
|
||||
echo I hope you checked the configuration parameters in $(IRULESRC) ; \
|
||||
echo to see if you need to pass BOOTSTRAPCFLAGS. ; \
|
||||
echo "" ; \
|
||||
;; esac;
|
||||
@date
|
||||
@echo ""
|
||||
cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean
|
||||
$(MAKE) $(MFLAGS) Makefile.boot
|
||||
$(MAKE_CMD) $(MFLAGS) VerifyOS
|
||||
$(MAKE_CMD) $(MFLAGS) Makefiles
|
||||
$(MAKE_CMD) $(MFLAGS) testsMakefile
|
||||
$(MAKE_CMD) $(MFLAGS) clean
|
||||
$(MAKE_CMD) $(MFLAGS) includes
|
||||
$(MAKE_CMD) $(MFLAGS) depend
|
||||
$(MAKE_CMD) $(MFLAGS) $(WORLDOPTS)
|
||||
@echo ""
|
||||
@date
|
||||
@echo ""
|
||||
@echo "Full build of $(RELEASE) of $(PRODUCT) complete."
|
||||
@echo ""
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
# This is just a sequence of bootstrapping steps we have to do.
|
||||
# The steps are listed as separate targets so clearmake can wink in
|
||||
# the Makefile.proto files.
|
||||
Makefile.boot: imake.proto $(DEPENDSRC)/Makefile.proto depend.bootstrap $(IMAKESRC)/Makefile.proto imake.bootstrap
|
||||
|
||||
imake.proto:
|
||||
cd $(IMAKESRC) && $(MAKE) $(FLAGS)
|
||||
$(RM) $(DEPENDSRC)/Makefile.proto
|
||||
|
||||
$(DEPENDSRC)/Makefile.proto:
|
||||
$(IMAKE_CMD) -s $(DEPENDSRC)/Makefile.proto -f $(DEPENDSRC)/Imakefile -DTOPDIR=$(DEPENDTOP) -DCURDIR=$(DEPENDSRC)
|
||||
|
||||
depend.bootstrap:
|
||||
cd $(DEPENDSRC) && $(RM) -r Makefile Makefile.dep makedepend *.o bootstrap
|
||||
cd $(DEPENDSRC) && $(MAKE) -f Makefile.proto bootstrap
|
||||
|
||||
$(IMAKESRC)/Makefile.proto:
|
||||
$(IMAKE_CMD) -s $(IMAKESRC)/Makefile.proto -f $(IMAKESRC)/Imakefile -DTOPDIR=$(IMAKETOP) -DCURDIR=$(IMAKESRC)
|
||||
|
||||
imake.bootstrap:
|
||||
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto bootstrapdepend
|
||||
cd $(IMAKESRC) && $(MAKE) $(FLAGS) bootstrap
|
||||
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto all
|
||||
-@if [ -f xmakefile ]; then set -x; \
|
||||
$(RM) xmakefile.bak; $(MV) xmakefile xmakefile.bak; \
|
||||
else exit 0; fi
|
||||
$(MAKE) $(MFLAGS) xmakefile
|
||||
|
||||
Makefile::
|
||||
$(MAKE) $(MFLAGS) xmakefile
|
||||
|
||||
xmakefile: Imakefile
|
||||
$(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
|
||||
|
||||
World.Win32:
|
||||
@echo :
|
||||
@echo Building $(RELEASE) of $(PRODUCT).
|
||||
@echo :
|
||||
@echo :
|
||||
cd $(IMAKESRC)
|
||||
$(NMAKE) -f Makefile.ini clean.Win32
|
||||
$(NMAKE) -f Makefile.ini imake.exe
|
||||
cd ..\..
|
||||
-if exist xmakefile.bak del xmakefile.bak
|
||||
-if exist xmakefile ren xmakefile xmakefile.bak
|
||||
$(IMAKE:/=\) -s xmakefile -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
|
||||
$(NMAKE_CMD) $(MFLAGS) VerifyOS
|
||||
$(NMAKE_CMD) $(MFLAGS) Makefiles
|
||||
$(NMAKE_CMD) $(MFLAGS) testsMakefile
|
||||
$(NMAKE_CMD) $(MFLAGS) clean
|
||||
$(NMAKE_CMD) $(MFLAGS) includes
|
||||
$(NMAKE_CMD) $(MFLAGS) depend
|
||||
$(NMAKE_CMD) $(MFLAGS) $(WIN32WORLDOPTS)
|
||||
@echo :
|
||||
@echo :
|
||||
@echo Full build of $(RELEASE) of $(PRODUCT) complete.
|
||||
@echo :
|
||||
|
||||
|
||||
# don't allow any default rules in this Makefile
|
||||
.SUFFIXES:
|
||||
|
||||
# a copy of every rule that might be invoked at top level
|
||||
|
||||
clean:
|
||||
$(MAKE_CMD) $@
|
||||
dangerous_strip_clean:
|
||||
$(MAKE_CMD) $@
|
||||
depend:
|
||||
$(MAKE_CMD) $@
|
||||
Everything:
|
||||
$(MAKE_CMD) $@
|
||||
external.ln:
|
||||
$(MAKE_CMD) $@
|
||||
includes:
|
||||
$(MAKE_CMD) $@
|
||||
install.ln:
|
||||
$(MAKE_CMD) $@
|
||||
install.man:
|
||||
$(MAKE_CMD) $@
|
||||
install:
|
||||
$(MAKE_CMD) $@
|
||||
install.cde:
|
||||
$(MAKE_CMD) $@
|
||||
Makefiles:
|
||||
$(MAKE_CMD) $@
|
||||
man_keywords:
|
||||
$(MAKE_CMD) $@
|
||||
tags:
|
||||
$(MAKE_CMD) $@
|
||||
VerifyOS:
|
||||
$(MAKE_CMD) $@
|
||||
@@ -0,0 +1,867 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/ac_find_xft.m4 \
|
||||
$(top_srcdir)/ac_image_support.m4 $(top_srcdir)/libtool.m4 \
|
||||
$(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \
|
||||
$(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
$(am__configure_deps) $(am__DIST_COMMON)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/lib/Xm/Xm.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||
install-data-recursive install-dvi-recursive \
|
||||
install-exec-recursive install-html-recursive \
|
||||
install-info-recursive install-pdf-recursive \
|
||||
install-ps-recursive install-recursive installcheck-recursive \
|
||||
installdirs-recursive pdf-recursive ps-recursive \
|
||||
tags-recursive uninstall-recursive
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
$(RECURSIVE_TARGETS) \
|
||||
$(RECURSIVE_CLEAN_TARGETS) \
|
||||
$(am__extra_recursive_targets)
|
||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||
cscope distdir dist dist-all distcheck
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
CSCOPE = cscope
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in COPYING ChangeLog README TODO \
|
||||
compile config.guess config.sub install-sh ltmain.sh missing
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
if test -d "$(distdir)"; then \
|
||||
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -rf "$(distdir)" \
|
||||
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||
else :; fi
|
||||
am__post_remove_distdir = $(am__remove_distdir)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
DIST_TARGETS = dist-gzip
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AGE = @AGE@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CDE_CONFIGURATION_TOP = @CDE_CONFIGURATION_TOP@
|
||||
CDE_INSTALLATION_TOP = @CDE_INSTALLATION_TOP@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFDIR = @CONFDIR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CURRENT = @CURRENT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
|
||||
FGREP = @FGREP@
|
||||
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
||||
GREP = @GREP@
|
||||
INCDIR = @INCDIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_XP = @LIB_XP@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MWMRCDIR = @MWMRCDIR@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OM22_COMPATIBILITY_FALSE = @OM22_COMPATIBILITY_FALSE@
|
||||
OM22_COMPATIBILITY_TRUE = @OM22_COMPATIBILITY_TRUE@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PRINTING_SUPPORTED_FALSE = @PRINTING_SUPPORTED_FALSE@
|
||||
PRINTING_SUPPORTED_TRUE = @PRINTING_SUPPORTED_TRUE@
|
||||
RANLIB = @RANLIB@
|
||||
REVISION = @REVISION@
|
||||
RM = @RM@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SPLINT = @SPLINT@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMBINDDIR_FALLBACK = @XMBINDDIR_FALLBACK@
|
||||
XMKMF = @XMKMF@
|
||||
XMTHEME_DIST = @XMTHEME_DIST@
|
||||
XRENDER_CFLAGS = @XRENDER_CFLAGS@
|
||||
XRENDER_LIBS = @XRENDER_LIBS@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
X_XMU = @X_XMU@
|
||||
YACC = @YACC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
confdir = @confdir@
|
||||
datadir = ${prefix}/share/Xm/doc
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fc_config = @fc_config@
|
||||
ft_config = @ft_config@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
#data_DATA = BUGREPORT COPYRIGHT.MOTIF COPYING \
|
||||
# README RELEASE RELNOTES
|
||||
EXTRA_DIST = BUGREPORT \
|
||||
COPYING \
|
||||
README RELEASE RELNOTES \
|
||||
INSTALL.configure Makefile.imake-pure
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in \
|
||||
configure libtool \
|
||||
config.guess \
|
||||
config.sub \
|
||||
config.log \
|
||||
ltconfig ltmain.sh \
|
||||
aclocal.m4 \
|
||||
config.h.in \
|
||||
install-sh \
|
||||
missing mkinstalldirs \
|
||||
compile
|
||||
|
||||
SUBDIRS = bindings bitmaps \
|
||||
config \
|
||||
localized \
|
||||
lib \
|
||||
include \
|
||||
tools \
|
||||
clients \
|
||||
doc \
|
||||
demos
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.4
|
||||
ACLOCAL_AMFLAGS = -I .
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh: Makefile
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run 'make' without going through this Makefile.
|
||||
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||
$(am__recursive_targets):
|
||||
@fail=; \
|
||||
if $(am__make_keepgoing); then \
|
||||
failcom='fail=yes'; \
|
||||
else \
|
||||
failcom='exit 1'; \
|
||||
fi; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-recursive
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-recursive
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscope: cscope.files
|
||||
test ! -s cscope.files \
|
||||
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||
clean-cscope:
|
||||
-rm -f cscope.files
|
||||
cscope.files: clean-cscope cscopelist
|
||||
cscopelist: cscopelist-recursive
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
$(am__make_dryrun) \
|
||||
|| test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-lzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
@echo WARNING: "Support for distribution archives compressed with" \
|
||||
"legacy program 'compress' is deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
@echo WARNING: "Support for shar distribution archives is" \
|
||||
"deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist dist-all:
|
||||
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lz*) \
|
||||
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir)
|
||||
chmod u+w $(distdir)
|
||||
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build/sub \
|
||||
&& ../../configure \
|
||||
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__post_remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@test -n '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: trying to run $@ with an empty' \
|
||||
'$$(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(am__recursive_targets) install-am install-strip
|
||||
|
||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
||||
am--refresh check check-am clean clean-cscope clean-generic \
|
||||
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
||||
dist-xz dist-zip distcheck distclean distclean-generic \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-am uninstall uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,9 @@
|
||||
Please see the file COPYING for important information.
|
||||
|
||||
Please see the file RELNOTES for current Release information.
|
||||
|
||||
Please see the file INSTALL.configure on how to build and install
|
||||
this product using the autoconf tools.
|
||||
|
||||
Please see the file distro/README.RPM for information on creating
|
||||
rpms from this source tree.
|
||||
@@ -0,0 +1 @@
|
||||
Motif 2.3.8 Tue Dec 5 14:42:42 EET 2017
|
||||
+420
@@ -0,0 +1,420 @@
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
|
||||
Motif 2.3.8
|
||||
|
||||
Release Notes
|
||||
|
||||
The Open Group
|
||||
and
|
||||
Integrated Computer Solutions
|
||||
|
||||
|
||||
This document provides Release Notes for the release of Motif 2.3.8.
|
||||
|
||||
This contains information on what is new in Motif 2.3.8.
|
||||
Please see the COPYING file included with this release.
|
||||
|
||||
|
||||
Introduction
|
||||
|
||||
This document and accompanying text files contain important information.
|
||||
Please read them carefully before starting the build and
|
||||
installation procedures.
|
||||
|
||||
There are two ways to build Motif from source code: Imake and AutoTools.
|
||||
|
||||
If you are using Imake, please read INSTALL.imake for notes on how to build
|
||||
and install this product using Imake. This method is deprecated due to
|
||||
a lack of support. Users wishing to apply/test and patch the Imake system
|
||||
should join the development mailing list; all contributions are welcome.
|
||||
|
||||
Please see the file INSTALL.configure on how to build and install this product
|
||||
using the autoconf tools. This method is now fully supported and
|
||||
is the recommended build method.
|
||||
|
||||
|
||||
1. What is Motif
|
||||
|
||||
Motif is a freely available source code distribution for the
|
||||
Motif user interface component toolkit. Motif is built on top of the
|
||||
standard X Toolkit(Xt) and X11 libraries.
|
||||
|
||||
1.1. Overview of Motif
|
||||
|
||||
Motif 2.3.X is an updated version of Motif 2.3.
|
||||
Any applications built against a previous 2.x release of Motif will be
|
||||
binary compatible with this release.
|
||||
|
||||
Pre-compiled versions are available for download at the ICS MotifZone:
|
||||
|
||||
http://motif.ics.com
|
||||
|
||||
After downloading this source distribution, it will need to be unpacked
|
||||
and compiled. The distribution contains the following items:
|
||||
|
||||
* libXm source code and include files
|
||||
* Motif reference documentation (man pages)
|
||||
* Utility libraries
|
||||
* Demo programs
|
||||
|
||||
|
||||
2. What is new in Motif 2.3.8
|
||||
|
||||
This is a bug fix release.
|
||||
|
||||
* Fixed bug 1660: TextField leaves a residual cursor shadow on focus lose
|
||||
* Fixed bug 1659: Many cases of typos in horizontal/vertical conditions in the code
|
||||
* Fixed bug 1658: motif does crash on OpenSuse Leap 42.2
|
||||
* Fixed bug 1656: TabStack with tabSelectColor and Right causes BadMatch Error
|
||||
* Fixed bug 1625: Open Motif build fails due to weak aliases on Darwin with cl
|
||||
* Fixed bug 1655: Motif 2.3.6 and 2.3.4 do not work with XQuartz 2.7.9 and later
|
||||
* Fixed bug 1652: Add support for more Cyrillic locales
|
||||
* Fixed bug 1650: Memory leak in DataF.c
|
||||
* Fixed bug 1651: motif-2.3.5 tarball contains lib/Xm/Xm.h file generated by configure
|
||||
* Fixed bug 1665: Closing open menus with mouse click disables keyboard shortcut
|
||||
|
||||
|
||||
3. Build Systems
|
||||
|
||||
Motif 2.3.x was built and tested on the following systems:
|
||||
* Fedora 15 x86_64
|
||||
* Solaris 10 sparc
|
||||
|
||||
In all cases, the compiler originally provided with the OS was used.
|
||||
|
||||
3.1. OS Support
|
||||
|
||||
The following platforms are supported operating systems:
|
||||
|
||||
* Linux 2.6
|
||||
* Solaris 10
|
||||
|
||||
4. Filing Bug Reports
|
||||
|
||||
If you find a reproducible bug in any of the Motif libraries or code,
|
||||
or an error in the documentation, please reference the BUGREPORT file
|
||||
and/or submit a bug report online at:
|
||||
|
||||
http://bugs.motifzone.org
|
||||
|
||||
The status of submitted bugs is maintained there.
|
||||
|
||||
|
||||
5. Documentation
|
||||
|
||||
For postscript and PDF documentation (users guides and reference
|
||||
manuals), see the URL:
|
||||
|
||||
http://www.opengroup.org/openmotif/docs/
|
||||
|
||||
|
||||
6. Compatibility Notice
|
||||
|
||||
Motif 2.3.x is binary compatible with Motif 2.2.x.
|
||||
Applications built against Motif 2.2 should work with Motif 2.3.x
|
||||
without having to recompile it.
|
||||
|
||||
Motif 2.3.x is not binary compatible with Motif 2.1.30.
|
||||
Applications built against Motif 2.1.30 will need to be recompiled
|
||||
with the Motif 2.2+ header files.
|
||||
|
||||
|
||||
7. Change Log
|
||||
|
||||
2.3.8 December 2017
|
||||
Current release
|
||||
|
||||
2.3.7 March 2017
|
||||
* Fixed segmentation faults associated with option menus or other popup windows
|
||||
|
||||
2.3.6 June 2016
|
||||
* Fixed bug 1654 (Rendering issues seen while scrolling window)
|
||||
* Fixed parallel building error
|
||||
|
||||
2.3.5 March 2016
|
||||
* Reimplemented bugfix 1565 (The active window changes to inactive when the drop down list is clicked)
|
||||
* Fixed bug 1636 (XmList segfault when left-shift left-button click on list item)
|
||||
* Fixed bug #1612 (Label size computed wrong within a Form)
|
||||
* Fixed bug #1611 (Using deprecated X functions)
|
||||
* Fixed bug #1604 (Using deprecated X functions)
|
||||
* Fixed bug #1581 (Buffer overrun in FontS.c)
|
||||
* Fixed many compile-time bugs
|
||||
|
||||
2.3.4 October 2012
|
||||
* Fixed bug #1565 (The active window changes to inactive when the drop down
|
||||
list is clicked)
|
||||
* Implemented feature request #1300 (Keypad arrows don't work)
|
||||
* Fixed bug #1496 (Version 2.3.2 won't compile if configured
|
||||
enable-message-catalog)
|
||||
* Dropped fix #1359 (File dialog filter problem with * or [ in directory)
|
||||
* Fixed bug #1530 (SimpleSpinBox doesn't return correct values for child on
|
||||
some platforms)
|
||||
* Fixed bug #1272 (Application goes into infinite loop in TraversalI.c:Sort())
|
||||
* Fixed bug #1529 (Copy/paste problem with Clipboard)
|
||||
* Fixed bug #1536 (Performance issue: XmListSetPos() is very very slow)
|
||||
* Fixed bug #1501 (XmText widget sensitive/unsensitive is visibly same
|
||||
at startup)
|
||||
* Refixed bug #1381 (Sensitivity invisible with antialiased fonts)
|
||||
* Fixed bug #1510 (Input methods do not work with XFT fonts)
|
||||
* Fixed bug #1500 (XmPushButton with grayscale pixmap is not changed visibly
|
||||
when it's sensitivity is changed)
|
||||
* Fixed bug #1540 (XpmCreateBufferFromPixmap function doesn't work properly)
|
||||
* Fixed bug #1505 (Some problems with new insensitive code for label pixmaps)
|
||||
* Fixed bug #1534 (im_widget double-free issue)
|
||||
* Fixed bug #1535 (Destroying a torn-off menu with a submenu mapped causes
|
||||
a crash)
|
||||
* Fixed bug #1532 (Incorrect handling of clip areas for a string (XmString.c))
|
||||
* Fixed bug #1531 (Using DataField widget with XFT font causes an X Error)
|
||||
* Fixed bug #1519 (XmSpinBoxValidatePosition does not properly check
|
||||
XmNincrementValue)
|
||||
* Added missing #ifdef USE_XFT directive to the patch #1521
|
||||
* Fixed bug #1488 (XmStringDraw clip not honored)
|
||||
* Fixed bug #1479 (Compiling libUil fails on mac OS X 10.5)
|
||||
* Fixed bug #1528 (Scale widget has some Geometry issues)
|
||||
* Fixed bug #1518 (gcc check in configure script does not use $CC)
|
||||
* Fixed misspellings in the manpage
|
||||
* Fixed bug #1504 (Changing sensitivity on a PushButton with Pixmap
|
||||
causes recomputeSize)
|
||||
* Fixed bug #1516 (Can receive X error setting pixmaps to
|
||||
XmUNSPECIFIED_PIXMAP on PushButton)
|
||||
* Fixed bug #1503 (XmNtabBackground resource is not working properly
|
||||
in XmTabStack widget)
|
||||
* Fixed bug #1512 (Small configure portability fix)
|
||||
* Fixed bug #1523 (Check a return value of XmCvtXmStringToCT before
|
||||
use in strlen)
|
||||
* Refixed bug #1473 (When we set XmNvisibleItemCount resource available in
|
||||
XmComboBox, the widget displays the wrong number of items)
|
||||
* Fixed bug #1521 (LabelGadget draws the text over border of its parent)
|
||||
* Fixed in order to provide compatibility with libpng14, backwards
|
||||
compatible with libpng12
|
||||
* Fixed dependencies in order to allow build with "make -j"
|
||||
* Fixed bug #1509 (background pixmap not fully displayed)
|
||||
* Fixed bug #1517 (LabelGadget draws over parent window with
|
||||
the background color)
|
||||
* Fixed bug #1507 (LDFLAGS not respected for building libXm
|
||||
and libMrm libraries)
|
||||
* Fixed bug #1511 (CheckBook program from EditTable samples crashes
|
||||
with Motif since 2.3.0 release.)
|
||||
* Fixed bug #1495 (mwm's icon box has graphics corruption)
|
||||
* Fixed in order to provide PRINTING_SUPPORTED and USE_XFT
|
||||
macro definitions in Xm.h
|
||||
* Fixed in order to allow build without libXp
|
||||
* Refixed bug #1321 (Pasting into XmTextField is unreliable)
|
||||
* Fixed bug #1502 (crash in ToolTipGetData())
|
||||
* Removed xmPanedWindowWidgetClass definition
|
||||
* Fixed bug #1474 (Incrementation of XmNvisibleItemCount value does not work
|
||||
properly in XmComboBox)
|
||||
|
||||
2.3.3 March 2010
|
||||
* Fixed bug #1195 (Making on FreeBSD with non GNU make)
|
||||
* Refixed bug #1388 (SEGV error moving mouse over window related
|
||||
to XmToolTipGetLabel)
|
||||
* Fixed bug #1489 (Paned.h is not included by XmAll.h)
|
||||
* Fixed bug #1486 (Tooltip in DropDown widget makes X hang up)
|
||||
* Dropped fix #1476 (PanedWindow orientation error)
|
||||
* Fixed bug #1320 (Resizing a scrolled text widget can be very, very slow)
|
||||
* Fixed bug #1449 (Uninitalised memory access with XFT fonts)
|
||||
* Fixed bug #1418 (Add file with instructions how to build from CVS)
|
||||
* Refixed bug #1381 (Sensitivity invisible with antialiased fonts)
|
||||
* Fixed bug #1484 (Warning on XmRlabelType when I put a pixmap
|
||||
and a value "top" on XmNPixmapPlacement)
|
||||
* Fixed bug #1475 (autoconf warning "X11/Xmu/Editres.h header present
|
||||
but cannot be compiled")
|
||||
* Fixed bug #1426 (Make location of system.mwmrc configurable)
|
||||
* Fixed bug #1451 (XmStringDrawImage works incorrectly with XFT)
|
||||
* Fixed bug #1453 (MultiList not displayed properly)
|
||||
* Fixed bug #1412 (An insensitive popup menu parent lead to a display-freezing)
|
||||
* Fixed bug #345 (Motif accelerators XmNaccelerator do not work
|
||||
with CapsLock/ScrollLock/NumLock modifiers)
|
||||
* Added splint checking and splint target
|
||||
* Fixed bug #1299 (XmForm erroneously finds "Circular dependency"
|
||||
if widgets are inter-attachmed in vertical/horizontal directions)
|
||||
|
||||
2.3.2 March 2009
|
||||
* Fixed bug #1473 (When we set XmNvisibleItemCount resource available in
|
||||
XmComboBox, the widget displays the wrong number of items)
|
||||
* Added missing 'O' character to UTF8_SUPPORTED macro
|
||||
* Fixed bug #1476 (PanedWindow orientation error)
|
||||
* Fixed bug #1277 (paned widget does not work under Fedora Core 2
|
||||
with motif 2.2.3-4.1)
|
||||
* Fixed bug #1212 (XmDropSiteRetrieve frees XRectangles before
|
||||
caller can use them)
|
||||
* Fixed in order to allow build out of source tree
|
||||
* Added wml_DEPENDENCIES in tools/wml/Makefile.am
|
||||
* Added ACLOCAL_AMFLAGS in Makefile.am
|
||||
|
||||
2.3.1 September 2008
|
||||
* Added ${prefix}/share/Xm as possible prefix for demos binaries installation
|
||||
* Fixed bug #1443 (Build failure on FreeBSD: undefined reference to
|
||||
`libiconv_open')
|
||||
* Fixed bug #1427 (_xrm '*.iconPixmap:SDtErrors.l' produces bogus
|
||||
error messages)
|
||||
* Refixed bug #1381 (Sensitivity invisible with antialiased fonts)
|
||||
* Fixed bug #1359 (File dialog filter problem with * or [ in directory)
|
||||
* Fixed bug #1446 (Arrow button in DropDown widget issue.)
|
||||
* Fixed bug #1328 (Desktop hang: motif application in XGrabPointer)
|
||||
* Fixed bug #1425 (Resetting entryParent causes crash)
|
||||
* Fixed bug #1439 (warnings during compilation in TabBox.c)
|
||||
* Fixed bug #1420 (DataF.c holds message strings.)
|
||||
* Fixed bug #1419 (Bindings of DataField defined in DataF.c instead
|
||||
of TranslNew.c)
|
||||
* Fixed bug #1431 (motif 2.3 and xorg 7.1.0 64bit problems)
|
||||
* Fixed bug #1432 (XmContainer incorrect GC allocation)
|
||||
* Fixed bug #1250 (XmCombo glyph is unexpectedly shifted
|
||||
when setting XmNvisibleItemCount)
|
||||
* Fixed bug #1401 (Specifying state pixmaps in Container causes crash)
|
||||
* Refixed bug #1442 (Crash on Drag'n'Drop)
|
||||
* Fixed bug #1445 (PopupShell is closing on MouseWheel)
|
||||
* Refixed bug #1371 (XmComboBox problem on FC6)
|
||||
* Fixed bug #1438 (Missing XSetErrorHandler call in XmXftDrawCreate)
|
||||
* Fixed bug #1444 (Function _XmXftDrawCreate() does not work correct
|
||||
with the pixmap)
|
||||
* Fixed bug #1434 (single character utf8 sting is not displayed)
|
||||
* Fixed bug #1442 (Crash on Drag'n'Drop)
|
||||
* Fixed bug #1436 (Definition of GetSameRenditions in XmRenderT.c
|
||||
needs USE_XFT conditional)
|
||||
* Fixed bug #1400 (Corrupted per-display font cache)
|
||||
* Fixed bug #1440 (Tags array size in Label widget is not enough)
|
||||
* Fixed bug #1429 (Build failure with libtool-2.2.4)
|
||||
|
||||
2.3.1 Beta 1 May 2008
|
||||
* Fixed bug #1410 (setting XmNisHomogeneous to True without setting
|
||||
XmNentryClass causes sigfault)
|
||||
* Fixed bug #1402 (Toggle button circular buttons can not mimic modern look)
|
||||
* Fixed bug #1415 (XFT width calculation problem)
|
||||
* Fixed bug #1362 (Repeated calls to XmListReplaceItemsPos
|
||||
cause Error: Cannot perform malloc when using Extended_Select)
|
||||
* Fixed bug #1365 (Top pixel of German character I with top '^' leaves trails)
|
||||
* Fixed bug #1414 (XFT support slowness)
|
||||
* Fixed bug #1351 (Bad dynamic propagation of the sensitive state
|
||||
to popup menus)
|
||||
* Fixed bug #1409 (XmTextField sometimes crashes if a string is set
|
||||
by XtSetValues when XmNmodifyVerifyCallback is set (Only in multibyte locale))
|
||||
* Fixed bug #1398 (newline not supported in UTF-8 mode)
|
||||
* Fixed bug #1406 (Insensitive icon on XmPushButton black instead of grayed out)
|
||||
* Fixed bug #1396 (ScrollBar warning when XmNotebook resized)
|
||||
* Refixed bug #1388 (SEGV error moving mouse over window
|
||||
related to XmToolTipGetLabel).
|
||||
* Fixed bug #1405 (Menus too short if PIXMAP_AND_STRING is used in PushButtons)
|
||||
* Fixed bug #1404 (PIXMAP_AND_STRING causes crash
|
||||
in XmPushButtton in OptionMenu)
|
||||
* Fixed incorrect parenthesis in if statement
|
||||
* Fixed bug #1371 (XmComboBox problem on FC6)
|
||||
* Fixed bug #1296 (Drag-and-drop behaves incorrectly
|
||||
if XtSetLanguageProc() is present)
|
||||
* Fixed bug #1399 (cut and copy don't work in XmText widget)
|
||||
* Added /usr as possible prefix for toolkit installation
|
||||
* Fixed bug #1395 (Wrong label foreground for etched in menus)
|
||||
* Fixed bug #1392 (The label widgets can have their core class
|
||||
translations changed).
|
||||
* Fixed bug #1337 (XmPushButton's ArmAndActivate() has incorrect callback call).
|
||||
* Fixed bug #1384 (Use of freed storage in XmContainer).
|
||||
* Fixed bug #1209 (XmTextPaste crashes using XmTextField).
|
||||
* Fixed bug #1367 (XmText autoShowCursorPosition is not always honoured
|
||||
when selected text is deleted).
|
||||
* Fixed bug #1140 (Functions do not check _XmGetWidgetExtData() result).
|
||||
* Fixed bug #1383 (missing semi-colon at end of sentense).
|
||||
* Fixed bug #1390 (out of range in array read in ReplaceItem).
|
||||
* Fixed bug #1388 (SEGV error moving mouse over window related
|
||||
to XmToolTipGetLabel).
|
||||
* Fixed bug #1387 (Scale Widget draws value text not centered to slider)
|
||||
* Fixed bug #1381 (Sensitivity invisible with antialiased fonts)
|
||||
* Fixed bug #1389 (A middle click on a tab lets nedit segfault)
|
||||
* Fixed bug #1377 (XmText memory leak in InitializeHook)
|
||||
* Fixed bug #1385 (core.self of XmMultiList is NULL, but must be
|
||||
pointer itself.)
|
||||
* Fixed bug #1380 (Can not set title bar in 2.3)
|
||||
|
||||
2.3.0 Beta 2 January 2006
|
||||
* Fixed vulnerabilities in the libXpm code [CAN-2004-0914
|
||||
(multiple vulnerabilities) and CAN-2005-0605 (buffer overflow)]
|
||||
* Got rid of the obsolete tmpnam() call in imake
|
||||
* Fixed bug #1315 (Division by zero in List widget)
|
||||
* Fixed bug #1314 (Buffer overflow in MrmItop.c on 64-bit systems)
|
||||
* Fixed bug #1313 (getsubres.c has fallback resources defined that
|
||||
aren't terminated with NULL)
|
||||
* Fixed bug #1304 (Buffer overflow in MrmOpenHierarchy...())
|
||||
* Fixed bug #1297 (Insensitive XmPIXMAP XmPushButtons are stippled
|
||||
with the wrong color)
|
||||
* Fixed bug #1294 (XmFileSelectionBox's XmNdirSpec resource misbehaves
|
||||
when pathMode is PATH_MODE_RELATIVE)
|
||||
|
||||
2.3.0 Beta 1 November 2005
|
||||
* #1121 (TabBox translation error)
|
||||
* Removed locking of the clipboard from XmClipboardRetrieveStart()
|
||||
* #1283 (TabBox translation error)
|
||||
* #1249 (XmCombo crashes program when resized)
|
||||
* #1286 (XmDataField error with XmALIGNMENT_END)
|
||||
* #1211 (Crash on setting XmNlabelPixmap in a ToggleButtonGadget)
|
||||
* #1264 (Crash in PutDSToStream due to bug in _XmResizeHashTable)
|
||||
* #1276 (Changing AddMode in XmList selects/deselects items without callback)
|
||||
* #1196 (Free memory read in XmIm.c/draw_separator())
|
||||
* #1193 (MWM crashes when restarting by a session manager)
|
||||
* #1202 (MWM crashes when duplicating a window menu containing f.circle_up)
|
||||
* #1186 (Invalid replacing XmList selected items)
|
||||
* #1214 (Cannot set a string to XmTextField with XtSetValues when
|
||||
XmNmodifyVerifyCallback is set)
|
||||
* #1279 (XmTextGetSelectionPosition returns incorrect values after
|
||||
deleting selection)
|
||||
* #1269 (Popup menus fail on Tarantella/VNC)
|
||||
* #1262 (Entering Esc key before pulldown menu realized crashes)
|
||||
* #1268 (XmCvtXmStringToCT improperly handles an empty string)
|
||||
* Added DataField.h and TabBox.h to XmAll.h
|
||||
* Added synthetic resolution independent conversion of width/height resources
|
||||
to ExtendedList for MultiList
|
||||
* Added wide character string value of search string
|
||||
to ExtendedListCallbackStruct
|
||||
* Made DropDown using XmGrabShell instead of TopLevelShell
|
||||
* #1260 (Option menu changes screen's focus to 'None')
|
||||
* #1258 (XmDataField: data out-of-bounds bug in df_FindPixelLength)
|
||||
* #1257 (XmTextField: "Character xxx not supported in font" errors,
|
||||
bug in multibyte code)
|
||||
* #1256 (Problem with XmNsingleSelectionCallback in XmExt18List widget)
|
||||
* Fixed incorrect XmRenderTableToProp() behavior appearing in RendToProp test
|
||||
* Fixed incorrect XmClipboardCopyByName() behavior appearing in CutPaste2 test
|
||||
|
||||
2.3.0 May 2007
|
||||
a. Several bugs were fixed.
|
||||
|
||||
2.2.4 October 2004
|
||||
a. Fixed vulnerabilities in libXpm code [CVE numbers CAN-2004-0687
|
||||
(integer overflows) and CAN-2004-0688 (stack overflows)].
|
||||
b. Fixed compilation under SUSE 9.1.
|
||||
c. Fixed building procedure under FreeBSD.
|
||||
d. Fixed building procedure in order to make it usable with
|
||||
new versions of autoconfig.
|
||||
|
||||
2.2.3 August 2002
|
||||
a. uil support for the new widgets was finished along with
|
||||
demonstrations in the periodic demo.
|
||||
b. Several bugs were fixed.
|
||||
c. Automake building is supported in an object directory.
|
||||
|
||||
2.2.1 January 29, 2002
|
||||
a. The Test directory that contained the automated tests was mentioned
|
||||
in the Release Notes but absent from the source distribution.
|
||||
The reference in the Release Notes was removed. The Tests are still
|
||||
available from the CVS tree.
|
||||
b. Due to an oversight, imake support was not included in the distribution.
|
||||
It was added back in this update.
|
||||
c. If an older version of Motif was installed, the Autoconf build would
|
||||
pick up the older #include files and fail. The Autoconf configuration
|
||||
files were updated to use the proper #include files.
|
||||
d. Formatting errors in doc/man/man3/Makefile.am were corrected.
|
||||
e. The directory demos/unsupported/motifshell contained no source code but
|
||||
was mentioned in configure.in. The proper source code was placed
|
||||
in this directory.
|
||||
f. ToolTip.c and SlideC.c were included in config.h twice. The extra
|
||||
reference was removed.
|
||||
g. The demos for the new widgets were originally placed in the directory
|
||||
demos/programs/newwidgets. To maintain consistency, they were moved
|
||||
to demos/programs.
|
||||
h. The Releases Notes specified the incorrect resource names for enabling
|
||||
tooltips and specifying the string. These typos were corrected.
|
||||
i. Compatibility note for user developed widgets was added to
|
||||
Release Notes.
|
||||
|
||||
2.2.0 January 28, 2002
|
||||
Initial Release
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
TODO list for 2.3 release
|
||||
----------------------------------------------------------------
|
||||
@@ -0,0 +1,265 @@
|
||||
AC_DEFUN([AC_FIND_XFT],
|
||||
[
|
||||
AH_TEMPLATE([HAVE_FREETYPE], [We have the FreeType library])
|
||||
AH_TEMPLATE([HAVE_FONTCONFIG], [We have the fontconfig library])
|
||||
AH_TEMPLATE([HAVE_XRENDER], [We have the fontconfig library])
|
||||
AH_TEMPLATE([FC_DEFAULT_FONTS], [We have the fontconfig library])
|
||||
AH_TEMPLATE([CONFDIR], [We have the fontconfig library])
|
||||
AH_TEMPLATE([USE_XFT], [Use XFT])
|
||||
|
||||
AC_ARG_ENABLE(xft, [ --enable-xft Enable XFT support (font anti aliasing)],,[enable_xft=yes])
|
||||
AC_ARG_WITH(freetype_includes, [ --with-freetype-includes=DIR Use FreeType includes in DIR], freetype_includes=$withval, freetype_includes=yes)
|
||||
AC_ARG_WITH(freetype_lib, [ --with-freetype-lib=DIR Use FreeType library in DIR], freetype_lib=$withval, freetype_lib=yes)
|
||||
AC_ARG_WITH(freetype_config, [ --with-freetype-config=PROG Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=yes)
|
||||
AC_ARG_WITH(default_fonts, [ --with-default-fonts=DIR Use fonts from DIR when config is busted], defaultfonts="$withval", default_fonts=yes)
|
||||
AC_ARG_WITH(fontconfig_includes, [ --with-fontconfig-includes=DIR Use Fontconfig includes in DIR], fontconfig_includes=$withval, fontconfig_includes=yes)
|
||||
AC_ARG_WITH(fontconfig_lib, [ --with-fontconfig-lib=DIR Use Fontconfig library in DIR], fontconfig_lib=$withval, fontconfig_lib=yes)
|
||||
AC_ARG_WITH(fontconfig_config, [ --with-fontconfig-config=PROG Use Fontconfig configuration program PROG], fontconfig_config=$withval, fontconfig_config=yes)
|
||||
|
||||
if test "$enable_xft" = "yes"
|
||||
then
|
||||
|
||||
#
|
||||
# Check freetype configuration
|
||||
#
|
||||
case "$freetype_config" in
|
||||
no)
|
||||
;;
|
||||
yes)
|
||||
AC_CHECK_PROG(ft_config,freetype-config,freetype-config,no)
|
||||
;;
|
||||
*)
|
||||
ft_config="$freetype_config"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$freetype_includes" in
|
||||
no)
|
||||
FREETYPE_CFLAGS=""
|
||||
;;
|
||||
yes)
|
||||
case "$ft_config" in
|
||||
no)
|
||||
FREETYPE_CFLAGS=""
|
||||
;;
|
||||
*)
|
||||
FREETYPE_CFLAGS="`$ft_config --cflags`"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
FREETYPE_CFLAGS="-I$freetype_includes"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$freetype_lib" in
|
||||
no)
|
||||
freetype_lib=""
|
||||
;;
|
||||
yes)
|
||||
case "$ft_config" in
|
||||
no)
|
||||
freetype_lib=""
|
||||
;;
|
||||
*)
|
||||
freetype_lib="`$ft_config --libs`"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
freetype_lib="-L$freetype_lib -lfreetype"
|
||||
;;
|
||||
esac
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $freetype_lib"
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
|
||||
AC_CHECK_HEADERS(freetype/freetype.h)
|
||||
|
||||
FINDXFT_HAVE_FREETYPE="no"
|
||||
case "$ac_cv_header_freetype_freetype_h" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
AC_CHECK_FUNCS(FT_Init_FreeType)
|
||||
case "$ac_cv_func_FT_Init_FreeType" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
FINDXFT_HAVE_FREETYPE="yes"
|
||||
AC_DEFINE(HAVE_FREETYPE, 1, Means we have discovered the FreeType library)
|
||||
AC_SUBST(FREETYPE_CFLAGS)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$default_fonts" in
|
||||
yes)
|
||||
FC_DEFAULT_FONTS="/usr/share/fonts"
|
||||
AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "/usr/share/fonts")
|
||||
;;
|
||||
*)
|
||||
FC_DEFAULT_FONTS="$default_fonts"
|
||||
AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "$default_fonts")
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(FC_DEFAULT_FONTS)
|
||||
|
||||
#
|
||||
# Set CONFDIR and FONTCONFIG_PATH
|
||||
#
|
||||
|
||||
case "$confdir" in
|
||||
no|yes)
|
||||
confdir=/etc/fonts
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(confdir)
|
||||
CONFDIR='${confdir}'
|
||||
AC_DEFINE_UNQUOTED(CONFDIR, "$CONFDIR")
|
||||
AC_SUBST(CONFDIR)
|
||||
|
||||
#
|
||||
# Check X configuration
|
||||
#
|
||||
FINDXFT_HAVE_XRENDER="no"
|
||||
case "$have_x" in
|
||||
yes)
|
||||
XRENDER_CFLAGS="-I$x_includes"
|
||||
XRENDER_LIBS="-L$x_libraries -lXft -lXrender"
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $XRENDER_LIBS"
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS"
|
||||
AC_CHECK_HEADERS(X11/extensions/Xrender.h)
|
||||
|
||||
case "$ac_cv_header_X11_extensions_Xrender_h" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
AC_CHECK_FUNCS(XRenderParseColor)
|
||||
case "$ac_cv_func_XRenderParseColor" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
FINDXFT_HAVE_XRENDER="yes"
|
||||
AC_DEFINE(HAVE_XRENDER, 1, Means we have discovered the Xrender library)
|
||||
AC_SUBST(XRENDER_CFLAGS)
|
||||
AC_SUBST(XRENDER_LIBS)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Check fontconfig configuration
|
||||
#
|
||||
case "$fontconfig_config" in
|
||||
no)
|
||||
;;
|
||||
yes)
|
||||
AC_CHECK_PROG(fc_config,fontconfig-config,fontconfig-config,no)
|
||||
;;
|
||||
*)
|
||||
fc_config="$fontconfig_config"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$fontconfig_includes" in
|
||||
no)
|
||||
FONTCONFIG_CFLAGS=""
|
||||
;;
|
||||
yes)
|
||||
case "$fc_config" in
|
||||
no)
|
||||
FONTCONFIG_CFLAGS="`pkg-config fontconfig --cflags`"
|
||||
;;
|
||||
*)
|
||||
FONTCONFIG_CFLAGS="`$fc_config --cflags`"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
FONTCONFIG_CFLAGS="-I$fontconfig_includes"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$fontconfig_lib" in
|
||||
no)
|
||||
fontconfig_lib=""
|
||||
;;
|
||||
yes)
|
||||
case "$fc_config" in
|
||||
no)
|
||||
FONTCONFIG_LIBS="`pkg-config fontconfig --libs`"
|
||||
;;
|
||||
*)
|
||||
FONTCONFIG_LIBS="`$fc_config --libs`"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
FONTCONFIG_LIBS="-L$fontconfig_lib -lfontconfig"
|
||||
;;
|
||||
esac
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $FONTCONFIG_LIBS"
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
|
||||
AC_CHECK_HEADERS(fontconfig/fontconfig.h)
|
||||
|
||||
case "$ac_cv_header_fontconfig_fontconfig_h" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
AC_CHECK_FUNCS(FcInit)
|
||||
case "$ac_cv_func_FcInit" in
|
||||
no)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
;;
|
||||
yes)
|
||||
AC_DEFINE(HAVE_FONTCONFIG, 1, This is defined if we find the FontConfig library)
|
||||
AC_SUBST(FONTCONFIG_CFLAGS)
|
||||
AC_SUBST(FONTCONFIG_LIBS)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl
|
||||
dnl Should this be conditionally defined ?
|
||||
dnl
|
||||
|
||||
dnl if test "$FINDXFT_HAVE_XRENDER" = "yes" -a "$FINDXFT_HAVE_FREETYPE" = "yes"
|
||||
dnl then
|
||||
AC_DEFINE(USE_XFT, 1, This means we will be using the Xft library)
|
||||
CFLAGS="$CFLAGS `pkg-config xft --cflags`"
|
||||
AC_SUBST(CFLAGS)
|
||||
LIBS="$LIBS `pkg-config xft --libs`"
|
||||
AC_SUBST(LIBS)
|
||||
|
||||
dnl fi
|
||||
|
||||
fi
|
||||
])
|
||||
@@ -0,0 +1,87 @@
|
||||
AC_DEFUN([AC_IMAGE_SUPPORT],
|
||||
[
|
||||
AH_TEMPLATE([JPEG_SUPPORTED], [Use libjpeg library])
|
||||
AH_TEMPLATE([PNG_SUPPORTED], [Use libpng library])
|
||||
|
||||
AC_ARG_ENABLE(jpeg, [ --enable-jpeg Enable JPEG support],,[enable_jpeg=yes])
|
||||
AC_ARG_WITH(libjpeg_includes, [ --with-libjpeg-includes=DIR Use libjpeg includes in DIR], libjpeg_includes=$withval)
|
||||
AC_ARG_WITH(libjpeg_lib, [ --with-libjpeg-lib=DIR Use libjpeg library in DIR], libjpeg_lib=$withval)
|
||||
AC_ARG_ENABLE(png, [ --enable-png Enable PNG support],,[enable_png=yes])
|
||||
AC_ARG_WITH(libpng_includes, [ --with-libpng-includes=DIR Use libpng includes in DIR], libpng_includes=$withval)
|
||||
AC_ARG_WITH(libpng_lib, [ --with-libpng-lib=DIR Use libpng library in DIR], libpng_lib=$withval)
|
||||
|
||||
#
|
||||
# Check libjpeg configuration
|
||||
#
|
||||
|
||||
if test "$enable_jpeg" = "yes"
|
||||
then
|
||||
if test "$libjpeg_includes"
|
||||
then
|
||||
LIBJPEG_CFLAGS="-I$libjpeg_includes"
|
||||
fi
|
||||
|
||||
if test "$libjpeg_lib"
|
||||
then
|
||||
LIBJPEG_LIBS="-L$libjpeg_lib -ljpeg"
|
||||
else
|
||||
LIBJPEG_LIBS="-ljpeg"
|
||||
fi
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBJPEG_LIBS"
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $LIBJPEG_CFLAGS"
|
||||
AC_CHECK_HEADERS(jpeglib.h, libjpeg_headers_present="yes")
|
||||
AC_CHECK_FUNCS(jpeg_start_decompress, libjpeg_present="yes")
|
||||
|
||||
if test "$libjpeg_present" = "yes" -a "$libjpeg_headers_present" = "yes"
|
||||
then
|
||||
AC_SUBST(LIBS)
|
||||
use_libjpeg=yes
|
||||
AC_DEFINE(JPEG_SUPPORTED, 1, We have discovered the libjpeg library)
|
||||
else
|
||||
CFLAGS="$saved_CFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(OM_LIBJPEG, test "$use_libjpeg" = "yes")
|
||||
|
||||
#
|
||||
# Check libpng configuration
|
||||
#
|
||||
|
||||
if test "$enable_png" = "yes"
|
||||
then
|
||||
if test "$libpng_includes"
|
||||
then
|
||||
LIBPNG_CFLAGS="-I$libpng_includes"
|
||||
fi
|
||||
|
||||
if test "$libpng_lib"
|
||||
then
|
||||
LIBPNG_LIBS="-L$libpng_lib -lpng"
|
||||
else
|
||||
LIBPNG_LIBS="-lpng"
|
||||
fi
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBPNG_LIBS"
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
|
||||
AC_CHECK_HEADERS(png.h, libpng_headers_present="yes")
|
||||
AC_CHECK_FUNCS(png_create_read_struct, libpng_present="yes")
|
||||
|
||||
if test "$libpng_present" = "yes" -a "$libpng_headers_present" = "yes"
|
||||
then
|
||||
AC_SUBST(LIBS)
|
||||
use_libpng=yes
|
||||
AC_DEFINE(PNG_SUPPORTED, 1, We have discovered the libpng library)
|
||||
else
|
||||
CFLAGS="$saved_CFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(OM_LIBPNG, test "$use_libpng" = "yes")
|
||||
|
||||
])
|
||||
@@ -0,0 +1,80 @@
|
||||
dnl
|
||||
dnl This file provides the following macros
|
||||
dnl
|
||||
dnl LT_LIB_XTHREADS
|
||||
dnl AM_FUNC_VOID_SPRINTF
|
||||
dnl WEAK_ALIAS_SUPPORT
|
||||
dnl
|
||||
|
||||
dnl This should be the canonical approach to check for XTHREADS.
|
||||
dnl (see "man XtToolkitThreadInitialize")
|
||||
AC_DEFUN([LT_LIB_XTHREADS],
|
||||
[AC_REQUIRE([AC_PATH_X])
|
||||
AC_CACHE_CHECK(whether libXt was compiled with -DXTHREADS, lt_cv_xthreads,
|
||||
[lt_save_CFLAGS="$CFLAGS"
|
||||
lt_save_CPPFLAGS="$CPPFLAGS"
|
||||
lt_save_LIBS="$LIBS"
|
||||
LIBS="$X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
|
||||
CFLAGS="$X_CFLAGS $CFLAGS"
|
||||
CPPFLAGS="$X_CFLAGS $CPPFLAGS"
|
||||
AC_TRY_RUN([
|
||||
#include <X11/Intrinsic.h>
|
||||
int main() {
|
||||
Boolean brc;
|
||||
brc=XtToolkitThreadInitialize();
|
||||
if (True==brc)
|
||||
exit(0);
|
||||
else
|
||||
exit(1);
|
||||
}
|
||||
],
|
||||
lt_cv_xthreads=yes,
|
||||
lt_cv_xthreads=no,
|
||||
lt_cv_xthreads=dunno)
|
||||
CFLAGS="$lt_save_CFLAGS"
|
||||
CPPFLAGS="$lt_save_CPPFLAGS"
|
||||
LIBS="$lt_save_LIBS"
|
||||
])
|
||||
if test $lt_cv_xthreads = dunno; then
|
||||
AC_MSG_WARN(Can't check for XTHREADS if cross-compiling. Assume XTHREADS)
|
||||
AC_DEFINE(XTHREADS,1,"Has XThreads")
|
||||
AC_DEFINE(XUSE_MTSAFE_API,1,"API is MTSAFE")
|
||||
fi
|
||||
if test $lt_cv_xthreads = yes; then
|
||||
AC_DEFINE(XTHREADS,1,"Has XThreads")
|
||||
AC_DEFINE(XUSE_MTSAFE_API,1,"API is MTSAFE")
|
||||
fi
|
||||
])
|
||||
|
||||
dnl This test is not very reliable probably ...
|
||||
AC_DEFUN([AM_FUNC_VOID_SPRINTF],
|
||||
[AC_CACHE_CHECK(whether sprintf returns void, ac_cv_func_void_sprintf,
|
||||
[AC_TRY_RUN([#include <stdio.h>
|
||||
int sprintf(); main() { exit(sprintf(".")); }],
|
||||
ac_cv_func_void_sprintf=no, ac_cv_func_void_sprintf=yes, ac_cv_func_void_sprintf=yes)])
|
||||
if test $ac_cv_func_void_sprintf = no; then
|
||||
AC_DEFINE(VOID_SPRINTF,1,
|
||||
[Define if sprintf doesn't return the number of chars written])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl This tests whether weak aliases are supported.
|
||||
AC_DEFUN([WEAK_ALIAS_SUPPORT],
|
||||
[AC_CACHE_CHECK(whether weak aliases are supported, ac_cv_weak_alias_support,
|
||||
[AC_TRY_COMPILE([
|
||||
int get_value(int *value) {
|
||||
return *value;
|
||||
}
|
||||
int get_value_alias(int *high) __attribute__((__weak__,alias("get_value")));
|
||||
],
|
||||
[],
|
||||
ac_cv_weak_alias_support=yes,
|
||||
ac_cv_weak_alias_support=no)])
|
||||
if test $ac_cv_weak_alias_support = no; then
|
||||
AC_DEFINE(NO_WEAK_ALIASES,1,[Define if weak aliases are not supported])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl End of special macros.
|
||||
dnl
|
||||
Vendored
+1178
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,33 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = $(bind_DATA) README
|
||||
|
||||
binddir = @XMBINDDIR_FALLBACK@
|
||||
|
||||
bind_DATA = \
|
||||
xmbind.alias \
|
||||
acorn \
|
||||
apollo \
|
||||
dec \
|
||||
dg_AViiON \
|
||||
doubleclick \
|
||||
hal \
|
||||
hitachi \
|
||||
hp \
|
||||
ibm \
|
||||
intergraph \
|
||||
intergraph17 \
|
||||
megatek \
|
||||
motorola \
|
||||
ncr_at \
|
||||
ncr_vt \
|
||||
pc \
|
||||
sgi \
|
||||
sni \
|
||||
sni_97801 \
|
||||
siemens_9733 \
|
||||
siemens_wx200 \
|
||||
sony \
|
||||
sun \
|
||||
sun_at \
|
||||
tek
|
||||
@@ -0,0 +1,566 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = bindings
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/ac_find_xft.m4 \
|
||||
$(top_srcdir)/ac_image_support.m4 $(top_srcdir)/libtool.m4 \
|
||||
$(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \
|
||||
$(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/lib/Xm/Xm.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(binddir)"
|
||||
DATA = $(bind_DATA)
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in README
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AGE = @AGE@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CDE_CONFIGURATION_TOP = @CDE_CONFIGURATION_TOP@
|
||||
CDE_INSTALLATION_TOP = @CDE_INSTALLATION_TOP@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFDIR = @CONFDIR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CURRENT = @CURRENT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
|
||||
FGREP = @FGREP@
|
||||
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
||||
GREP = @GREP@
|
||||
INCDIR = @INCDIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_XP = @LIB_XP@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MWMRCDIR = @MWMRCDIR@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OM22_COMPATIBILITY_FALSE = @OM22_COMPATIBILITY_FALSE@
|
||||
OM22_COMPATIBILITY_TRUE = @OM22_COMPATIBILITY_TRUE@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PRINTING_SUPPORTED_FALSE = @PRINTING_SUPPORTED_FALSE@
|
||||
PRINTING_SUPPORTED_TRUE = @PRINTING_SUPPORTED_TRUE@
|
||||
RANLIB = @RANLIB@
|
||||
REVISION = @REVISION@
|
||||
RM = @RM@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SPLINT = @SPLINT@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMBINDDIR_FALLBACK = @XMBINDDIR_FALLBACK@
|
||||
XMKMF = @XMKMF@
|
||||
XMTHEME_DIST = @XMTHEME_DIST@
|
||||
XRENDER_CFLAGS = @XRENDER_CFLAGS@
|
||||
XRENDER_LIBS = @XRENDER_LIBS@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
X_XMU = @X_XMU@
|
||||
YACC = @YACC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
confdir = @confdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fc_config = @fc_config@
|
||||
ft_config = @ft_config@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
EXTRA_DIST = $(bind_DATA) README
|
||||
binddir = @XMBINDDIR_FALLBACK@
|
||||
bind_DATA = \
|
||||
xmbind.alias \
|
||||
acorn \
|
||||
apollo \
|
||||
dec \
|
||||
dg_AViiON \
|
||||
doubleclick \
|
||||
hal \
|
||||
hitachi \
|
||||
hp \
|
||||
ibm \
|
||||
intergraph \
|
||||
intergraph17 \
|
||||
megatek \
|
||||
motorola \
|
||||
ncr_at \
|
||||
ncr_vt \
|
||||
pc \
|
||||
sgi \
|
||||
sni \
|
||||
sni_97801 \
|
||||
siemens_9733 \
|
||||
siemens_wx200 \
|
||||
sony \
|
||||
sun \
|
||||
sun_at \
|
||||
tek
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bindings/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign bindings/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-bindDATA: $(bind_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(bind_DATA)'; test -n "$(binddir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(binddir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(binddir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(binddir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(binddir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-bindDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bind_DATA)'; test -n "$(binddir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(binddir)'; $(am__uninstall_files_from_dir)
|
||||
tags TAGS:
|
||||
|
||||
ctags CTAGS:
|
||||
|
||||
cscope cscopelist:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(binddir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-bindDATA
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-bindDATA
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
cscopelist-am ctags-am distclean distclean-generic \
|
||||
distclean-libtool distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-bindDATA install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
|
||||
uninstall-am uninstall-bindDATA
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,39 @@
|
||||
/* $XConsortium: README /main/3 1996/07/15 13:55:02 drk $ */
|
||||
|
||||
This directory contains a collection of sample ".motifbind" files:
|
||||
|
||||
acorn
|
||||
apollo
|
||||
dec
|
||||
dg_AViiON
|
||||
doubleclick
|
||||
hitachi
|
||||
hp
|
||||
ibm
|
||||
intergraph17
|
||||
intergraph
|
||||
megatek
|
||||
motorola
|
||||
ncr_at
|
||||
ncr_vt
|
||||
sgi
|
||||
siemens_9733
|
||||
siemens_wx200
|
||||
sun_mit
|
||||
sun_news
|
||||
tek
|
||||
|
||||
These files were provided by various vendors, though not necessarily
|
||||
the vendors whose hardware they apply to. Each file contains a set of
|
||||
keyboard bindings that is suggested for use on that particular
|
||||
server/hardware combination. These files should be used as examples
|
||||
of ~/.motifbind files to work from.
|
||||
|
||||
By copying the appropriate file into the user's home directory and
|
||||
renaming it to ".motifbind", the bindings will be recognized and used
|
||||
when the Motif window manager is (re)started.
|
||||
These bindings will override any other default bindings except those
|
||||
initiated within a client application (using XtOverrideTranslations).
|
||||
|
||||
These examples are provided, as is, only as a service to the vendors
|
||||
and users.
|
||||
@@ -0,0 +1,50 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: acorn /main/6 1995/07/14 09:19:28 drk $
|
||||
!
|
||||
!"Acorn Computers Ltd"
|
||||
! Acorn RISC iX versions 1.0->1.2 running on Acorn R140, R225, R260
|
||||
! (all national keyboard variants)
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfCopy : <Key>Select
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: apollo /main/6 1995/07/14 09:19:33 drk $
|
||||
!
|
||||
!"Apollo Computer Inc."
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>apRightBar
|
||||
osfBeginLine : <Key>apLeftBar
|
||||
osfPageUp : <Key>apUpBox
|
||||
osfPageDown : <Key>apDownBox
|
||||
osfPageLeft : <Key>apLeftBox
|
||||
osfPageRight : <Key>apRightBox
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>apCharDel
|
||||
osfInsert : <Key>Select
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfCopy : <Key>apCopy
|
||||
osfCut : <Key>apCut
|
||||
osfPaste : <Key>apPaste
|
||||
osfUndo : <Key>Undo
|
||||
@@ -0,0 +1,51 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: dec /main/6 1995/07/14 09:19:39 drk $
|
||||
!
|
||||
!"DECWINDOWS DigitalEquipmentCorp."
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>Delete
|
||||
osfDelete : <Key>DRemove
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfSelect : <Key>Select
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfPrimaryPaste : <Key>F14
|
||||
osfQuickPaste : <Key>F17
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: dg_AViiON /main/6 1995/07/14 09:19:45 drk $
|
||||
!
|
||||
!"Data General Corporation Rev 04"
|
||||
! AViiON
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: doubleclick /main/6 1995/07/14 09:19:51 drk $
|
||||
!
|
||||
!"Double Click Imaging, Inc. KeyX"
|
||||
! for the version of KeyX running on 386 AT bus compatibles.
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,47 @@
|
||||
! $XConsortium: hal /main/4 1995/07/17 10:28:29 drk $
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
!
|
||||
! "HaL" server for a Sun type 4 keyboard
|
||||
!
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>F33
|
||||
osfBeginLine : <Key>F27
|
||||
osfPageUp : <Key>F29
|
||||
osfPageDown : <Key>F35
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfCopy : <Key>F16
|
||||
osfCut : <Key>F20
|
||||
osfPaste : <Key>F18
|
||||
osfUndo : <Key>F14
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: hitachi /main/6 1995/07/14 09:19:58 drk $
|
||||
!
|
||||
!
|
||||
! Hitachi System 2050
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,53 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: hp /main/7 1996/11/21 13:06:42 cde-hp $
|
||||
!
|
||||
!"Hewlett-Packard Company"
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfSelect : <Key>Select
|
||||
osfClear : <Key>Clear
|
||||
osfUndo : <Key>Undo
|
||||
osfPrimaryPaste :Meta Ctrl <Key>Insert
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: ibm /main/6 1995/07/14 09:20:11 drk $
|
||||
!
|
||||
!"International Business Machines"
|
||||
! for AIX/PS2 and RS/6000 systems
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,46 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: intergraph /main/6 1995/07/14 09:20:18 drk $
|
||||
!
|
||||
! Intergraph
|
||||
! with Delete & Backspace keys
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,46 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: intergraph17 /main/6 1995/07/14 09:20:24 drk $
|
||||
!
|
||||
! Intergraph
|
||||
! with single Delete/Backspace keys (use F17 for Delete)
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>F17
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,51 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: megatek /main/6 1995/07/14 09:20:29 drk $
|
||||
!
|
||||
!"Megatek Corporation"
|
||||
! Megatek X-Cellerator
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>R13
|
||||
osfBeginLine : <Key>F27
|
||||
osfPageUp : <Key>F29
|
||||
osfPageDown : <Key>F35
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfCopy : <Key>F16
|
||||
osfCut : <Key>F20
|
||||
osfPaste : <Key>F18
|
||||
osfUndo : <Key>F14
|
||||
@@ -0,0 +1,52 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: motorola /main/6 1995/07/14 09:20:35 drk $
|
||||
!
|
||||
!"Motorola Inc. (Microcomputer Division) "
|
||||
! (c) Copyright 1990 Motorola Inc.
|
||||
! Motorola provides these key bindings as is,
|
||||
! with no guarantees or warranties implied.
|
||||
! Motorola is under no obligation to support,
|
||||
! update, or extend these key bindings for
|
||||
! future releases.
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: ncr_at /main/6 1995/07/14 09:20:41 drk $
|
||||
!
|
||||
! NCR XL Series X-Station
|
||||
! PC AT keyboard
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfActivate : <Key>KP_Enter
|
||||
@@ -0,0 +1,51 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: ncr_vt /main/6 1995/07/14 09:20:46 drk $
|
||||
!
|
||||
! NCR XL Series X-Station
|
||||
! VT 220 keyboard
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfSelect : <Key>Select
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfQuickPaste : <Key>F17
|
||||
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
! $XConsortium: pc /main/4 1995/07/17 10:28:38 drk $
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
! HISTORY
|
||||
|
||||
! Generic OSF/Motif Style Guide bindings for PC keyboards
|
||||
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfCancel : <Key>Escape
|
||||
osfMenuBar : <Key>F10
|
||||
osfMenu : Shift <Key>F10
|
||||
osfHelp : <Key>F1
|
||||
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfInsert : <Key>Insert
|
||||
osfDelete : <Key>Delete
|
||||
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfPageLeft : Ctrl <Key>Prior
|
||||
osfPageRight : Ctrl <Key>Next
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
|
||||
osfLeft : <Key>Left
|
||||
osfRight : <Key>Right
|
||||
osfUp : <Key>Up
|
||||
osfDown : <Key>Down
|
||||
|
||||
osfAddMode : Shift <Key>F8
|
||||
|
||||
osfCut : Shift <Key>Delete
|
||||
osfCopy : Ctrl <Key>Insert
|
||||
osfPaste : Shift <Key>Insert
|
||||
|
||||
osfPrimaryPaste :Meta Ctrl <Key>Insert
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: sgi /main/7 1995/07/14 09:20:51 drk $
|
||||
!
|
||||
!"Silicon Graphics Inc."
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,50 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: siemens_9733 /main/6 1995/07/14 09:20:56 drk $
|
||||
!
|
||||
!"Siemens Munich (SP-4's hacker-clan)"
|
||||
! Siemens 9733 system
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete_char
|
||||
osfInsert : <Key>Insert_char
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help
|
||||
osfMenu : <Key>Linefeed
|
||||
osfMenuBar : <Key>F10
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: siemens_wx200 /main/6 1995/07/14 09:21:02 drk $
|
||||
!
|
||||
!"Siemens Munich by SP-4's Hacker Crew"
|
||||
! Siemens WX200 system
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>Cancel
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete,<Key>F29
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>Help,<Key>F1
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfMenu : <Key>Menu,Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
! $XConsortium: sni /main/4 1995/07/17 10:28:46 drk $
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
!
|
||||
! "Siemens Nixdorf Informationssysteme AG"
|
||||
! SNI MFII keyboard
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode : Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfMenu : Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,44 @@
|
||||
! $XConsortium: sni_97801 /main/4 1995/07/17 10:29:04 drk $
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! "Siemens Nixdorf Informationssysteme AG (97801)"
|
||||
! SNI 97801 keyboard
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>Cancel,<Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete,<Key>F29
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode : Shift <Key>F8
|
||||
osfHelp : <Key>Help,<Key>F1
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfMenu : <Key>Menu,Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,49 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: sony /main/5 1995/07/14 09:21:08 drk $
|
||||
!
|
||||
!"Sony Corporation"
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine :Alt <Key>Right
|
||||
osfBeginLine :Alt <Key>Left
|
||||
osfPageUp :Alt <Key>Up
|
||||
osfPageDown :Alt <Key>Down
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>F5
|
||||
osfAddMode :Shift <Key>F18
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
osfSelect : <Key>Select
|
||||
osfActivate : <Key>KP_Enter
|
||||
@@ -0,0 +1,31 @@
|
||||
!
|
||||
!
|
||||
! $Id: sun,v 1.2 2002/01/05 15:20:42 jimk Exp $
|
||||
!
|
||||
! "Sun Microsystems, Inc."
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfCancel : <Key>Escape
|
||||
osfHelp : <Key>Help,<Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
|
||||
osfBeginLine : <Key>Home
|
||||
osfEndLine : <Key>End
|
||||
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfUndo : <Key>Undo
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfCopy : <Key>SunCopy
|
||||
osfCut : <Key>SunCut
|
||||
osfPaste : <Key>SunPaste
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
!
|
||||
!
|
||||
! $Id: sun_at,v 1.2 2002/01/05 15:20:42 jimk Exp $
|
||||
!
|
||||
! "Sun Microsystems, Inc."
|
||||
osfActivate : <Key>KP_Enter
|
||||
osfCancel : <Key>Escape
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
|
||||
osfBeginLine : <Key>Home
|
||||
osfEndLine : <Key>End
|
||||
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
@@ -0,0 +1,47 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $XConsortium: tek /main/6 1995/07/14 09:21:24 drk $
|
||||
!
|
||||
!"Tektronix, Inc."
|
||||
!
|
||||
!
|
||||
|
||||
osfCancel : <Key>Escape
|
||||
osfLeft : <Key>Left
|
||||
osfUp : <Key>Up
|
||||
osfRight : <Key>Right
|
||||
osfDown : <Key>Down
|
||||
osfEndLine : <Key>End
|
||||
osfBeginLine : <Key>Home
|
||||
osfPageUp : <Key>Prior
|
||||
osfPageDown : <Key>Next
|
||||
osfBackSpace : <Key>BackSpace
|
||||
osfDelete : <Key>Delete
|
||||
osfInsert : <Key>Insert
|
||||
osfAddMode :Shift <Key>F8
|
||||
osfHelp : <Key>F1
|
||||
osfMenu :Shift <Key>F10
|
||||
osfMenuBar : <Key>F10
|
||||
@@ -0,0 +1,64 @@
|
||||
!
|
||||
! Motif
|
||||
!
|
||||
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
!
|
||||
! These libraries and programs are free software; you can
|
||||
! redistribute them and/or modify them under the terms of the GNU
|
||||
! Lesser General Public License as published by the Free Software
|
||||
! Foundation; either version 2 of the License, or (at your option)
|
||||
! any later version.
|
||||
!
|
||||
! These libraries and programs are distributed in the hope that
|
||||
! they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
! PURPOSE. See the GNU Lesser General Public License for more
|
||||
! details.
|
||||
!
|
||||
! You should have received a copy of the GNU Lesser General Public
|
||||
! License along with these librararies and programs; if not, write
|
||||
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
! Floor, Boston, MA 02110-1301 USA
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! $TOG: xmbind.alias /main/6 1999/03/26 17:03:23 samborn $
|
||||
!
|
||||
!
|
||||
! bindings alias file
|
||||
!
|
||||
! format:
|
||||
! "<ServerVendor(display)>[<space><VendorRelease(display)>]" bindings_file
|
||||
!
|
||||
|
||||
"Acorn Computers Ltd" acorn
|
||||
"Apollo Computer Inc." apollo
|
||||
"DECWINDOWS DigitalEquipmentCorp." dec
|
||||
"DECWINDOWS DigitalEquipmentCorporation UWS2.2" dec
|
||||
"Data General Corporation Rev 04" dg_AViiON
|
||||
"Double Click Imaging, Inc. KeyX" doubleclick
|
||||
"HaL" hal
|
||||
"Hewlett-Packard Company" hp
|
||||
! "Hitachi?" hitachi
|
||||
"International Business Machines" ibm
|
||||
"Intergraph Corporation" intergraph
|
||||
! "Intergraph Corporation ?" intergraph17
|
||||
"Megatek Corporation" megatek
|
||||
"Motorola Inc. (Microcomputer Division) " motorola
|
||||
! "NCR?" ncr_at
|
||||
! "NCR?" ncr_vt
|
||||
! "?" (Generic PC keyboard bindings) pc
|
||||
"Silicon Graphics Inc." sgi
|
||||
"Silicon Graphics" sgi
|
||||
"Siemens Nixdorf Informationssysteme AG" sni
|
||||
"Siemens Nixdorf Informationssysteme AG (97801)" sni_97801
|
||||
"Siemens Munich by SP-4's Hacker Crew" siemens_wx200
|
||||
"Siemens Munich (SP-4's hacker-clan)" siemens_9733
|
||||
"Sony Corporation" sony
|
||||
"X11/NeWS - Sun Microsystems Inc." sun
|
||||
! sun: for Displays with Type-4/Type-5 keyboards
|
||||
! sun_at: for Displays with PC AT style keyboards
|
||||
"Sun Microsystems, Inc." sun
|
||||
! "Sun Microsystems, Inc." sun_at
|
||||
"Tektronix, Inc." tek
|
||||
@@ -0,0 +1,20 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST =
|
||||
|
||||
bmdir = @INCDIR@/bitmaps
|
||||
|
||||
bm_HEADERS = \
|
||||
xm_error \
|
||||
xm_hour16 \
|
||||
xm_hour16m \
|
||||
xm_hour32 \
|
||||
xm_hour32m \
|
||||
xm_information \
|
||||
xm_noenter16 \
|
||||
xm_noenter16m \
|
||||
xm_noenter32 \
|
||||
xm_noenter32m \
|
||||
xm_question \
|
||||
xm_warning \
|
||||
xm_working
|
||||
@@ -0,0 +1,617 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = bitmaps
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/ac_find_xft.m4 \
|
||||
$(top_srcdir)/ac_image_support.m4 $(top_srcdir)/libtool.m4 \
|
||||
$(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \
|
||||
$(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(bm_HEADERS) $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/lib/Xm/Xm.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(bmdir)"
|
||||
HEADERS = $(bm_HEADERS)
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AGE = @AGE@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CDE_CONFIGURATION_TOP = @CDE_CONFIGURATION_TOP@
|
||||
CDE_INSTALLATION_TOP = @CDE_INSTALLATION_TOP@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFDIR = @CONFDIR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CURRENT = @CURRENT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
|
||||
FGREP = @FGREP@
|
||||
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
||||
GREP = @GREP@
|
||||
INCDIR = @INCDIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_XP = @LIB_XP@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MWMRCDIR = @MWMRCDIR@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OM22_COMPATIBILITY_FALSE = @OM22_COMPATIBILITY_FALSE@
|
||||
OM22_COMPATIBILITY_TRUE = @OM22_COMPATIBILITY_TRUE@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PRINTING_SUPPORTED_FALSE = @PRINTING_SUPPORTED_FALSE@
|
||||
PRINTING_SUPPORTED_TRUE = @PRINTING_SUPPORTED_TRUE@
|
||||
RANLIB = @RANLIB@
|
||||
REVISION = @REVISION@
|
||||
RM = @RM@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SPLINT = @SPLINT@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMBINDDIR_FALLBACK = @XMBINDDIR_FALLBACK@
|
||||
XMKMF = @XMKMF@
|
||||
XMTHEME_DIST = @XMTHEME_DIST@
|
||||
XRENDER_CFLAGS = @XRENDER_CFLAGS@
|
||||
XRENDER_LIBS = @XRENDER_LIBS@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
X_XMU = @X_XMU@
|
||||
YACC = @YACC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
confdir = @confdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fc_config = @fc_config@
|
||||
ft_config = @ft_config@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
EXTRA_DIST =
|
||||
bmdir = @INCDIR@/bitmaps
|
||||
bm_HEADERS = \
|
||||
xm_error \
|
||||
xm_hour16 \
|
||||
xm_hour16m \
|
||||
xm_hour32 \
|
||||
xm_hour32m \
|
||||
xm_information \
|
||||
xm_noenter16 \
|
||||
xm_noenter16m \
|
||||
xm_noenter32 \
|
||||
xm_noenter32m \
|
||||
xm_question \
|
||||
xm_warning \
|
||||
xm_working
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bitmaps/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign bitmaps/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-bmHEADERS: $(bm_HEADERS)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(bm_HEADERS)'; test -n "$(bmdir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(bmdir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(bmdir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(bmdir)'"; \
|
||||
$(INSTALL_HEADER) $$files "$(DESTDIR)$(bmdir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-bmHEADERS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bm_HEADERS)'; test -n "$(bmdir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(bmdir)'; $(am__uninstall_files_from_dir)
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(HEADERS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bmdir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-bmHEADERS
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-bmHEADERS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool cscopelist-am ctags ctags-am distclean \
|
||||
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-bmHEADERS install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am uninstall-bmHEADERS
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,34 @@
|
||||
/* $XConsortium: xm_error /main/5 1995/07/17 10:31:41 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define xm_error_width 20
|
||||
#define xm_error_height 20
|
||||
static char xm_error_bits[] = {
|
||||
0x00, 0x00, 0x00, 0xc0, 0x0f, 0x00, 0xf0, 0x3a, 0x00, 0x58, 0x55, 0x00,
|
||||
0x2c, 0xa0, 0x00, 0x56, 0x40, 0x01, 0xaa, 0x80, 0x02, 0x46, 0x81, 0x01,
|
||||
0x8a, 0x82, 0x02, 0x06, 0x85, 0x01, 0x0a, 0x8a, 0x02, 0x06, 0x94, 0x01,
|
||||
0x0a, 0xe8, 0x02, 0x14, 0x50, 0x01, 0x28, 0xb0, 0x00, 0xd0, 0x5f, 0x00,
|
||||
0xa0, 0x2a, 0x00, 0x40, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,34 @@
|
||||
/* $XConsortium: xm_hour16 /main/5 1995/07/17 10:31:48 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define hour16_x_hot 7
|
||||
#define hour16_y_hot 7
|
||||
#define hour16_width 16
|
||||
#define hour16_height 16
|
||||
static char hour16_bits[] = {
|
||||
0x00, 0x00, 0xfe, 0x7f, 0x14, 0x28, 0x14, 0x28, 0x14, 0x28, 0x24, 0x24,
|
||||
0x44, 0x22, 0x84, 0x21, 0x84, 0x21, 0x44, 0x22, 0x24, 0x24, 0x14, 0x28,
|
||||
0x94, 0x29, 0xd4, 0x2b, 0xfe, 0x7f, 0x00, 0x00};
|
||||
@@ -0,0 +1,32 @@
|
||||
/* $XConsortium: xm_hour16m /main/5 1995/07/17 10:31:55 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define hour16m_width 16
|
||||
#define hour16m_height 16
|
||||
static char hour16m_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfe, 0x7f, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xff};
|
||||
@@ -0,0 +1,42 @@
|
||||
/* $XConsortium: xm_hour32 /main/5 1995/07/17 10:32:03 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define hour32_width 32
|
||||
#define hour32_height 32
|
||||
#define hour32_x_hot 15
|
||||
#define hour32_y_hot 15
|
||||
static char hour32_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0x8c, 0x00, 0x00, 0x31, 0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32,
|
||||
0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32,
|
||||
0x8c, 0x00, 0x00, 0x31, 0x0c, 0x7f, 0xfe, 0x30, 0x0c, 0xfe, 0x7f, 0x30,
|
||||
0x0c, 0xfc, 0x3f, 0x30, 0x0c, 0xf8, 0x1f, 0x30, 0x0c, 0xe0, 0x07, 0x30,
|
||||
0x0c, 0x80, 0x01, 0x30, 0x0c, 0x80, 0x01, 0x30, 0x0c, 0x60, 0x06, 0x30,
|
||||
0x0c, 0x18, 0x18, 0x30, 0x0c, 0x04, 0x20, 0x30, 0x0c, 0x02, 0x40, 0x30,
|
||||
0x0c, 0x01, 0x80, 0x30, 0x8c, 0x00, 0x00, 0x31, 0x4c, 0x80, 0x01, 0x32,
|
||||
0x4c, 0xc0, 0x03, 0x32, 0x4c, 0xf0, 0x1f, 0x32, 0x4c, 0xff, 0xff, 0x32,
|
||||
0xcc, 0xff, 0xff, 0x33, 0x8c, 0xff, 0xff, 0x31, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,40 @@
|
||||
/* $XConsortium: xm_hour32m /main/5 1995/07/17 10:32:11 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define hour32m_width 32
|
||||
#define hour32m_height 32
|
||||
static char hour32m_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xcf, 0x00, 0x00, 0xf3, 0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76,
|
||||
0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76,
|
||||
0xce, 0x00, 0x00, 0x73, 0x8e, 0x7f, 0xfe, 0x71, 0x0e, 0xff, 0xff, 0x70,
|
||||
0x0e, 0xfe, 0x7f, 0x70, 0x0e, 0xfc, 0x3f, 0x70, 0x0e, 0xf8, 0x1f, 0x70,
|
||||
0x0e, 0xe0, 0x07, 0x70, 0x0e, 0xe0, 0x07, 0x70, 0x0e, 0x78, 0x1e, 0x70,
|
||||
0x0e, 0x1c, 0x38, 0x70, 0x0e, 0x06, 0x60, 0x70, 0x0e, 0x03, 0xc0, 0x70,
|
||||
0x8e, 0x01, 0x80, 0x71, 0xce, 0x00, 0x00, 0x73, 0x6e, 0x80, 0x01, 0x76,
|
||||
0x6e, 0xc0, 0x03, 0x76, 0x6e, 0xf0, 0x1f, 0x76, 0x6e, 0xff, 0xff, 0x76,
|
||||
0xee, 0xff, 0xff, 0x77, 0xcf, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
@@ -0,0 +1,33 @@
|
||||
/* $XConsortium: xm_information /main/5 1995/07/17 10:32:20 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define xm_information_width 11
|
||||
#define xm_information_height 24
|
||||
static char xm_information_bits[] = {
|
||||
0x00, 0x00, 0x78, 0x00, 0x54, 0x00, 0x2c, 0x00, 0x54, 0x00, 0x28, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x2a, 0x00, 0x5c, 0x00, 0x28, 0x00,
|
||||
0x58, 0x00, 0x28, 0x00, 0x58, 0x00, 0x28, 0x00, 0x58, 0x00, 0x28, 0x00,
|
||||
0x58, 0x00, 0xae, 0x01, 0x56, 0x01, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,34 @@
|
||||
/* $XConsortium: xm_noenter16 /main/5 1995/07/17 10:32:28 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define noenter16_width 16
|
||||
#define noenter16_height 16
|
||||
#define noenter16_x_hot 7
|
||||
#define noenter16_y_hot 7
|
||||
static char noenter16_bits[] = {
|
||||
0x00, 0x00, 0xc0, 0x03, 0xf0, 0x0f, 0xf8, 0x1f, 0xfc, 0x3f, 0xfc, 0x3f,
|
||||
0xfe, 0x7f, 0x02, 0x40, 0x02, 0x40, 0xfe, 0x7f, 0xfc, 0x3f, 0xfc, 0x3f,
|
||||
0xf8, 0x1f, 0xf0, 0x0f, 0xc0, 0x03, 0x00, 0x00};
|
||||
@@ -0,0 +1,32 @@
|
||||
/* $XConsortium: xm_noenter16m /main/5 1995/07/17 10:32:37 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define noenter16m_width 16
|
||||
#define noenter16m_height 16
|
||||
static char noenter16m_bits[] = {
|
||||
0xc0, 0x03, 0xf0, 0x0f, 0xf8, 0x1f, 0xfc, 0x3f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfc, 0x3f, 0xf8, 0x1f, 0xf0, 0x0f, 0xc0, 0x03};
|
||||
@@ -0,0 +1,42 @@
|
||||
/* $XConsortium: xm_noenter32 /main/5 1995/07/17 10:32:46 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define noenter32_width 32
|
||||
#define noenter32_height 32
|
||||
#define noenter32_x_hot 15
|
||||
#define noenter32_y_hot 15
|
||||
static char noenter32_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xfc, 0x3f, 0x00,
|
||||
0x00, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x03,
|
||||
0xe0, 0xff, 0xff, 0x07, 0xf0, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x1f,
|
||||
0xf8, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60,
|
||||
0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60,
|
||||
0x06, 0x00, 0x00, 0x60, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0xf8, 0xff, 0xff, 0x1f, 0xf8, 0xff, 0xff, 0x1f,
|
||||
0xf0, 0xff, 0xff, 0x0f, 0xe0, 0xff, 0xff, 0x07, 0xc0, 0xff, 0xff, 0x03,
|
||||
0x80, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x00, 0x00, 0xfc, 0x3f, 0x00,
|
||||
0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,40 @@
|
||||
/* $XConsortium: xm_noenter32m /main/5 1995/07/17 10:32:56 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define noenter32m_width 32
|
||||
#define noenter32m_height 32
|
||||
static char noenter32m_bits[] = {
|
||||
0x00, 0xe0, 0x07, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x00,
|
||||
0x80, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x03, 0xe0, 0xff, 0xff, 0x07,
|
||||
0xf0, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xf8, 0xff, 0xff, 0x1f, 0xf0, 0xff, 0xff, 0x0f, 0xe0, 0xff, 0xff, 0x07,
|
||||
0xc0, 0xff, 0xff, 0x03, 0x80, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x00,
|
||||
0x00, 0xfc, 0x3f, 0x00, 0x00, 0xe0, 0x07, 0x00};
|
||||
@@ -0,0 +1,35 @@
|
||||
/* $XConsortium: xm_question /main/5 1995/07/17 10:33:09 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define xm_question_width 22
|
||||
#define xm_question_height 22
|
||||
static char xm_question_bits[] = {
|
||||
0xf0, 0x3f, 0x00, 0x58, 0x55, 0x00, 0xac, 0xaa, 0x00, 0xd6, 0x5f, 0x01,
|
||||
0xea, 0xbf, 0x02, 0xf6, 0x7f, 0x01, 0xea, 0xba, 0x02, 0xf6, 0x7d, 0x05,
|
||||
0xea, 0xba, 0x0a, 0x56, 0x7d, 0x15, 0xaa, 0xbe, 0x1e, 0x56, 0x5f, 0x01,
|
||||
0xac, 0xaf, 0x02, 0x58, 0x57, 0x01, 0xb0, 0xaf, 0x00, 0x60, 0x55, 0x01,
|
||||
0xa0, 0xaa, 0x00, 0x60, 0x17, 0x00, 0xa0, 0x2f, 0x00, 0x60, 0x17, 0x00,
|
||||
0xb0, 0x2a, 0x00, 0x50, 0x55, 0x00};
|
||||
@@ -0,0 +1,33 @@
|
||||
/* $XConsortium: xm_warning /main/5 1995/07/17 10:33:17 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define xm_warning_width 9
|
||||
#define xm_warning_height 22
|
||||
static char xm_warning_bits[] = {
|
||||
0x00, 0x00, 0x18, 0x00, 0x2c, 0x00, 0x56, 0x00, 0x2a, 0x00, 0x56, 0x00,
|
||||
0x2a, 0x00, 0x56, 0x00, 0x2c, 0x00, 0x14, 0x00, 0x2c, 0x00, 0x14, 0x00,
|
||||
0x2c, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x14, 0x00,
|
||||
0x2c, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,35 @@
|
||||
/* $XConsortium: xm_working /main/5 1995/07/17 10:33:26 drk $ */
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* HISTORY
|
||||
*/
|
||||
#define xm_working_width 21
|
||||
#define xm_working_height 23
|
||||
static char xm_working_bits[] = {
|
||||
0x00, 0x00, 0x00, 0xfe, 0xff, 0x0f, 0xaa, 0xaa, 0x0a, 0x44, 0x55, 0x06,
|
||||
0xcc, 0x2a, 0x02, 0x44, 0x55, 0x06, 0xcc, 0x2a, 0x02, 0x84, 0x15, 0x06,
|
||||
0x8c, 0x2a, 0x02, 0x04, 0x15, 0x06, 0x0c, 0x0a, 0x02, 0x04, 0x06, 0x06,
|
||||
0x0c, 0x0b, 0x02, 0x84, 0x15, 0x06, 0xcc, 0x2a, 0x02, 0x44, 0x55, 0x06,
|
||||
0xcc, 0x2a, 0x02, 0x44, 0x55, 0x06, 0xcc, 0x2a, 0x02, 0x44, 0x55, 0x06,
|
||||
0xfe, 0xff, 0x0f, 0x56, 0x55, 0x05, 0x00, 0x00, 0x00};
|
||||
@@ -0,0 +1,3 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = xmbind mwm uil
|
||||
@@ -0,0 +1,662 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = clients
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/ac_find_xft.m4 \
|
||||
$(top_srcdir)/ac_image_support.m4 $(top_srcdir)/libtool.m4 \
|
||||
$(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \
|
||||
$(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/lib/Xm/Xm.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||
install-data-recursive install-dvi-recursive \
|
||||
install-exec-recursive install-html-recursive \
|
||||
install-info-recursive install-pdf-recursive \
|
||||
install-ps-recursive install-recursive installcheck-recursive \
|
||||
installdirs-recursive pdf-recursive ps-recursive \
|
||||
tags-recursive uninstall-recursive
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
$(RECURSIVE_TARGETS) \
|
||||
$(RECURSIVE_CLEAN_TARGETS) \
|
||||
$(am__extra_recursive_targets)
|
||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||
distdir
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AGE = @AGE@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CDE_CONFIGURATION_TOP = @CDE_CONFIGURATION_TOP@
|
||||
CDE_INSTALLATION_TOP = @CDE_INSTALLATION_TOP@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFDIR = @CONFDIR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CURRENT = @CURRENT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
|
||||
FGREP = @FGREP@
|
||||
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
||||
GREP = @GREP@
|
||||
INCDIR = @INCDIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_XP = @LIB_XP@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MWMRCDIR = @MWMRCDIR@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OM22_COMPATIBILITY_FALSE = @OM22_COMPATIBILITY_FALSE@
|
||||
OM22_COMPATIBILITY_TRUE = @OM22_COMPATIBILITY_TRUE@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PRINTING_SUPPORTED_FALSE = @PRINTING_SUPPORTED_FALSE@
|
||||
PRINTING_SUPPORTED_TRUE = @PRINTING_SUPPORTED_TRUE@
|
||||
RANLIB = @RANLIB@
|
||||
REVISION = @REVISION@
|
||||
RM = @RM@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SPLINT = @SPLINT@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMBINDDIR_FALLBACK = @XMBINDDIR_FALLBACK@
|
||||
XMKMF = @XMKMF@
|
||||
XMTHEME_DIST = @XMTHEME_DIST@
|
||||
XRENDER_CFLAGS = @XRENDER_CFLAGS@
|
||||
XRENDER_LIBS = @XRENDER_LIBS@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
X_XMU = @X_XMU@
|
||||
YACC = @YACC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
confdir = @confdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fc_config = @fc_config@
|
||||
ft_config = @ft_config@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
SUBDIRS = xmbind mwm uil
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clients/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign clients/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run 'make' without going through this Makefile.
|
||||
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||
$(am__recursive_targets):
|
||||
@fail=; \
|
||||
if $(am__make_keepgoing); then \
|
||||
failcom='fail=yes'; \
|
||||
else \
|
||||
failcom='exit 1'; \
|
||||
fi; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-recursive
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-recursive
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-recursive
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
$(am__make_dryrun) \
|
||||
|| test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(am__recursive_targets) install-am install-strip
|
||||
|
||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
|
||||
check-am clean clean-generic clean-libtool cscopelist-am ctags \
|
||||
ctags-am distclean distclean-generic distclean-libtool \
|
||||
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-am uninstall uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,83 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = Mwm.msg $(rc_DATA)
|
||||
|
||||
SUBDIRS = WmWsmLib
|
||||
|
||||
rcdir = $(MWMRCDIR)
|
||||
|
||||
rc_DATA = system.mwmrc
|
||||
|
||||
bin_PROGRAMS = mwm
|
||||
mwm_LDADD = ./WmWsmLib/libWsm.a ../../lib/Xm/libXm.la
|
||||
|
||||
INCLUDES = -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART \
|
||||
-DCDE_INSTALLATION_TOP=\"@CDE_INSTALLATION_TOP@\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"@CDE_CONFIGURATION_TOP@\" \
|
||||
-DBITMAPDIR=\"@INCDIR@/bitmaps\" \
|
||||
-DMWMRCDIR=\"$(MWMRCDIR)\" \
|
||||
-I$(top_builddir)/lib \
|
||||
-I$(srcdir)/../../lib ${X_CFLAGS}
|
||||
|
||||
SRCS1= WmCDInfo.c WmCDecor.c WmCEvent.c\
|
||||
WmCPlace.c WmColormap.c WmError.c\
|
||||
WmEvent.c WmFeedback.c \
|
||||
WmFunction.c WmGraphics.c WmIDecor.c\
|
||||
WmIPlace.c WmIconBox.c \
|
||||
WmKeyFocus.c WmMain.c WmManage.c\
|
||||
WmProperty.c WmResCvt.c\
|
||||
WmResParse.c WmResource.c WmSignal.c \
|
||||
WmWinConf.c WmWinInfo.c WmWinList.c WmWinState.c \
|
||||
WmWsm.c WmXSMP.c version.c WmCmd.c WmImage.c WmInitWs.c WmMenu.c WmProtocol.c
|
||||
|
||||
noinst_HEADERS = WmBitmap.h \
|
||||
WmCDInfo.h \
|
||||
WmCDecor.h \
|
||||
WmCEvent.h \
|
||||
WmCPlace.h \
|
||||
WmCmd.h \
|
||||
WmColormap.h \
|
||||
WmDebug.h \
|
||||
WmError.h \
|
||||
WmEvent.h \
|
||||
WmFeedback.h \
|
||||
WmFunction.h \
|
||||
WmGlobal.h \
|
||||
WmGraphics.h \
|
||||
WmIBitmap.h \
|
||||
WmICCC.h \
|
||||
WmIDecor.h \
|
||||
WmIPlace.h \
|
||||
WmIconBox.h \
|
||||
WmImage.h \
|
||||
WmInitWs.h \
|
||||
WmKeyFocus.h \
|
||||
WmManage.h \
|
||||
WmMenu.h \
|
||||
WmOL.h \
|
||||
WmProperty.h \
|
||||
WmProtocol.h \
|
||||
WmResCvt.h \
|
||||
WmResNames.h \
|
||||
WmResParse.h \
|
||||
WmResource.h \
|
||||
WmSignal.h \
|
||||
WmWinConf.h \
|
||||
WmWinInfo.h \
|
||||
WmWinList.h \
|
||||
WmWinState.h \
|
||||
WmWsm.h \
|
||||
WmXSMP.h
|
||||
|
||||
mwm_SOURCES = $(SRCS1)
|
||||
|
||||
if MessageCatalog
|
||||
|
||||
CAT_FILES = Mwm.cat MwmMsgCatI.h
|
||||
|
||||
$(CAT_FILES): Mwm.msg
|
||||
$(mkinstalldirs) $(top_builddir)/localized/C/msg
|
||||
$(top_builddir)/localized/util/mkcatdefs MwmMsgCatI.h $(srcdir)/Mwm.msg >$(top_builddir)/localized/C/msg/Mwm.msg
|
||||
gencat Mwm.cat $(top_builddir)/localized/C/msg/Mwm.msg
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,954 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
bin_PROGRAMS = mwm$(EXEEXT)
|
||||
subdir = clients/mwm
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/ac_find_xft.m4 \
|
||||
$(top_srcdir)/ac_image_support.m4 $(top_srcdir)/libtool.m4 \
|
||||
$(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \
|
||||
$(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
|
||||
$(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/lib/Xm/Xm.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(rcdir)"
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
am__objects_1 = WmCDInfo.$(OBJEXT) WmCDecor.$(OBJEXT) \
|
||||
WmCEvent.$(OBJEXT) WmCPlace.$(OBJEXT) WmColormap.$(OBJEXT) \
|
||||
WmError.$(OBJEXT) WmEvent.$(OBJEXT) WmFeedback.$(OBJEXT) \
|
||||
WmFunction.$(OBJEXT) WmGraphics.$(OBJEXT) WmIDecor.$(OBJEXT) \
|
||||
WmIPlace.$(OBJEXT) WmIconBox.$(OBJEXT) WmKeyFocus.$(OBJEXT) \
|
||||
WmMain.$(OBJEXT) WmManage.$(OBJEXT) WmProperty.$(OBJEXT) \
|
||||
WmResCvt.$(OBJEXT) WmResParse.$(OBJEXT) WmResource.$(OBJEXT) \
|
||||
WmSignal.$(OBJEXT) WmWinConf.$(OBJEXT) WmWinInfo.$(OBJEXT) \
|
||||
WmWinList.$(OBJEXT) WmWinState.$(OBJEXT) WmWsm.$(OBJEXT) \
|
||||
WmXSMP.$(OBJEXT) version.$(OBJEXT) WmCmd.$(OBJEXT) \
|
||||
WmImage.$(OBJEXT) WmInitWs.$(OBJEXT) WmMenu.$(OBJEXT) \
|
||||
WmProtocol.$(OBJEXT)
|
||||
am_mwm_OBJECTS = $(am__objects_1)
|
||||
mwm_OBJECTS = $(am_mwm_OBJECTS)
|
||||
mwm_DEPENDENCIES = ./WmWsmLib/libWsm.a ../../lib/Xm/libXm.la
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
am__v_lt_1 =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include -I$(top_builddir)/lib/Xm
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
am__v_CC_1 =
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
am__v_CCLD_1 =
|
||||
SOURCES = $(mwm_SOURCES)
|
||||
DIST_SOURCES = $(mwm_SOURCES)
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||
install-data-recursive install-dvi-recursive \
|
||||
install-exec-recursive install-html-recursive \
|
||||
install-info-recursive install-pdf-recursive \
|
||||
install-ps-recursive install-recursive installcheck-recursive \
|
||||
installdirs-recursive pdf-recursive ps-recursive \
|
||||
tags-recursive uninstall-recursive
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
DATA = $(rc_DATA)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
$(RECURSIVE_TARGETS) \
|
||||
$(RECURSIVE_CLEAN_TARGETS) \
|
||||
$(am__extra_recursive_targets)
|
||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||
distdir
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp README
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AGE = @AGE@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CDE_CONFIGURATION_TOP = @CDE_CONFIGURATION_TOP@
|
||||
CDE_INSTALLATION_TOP = @CDE_INSTALLATION_TOP@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFDIR = @CONFDIR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CURRENT = @CURRENT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
|
||||
FGREP = @FGREP@
|
||||
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
|
||||
GREP = @GREP@
|
||||
INCDIR = @INCDIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_XP = @LIB_XP@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MWMRCDIR = @MWMRCDIR@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OM22_COMPATIBILITY_FALSE = @OM22_COMPATIBILITY_FALSE@
|
||||
OM22_COMPATIBILITY_TRUE = @OM22_COMPATIBILITY_TRUE@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PRINTING_SUPPORTED_FALSE = @PRINTING_SUPPORTED_FALSE@
|
||||
PRINTING_SUPPORTED_TRUE = @PRINTING_SUPPORTED_TRUE@
|
||||
RANLIB = @RANLIB@
|
||||
REVISION = @REVISION@
|
||||
RM = @RM@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SPLINT = @SPLINT@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMBINDDIR_FALLBACK = @XMBINDDIR_FALLBACK@
|
||||
XMKMF = @XMKMF@
|
||||
XMTHEME_DIST = @XMTHEME_DIST@
|
||||
XRENDER_CFLAGS = @XRENDER_CFLAGS@
|
||||
XRENDER_LIBS = @XRENDER_LIBS@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
X_XMU = @X_XMU@
|
||||
YACC = @YACC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
confdir = @confdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fc_config = @fc_config@
|
||||
ft_config = @ft_config@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
EXTRA_DIST = Mwm.msg $(rc_DATA)
|
||||
SUBDIRS = WmWsmLib
|
||||
rcdir = $(MWMRCDIR)
|
||||
rc_DATA = system.mwmrc
|
||||
mwm_LDADD = ./WmWsmLib/libWsm.a ../../lib/Xm/libXm.la
|
||||
INCLUDES = -DLARGECURSORS -DR2_COMPAT -DUNMAP_ON_RESTART \
|
||||
-DCDE_INSTALLATION_TOP=\"@CDE_INSTALLATION_TOP@\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"@CDE_CONFIGURATION_TOP@\" \
|
||||
-DBITMAPDIR=\"@INCDIR@/bitmaps\" \
|
||||
-DMWMRCDIR=\"$(MWMRCDIR)\" \
|
||||
-I$(top_builddir)/lib \
|
||||
-I$(srcdir)/../../lib ${X_CFLAGS}
|
||||
|
||||
SRCS1 = WmCDInfo.c WmCDecor.c WmCEvent.c\
|
||||
WmCPlace.c WmColormap.c WmError.c\
|
||||
WmEvent.c WmFeedback.c \
|
||||
WmFunction.c WmGraphics.c WmIDecor.c\
|
||||
WmIPlace.c WmIconBox.c \
|
||||
WmKeyFocus.c WmMain.c WmManage.c\
|
||||
WmProperty.c WmResCvt.c\
|
||||
WmResParse.c WmResource.c WmSignal.c \
|
||||
WmWinConf.c WmWinInfo.c WmWinList.c WmWinState.c \
|
||||
WmWsm.c WmXSMP.c version.c WmCmd.c WmImage.c WmInitWs.c WmMenu.c WmProtocol.c
|
||||
|
||||
noinst_HEADERS = WmBitmap.h \
|
||||
WmCDInfo.h \
|
||||
WmCDecor.h \
|
||||
WmCEvent.h \
|
||||
WmCPlace.h \
|
||||
WmCmd.h \
|
||||
WmColormap.h \
|
||||
WmDebug.h \
|
||||
WmError.h \
|
||||
WmEvent.h \
|
||||
WmFeedback.h \
|
||||
WmFunction.h \
|
||||
WmGlobal.h \
|
||||
WmGraphics.h \
|
||||
WmIBitmap.h \
|
||||
WmICCC.h \
|
||||
WmIDecor.h \
|
||||
WmIPlace.h \
|
||||
WmIconBox.h \
|
||||
WmImage.h \
|
||||
WmInitWs.h \
|
||||
WmKeyFocus.h \
|
||||
WmManage.h \
|
||||
WmMenu.h \
|
||||
WmOL.h \
|
||||
WmProperty.h \
|
||||
WmProtocol.h \
|
||||
WmResCvt.h \
|
||||
WmResNames.h \
|
||||
WmResParse.h \
|
||||
WmResource.h \
|
||||
WmSignal.h \
|
||||
WmWinConf.h \
|
||||
WmWinInfo.h \
|
||||
WmWinList.h \
|
||||
WmWinState.h \
|
||||
WmWsm.h \
|
||||
WmXSMP.h
|
||||
|
||||
mwm_SOURCES = $(SRCS1)
|
||||
@MessageCatalog_TRUE@CAT_FILES = Mwm.cat MwmMsgCatI.h
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clients/mwm/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign clients/mwm/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed 's/$(EXEEXT)$$//' | \
|
||||
while read p p1; do if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then echo "$$p"; echo "$$p"; else :; fi; \
|
||||
done | \
|
||||
sed -e 'p;s,.*/,,;n;h' \
|
||||
-e 's|.*|.|' \
|
||||
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
|
||||
sed 'N;N;N;s,\n, ,g' | \
|
||||
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
|
||||
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
||||
if ($$2 == $$4) files[d] = files[d] " " $$1; \
|
||||
else { print "f", $$3 "/" $$4, $$1; } } \
|
||||
END { for (d in files) print "f", d, files[d] }' | \
|
||||
while read type dir files; do \
|
||||
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
||||
test -z "$$files" || { \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
|
||||
} \
|
||||
; done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
|
||||
files=`for p in $$list; do echo "$$p"; done | \
|
||||
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
|
||||
-e 's/$$/$(EXEEXT)/' \
|
||||
`; \
|
||||
test -n "$$list" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(bindir)" && rm -f $$files
|
||||
|
||||
clean-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list || exit $$?; \
|
||||
test -n "$(EXEEXT)" || exit 0; \
|
||||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list
|
||||
|
||||
mwm$(EXEEXT): $(mwm_OBJECTS) $(mwm_DEPENDENCIES) $(EXTRA_mwm_DEPENDENCIES)
|
||||
@rm -f mwm$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(mwm_OBJECTS) $(mwm_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmCDInfo.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmCDecor.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmCEvent.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmCPlace.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmCmd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmColormap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmError.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmEvent.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmFeedback.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmFunction.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmGraphics.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmIDecor.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmIPlace.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmIconBox.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmImage.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmInitWs.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmKeyFocus.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmMain.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmManage.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmMenu.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmProperty.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmProtocol.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmResCvt.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmResParse.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmResource.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmSignal.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmWinConf.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmWinInfo.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmWinList.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmWinState.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmWsm.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WmXSMP.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-rcDATA: $(rc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(rc_DATA)'; test -n "$(rcdir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(rcdir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(rcdir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(rcdir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(rcdir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-rcDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(rc_DATA)'; test -n "$(rcdir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(rcdir)'; $(am__uninstall_files_from_dir)
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run 'make' without going through this Makefile.
|
||||
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||
$(am__recursive_targets):
|
||||
@fail=; \
|
||||
if $(am__make_keepgoing); then \
|
||||
failcom='fail=yes'; \
|
||||
else \
|
||||
failcom='exit 1'; \
|
||||
fi; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-recursive
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-recursive
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-recursive
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
$(am__make_dryrun) \
|
||||
|| test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(rcdir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-rcDATA
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-rcDATA
|
||||
|
||||
.MAKE: $(am__recursive_targets) install-am install-strip
|
||||
|
||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
|
||||
check-am clean clean-binPROGRAMS clean-generic clean-libtool \
|
||||
cscopelist-am ctags ctags-am distclean distclean-compile \
|
||||
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-binPROGRAMS install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-rcDATA install-strip installcheck installcheck-am \
|
||||
installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
|
||||
uninstall-rcDATA
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
@MessageCatalog_TRUE@$(CAT_FILES): Mwm.msg
|
||||
@MessageCatalog_TRUE@ $(mkinstalldirs) $(top_builddir)/localized/C/msg
|
||||
@MessageCatalog_TRUE@ $(top_builddir)/localized/util/mkcatdefs MwmMsgCatI.h $(srcdir)/Mwm.msg >$(top_builddir)/localized/C/msg/Mwm.msg
|
||||
@MessageCatalog_TRUE@ gencat Mwm.cat $(top_builddir)/localized/C/msg/Mwm.msg
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,103 @@
|
||||
$ $XConsortium: Mwm.msg /main/3 1995/07/19 11:03:31 drk $
|
||||
$set MS_errors
|
||||
WMCDECOR_MSG_0 Insufficient memory for client window framing
|
||||
WMCDECOR_MSG_1 Error reading Title Elements\n
|
||||
WMERROR_MSG_0 I/O error on display:
|
||||
WMFUNCTION_MSG_0 Cannot restart the window manager
|
||||
WMFUNCTION_MSG_1 Unable to warp to unmanaged screen %d\n
|
||||
WMGRAPHICS_MSG_0 Insufficient memory for graphics data
|
||||
WMIDECOR_MSG_0 Could not make icon to go in icon box
|
||||
WMIDECOR_MSG_1 Insufficient memory for icon creation
|
||||
WMIPLACE_MSG_0 Insufficient memory to create icon box data
|
||||
WMIMAGE_MSG_0 Invalid icon bitmap
|
||||
WMIMAGE_MSG_1 Insufficient memory to bevel icon image
|
||||
WMIMAGE_MSG_2 Can't find bitmap or pixmap file %s
|
||||
WMINITWS_MSG_0 Could not open display.
|
||||
WMINITWS_MSG_1 Insufficient memory for Screen data
|
||||
WMINITWS_MSG_2 Another window manager is running on screen %d
|
||||
WMINITWS_MSG_3 Unable to manage any screens on display.
|
||||
WMINITWS_MSG_4 Cannot configure X connection
|
||||
WMINITWS_MSG_5
|
||||
WMINITWS_MSG_6 Insufficient memory for Workspace data
|
||||
WMINITWS_MSG_7 Insufficient memory for displayString
|
||||
WMINITWS_MSG_8 Insufficient memory for window manager data
|
||||
WMINITWS_MSG_9 Insufficient memory for screen names
|
||||
WMMENU_MSG_0 Menu specification %s not found\n
|
||||
WMMENU_MSG_1 Insufficient memory for menu %s\n
|
||||
WMMENU_MSG_2 Insufficient memory for menu spec\n
|
||||
WMMENU_MSG_3 Insufficient memory for menu item %s\n
|
||||
WMMENU_MSG_4 Menu recursion detected for %s\n
|
||||
WMPROPERTY_MSG_0 Insufficient memory for window management data
|
||||
WMPROPERTY_MSG_1 Insufficient memory for window manager flags
|
||||
WMPROTOCOL_MSG_0 Insufficient memory to XInternAtom _MOTIF_WM_QUERY_nn
|
||||
WMPROTOCOL_MSG_1 Failed to own _MOTIF_WM_QUERY_nn selection
|
||||
WMPROTOCOL_MSG_2 Lost _MOTIF_WM_QUERY_nn selection
|
||||
WMPROTOCOL_MSG_3 Insufficient memory to convert _MOTIF_WM_QUERY_nn selection
|
||||
WMPROTOCOL_MSG_4 Failed to own WM_nn selection
|
||||
WMPROTOCOL_MSG_5 Got convert request from screen I don't manage!
|
||||
WMPROTOCOL_MSG_6 Conversion request made for unknown target type
|
||||
WMPROTOCOL_MSG_7 Conversion request received for unknown selection
|
||||
WMRESPARSE_MSG_0 Cannot open configuration file
|
||||
WMRESPARSE_MSG_1 Insufficient memory for menu accelerators
|
||||
WMRESPARSE_MSG_2 Insufficient memory to get LANG environment variable.
|
||||
WMRESPARSE_MSG_3 Insufficient memory for menu
|
||||
WMRESPARSE_MSG_4 Expected '{' after menu name
|
||||
WMRESPARSE_MSG_5 Insufficient memory for menu item label
|
||||
WMRESPARSE_MSG_6 Insufficient memory for menu item
|
||||
WMRESPARSE_MSG_7 Invalid mnemonic specification
|
||||
WMRESPARSE_MSG_8 Insufficient memory for accelerator specification
|
||||
WMRESPARSE_MSG_9 Invalid accelerator specification
|
||||
WMRESPARSE_MSG_10 Insufficient memory
|
||||
WMRESPARSE_MSG_11 Missing group specification
|
||||
WMRESPARSE_MSG_12 Invalid group specification
|
||||
WMRESPARSE_MSG_13 Invalid number specification
|
||||
WMRESPARSE_MSG_14 Expected '{' after button set name
|
||||
WMRESPARSE_MSG_15 Insufficient memory for button specification
|
||||
WMRESPARSE_MSG_16 Invalid button specification
|
||||
WMRESPARSE_MSG_17 Invalid button context
|
||||
WMRESPARSE_MSG_18 Expected '{' after key set name
|
||||
WMRESPARSE_MSG_19 Insufficient memory for key specification
|
||||
WMRESPARSE_MSG_20 Invalid key specification
|
||||
WMRESPARSE_MSG_21 Invalid key context
|
||||
WMRESPARSE_MSG_22 %s: %s on line %d of configuration file \"%s\"\n
|
||||
WMRESPARSE_MSG_23 %s: %s on line %d of specification string\n
|
||||
WMRESPARSE_MSG_24 Insufficient memory for screen names
|
||||
WMRESOURCE_MSG_0 failed to load font: %.100s
|
||||
WMRESOURCE_MSG_1 cannot find an appropriate font: %.100s
|
||||
WMRESOURCE_MSG_2 Insufficient memory for window manager data
|
||||
WMRESOURCE_MSG_3 Key bindings %s not found, using builtin key bindings\n
|
||||
WMRESOURCE_MSG_4 Button bindings %s not found, using builtin button bindings\n
|
||||
WMSESSION_MSG_0 Session Manager Error: %s\n
|
||||
WMSESSION_MSG_1 Session Manager Warning: %s\n
|
||||
WMSESSION_MSG_2 Not enough memory to get text property.
|
||||
WMSESSION_MSG_3 No client leader for subwindow. Setting clientLeader field.
|
||||
WMSESSION_MSG_4 Not enough memory to create new orphan.
|
||||
WMSESSION_MSG_5 Not enough memory to create new alien.
|
||||
WMSESSION_MSG_6 Not enough memory to create new missingChild.
|
||||
WMSESSION_MSG_7 Not enough memory to add new client leader.
|
||||
WMSESSION_MSG_8 Not enought memory to create client list.
|
||||
WMSESSION_MSG_9 Insufficient memory to XInternAtom WM_nn
|
||||
WMSESSION_MSG_10 Failed to own WM_nn selection
|
||||
WMSESSION_MSG_11 Missing child found mismarked client leader window.
|
||||
WMWININFO_MSG_0 [XmbTextPropertyToTextList]:\n Locale (%.100s) not supported. (Check $LANG).
|
||||
WMWININFO_MSG_1 Insufficient memory for client data
|
||||
WMWININFO_MSG_2 Couldn't make icon box
|
||||
WMWININFO_MSG_3 mwm cannot convert property %.100s as clientTitle/iconTitle: XmbTextPropertyToTextList.
|
||||
WMWININFO_MSG_4 insufficient memory to convert property %.100s as clientTitle/iconTitle: XmbTextPropertyToTextList.
|
||||
WMWININFO_MSG_5 mwm receives unknown property as clientTitle/iconName : %.100s property ignored.
|
||||
WMWININFO_MSG_6 Retrying - using builtin window menu\n
|
||||
WMWINSTATE_MSG_0 Error: Divide by 0 in SetMwmIconInfo\n
|
||||
WMWSM_MSG_0 Error: The selection owner does not understand the WSM protocol.\n
|
||||
WMWSM_MSG_1 Error: No one owns selection.\n
|
||||
WMWSM_MSG_2 Error: Owner of the WSM selection timed out.\n
|
||||
WMWSM_MSG_3 Error: This request requires configuration format.\n
|
||||
WMWSM_MSG_4 Error: This request cannot be sent after a config format request.\n
|
||||
WMWSM_MSG_5 Internal Error: No reply received.\n
|
||||
WMWSM_MSG_6 Unknown message type\n
|
||||
WMWSM_MSG_7 Error occurred sending message to wsm.
|
||||
CLIENTPROPS_MSG_0 %s: can't open %s.\n
|
||||
CLIENTPROPS_MSG_1 Received %s message: %s\n
|
||||
|
||||
$set MS_labels
|
||||
|
||||
WMICONBOX_MSG_0 \"Pack Icons\" _P Shift Alt<Key>F7 f.pack_icons\n
|
||||
@@ -0,0 +1,39 @@
|
||||
/* $XConsortium: README /main/2 1996/07/15 13:55:30 drk $ */
|
||||
Motif 1.1 Window Manager Status (11 May 90)
|
||||
|
||||
*** Mwm 1.1 BETA + + Notes ***
|
||||
|
||||
This snapshot of mwm is composed of files that have changed since betaPlus.
|
||||
|
||||
|
||||
The following are new since the last tape:
|
||||
|
||||
* Mwm now checks that an icon is visible before posting
|
||||
a menu for an icon in the icon box. This needs more
|
||||
tuning.
|
||||
|
||||
* Opaque moves can now be canceled safely
|
||||
|
||||
* Mwm now restores client X borders on quit and restart.
|
||||
Unfortunately this has introduced a bug on restart
|
||||
with regard to the window position when
|
||||
positionIsFrame: True.
|
||||
This will be fixed soon.
|
||||
|
||||
* Mwm now removes a terminal separator on a menu if
|
||||
the last menu button is disabled via clientFunctions.
|
||||
|
||||
* Active label flashing bug in pointer mode is fixed
|
||||
|
||||
* Misc bug fixes
|
||||
|
||||
|
||||
=================================
|
||||
File list for mwm beta + +
|
||||
|
||||
WmCEvent.c WmCPlace.c WmFeedback.c
|
||||
WmFunction.c WmIDecor.c WmIconBox.c
|
||||
WmInitWs.c WmManage.c WmMenu.c
|
||||
WmWinConf.c WmWinInfo.c WmWinState.c
|
||||
|
||||
WmIconBox.h WmResource.h
|
||||
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.3
|
||||
*/
|
||||
|
||||
/*
|
||||
* Global Variables And Definitions:
|
||||
*/
|
||||
|
||||
/*
|
||||
* Define HOURGLASS cursor
|
||||
*/
|
||||
|
||||
#ifdef LARGECURSORS
|
||||
#ifdef INTEGRATION_TESTING
|
||||
#include "integCursor.h"
|
||||
#endif /* INTEGRATION_TESTING */
|
||||
|
||||
#define time32_width 32
|
||||
#define time32_height 32
|
||||
#define time32_x_hot 15
|
||||
#define time32_y_hot 15
|
||||
static unsigned char time32_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0x8c, 0x00, 0x00, 0x31, 0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32,
|
||||
0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32, 0x4c, 0x00, 0x00, 0x32,
|
||||
0x8c, 0x00, 0x00, 0x31, 0x0c, 0x7f, 0xfe, 0x30, 0x0c, 0xfe, 0x7f, 0x30,
|
||||
0x0c, 0xfc, 0x3f, 0x30, 0x0c, 0xf8, 0x1f, 0x30, 0x0c, 0xe0, 0x07, 0x30,
|
||||
0x0c, 0x80, 0x01, 0x30, 0x0c, 0x80, 0x01, 0x30, 0x0c, 0x60, 0x06, 0x30,
|
||||
0x0c, 0x18, 0x18, 0x30, 0x0c, 0x04, 0x20, 0x30, 0x0c, 0x02, 0x40, 0x30,
|
||||
0x0c, 0x01, 0x80, 0x30, 0x8c, 0x00, 0x00, 0x31, 0x4c, 0x80, 0x01, 0x32,
|
||||
0x4c, 0xc0, 0x03, 0x32, 0x4c, 0xf0, 0x1f, 0x32, 0x4c, 0xff, 0xff, 0x32,
|
||||
0xcc, 0xff, 0xff, 0x33, 0x8c, 0xff, 0xff, 0x31, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00};
|
||||
|
||||
#define time32m_width 32
|
||||
#define time32m_height 32
|
||||
static unsigned char time32m_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xcf, 0x00, 0x00, 0xf3, 0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76,
|
||||
0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76, 0x6e, 0x00, 0x00, 0x76,
|
||||
0xce, 0x00, 0x00, 0x73, 0x8e, 0x7f, 0xfe, 0x71, 0x0e, 0xff, 0xff, 0x70,
|
||||
0x0e, 0xfe, 0x7f, 0x70, 0x0e, 0xfc, 0x3f, 0x70, 0x0e, 0xf8, 0x1f, 0x70,
|
||||
0x0e, 0xe0, 0x07, 0x70, 0x0e, 0xe0, 0x07, 0x70, 0x0e, 0x78, 0x1e, 0x70,
|
||||
0x0e, 0x1c, 0x38, 0x70, 0x0e, 0x06, 0x60, 0x70, 0x0e, 0x03, 0xc0, 0x70,
|
||||
0x8e, 0x01, 0x80, 0x71, 0xce, 0x00, 0x00, 0x73, 0x6e, 0x80, 0x01, 0x76,
|
||||
0x6e, 0xc0, 0x03, 0x76, 0x6e, 0xf0, 0x1f, 0x76, 0x6e, 0xff, 0xff, 0x76,
|
||||
0xee, 0xff, 0xff, 0x77, 0xcf, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
|
||||
#endif /* LARGECURSORS */
|
||||
|
||||
|
||||
#ifdef MWM_NEED_TIME16
|
||||
#define time16_x_hot 7
|
||||
#define time16_y_hot 7
|
||||
#define time16_width 16
|
||||
#define time16_height 16
|
||||
static unsigned char time16_bits[] = {
|
||||
0x00, 0x00, 0xfe, 0x7f, 0x14, 0x28, 0x14, 0x28, 0x14, 0x28, 0x24, 0x24,
|
||||
0x44, 0x22, 0x84, 0x21, 0x84, 0x21, 0x44, 0x22, 0x24, 0x24, 0x14, 0x28,
|
||||
0x94, 0x29, 0xd4, 0x2b, 0xfe, 0x7f, 0x00, 0x00};
|
||||
|
||||
#define time16m_width 16
|
||||
#define time16m_height 16
|
||||
static unsigned char time16m_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfe, 0x7f, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xff};
|
||||
#endif /* MWM_NEED_TIME16 */
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Define DO NOT ENTER cursor
|
||||
*/
|
||||
|
||||
#ifdef LARGECURSORS
|
||||
|
||||
#define noenter32_width 32
|
||||
#define noenter32_height 32
|
||||
#define noenter32_x_hot 15
|
||||
#define noenter32_y_hot 15
|
||||
|
||||
static unsigned char noenter32_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xfc, 0x3f, 0x00,
|
||||
0x00, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x03,
|
||||
0xe0, 0xff, 0xff, 0x07, 0xf0, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x1f,
|
||||
0xf8, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60,
|
||||
0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60, 0x06, 0x00, 0x00, 0x60,
|
||||
0x06, 0x00, 0x00, 0x60, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0xf8, 0xff, 0xff, 0x1f, 0xf8, 0xff, 0xff, 0x1f,
|
||||
0xf0, 0xff, 0xff, 0x0f, 0xe0, 0xff, 0xff, 0x07, 0xc0, 0xff, 0xff, 0x03,
|
||||
0x80, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x00, 0x00, 0xfc, 0x3f, 0x00,
|
||||
0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
|
||||
static unsigned char noenter32m_bits[] = {
|
||||
0x00, 0xe0, 0x07, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x00,
|
||||
0x80, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x03, 0xe0, 0xff, 0xff, 0x07,
|
||||
0xf0, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xfc, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
|
||||
0xfe, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x3f,
|
||||
0xf8, 0xff, 0xff, 0x1f, 0xf0, 0xff, 0xff, 0x0f, 0xe0, 0xff, 0xff, 0x07,
|
||||
0xc0, 0xff, 0xff, 0x03, 0x80, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x00,
|
||||
0x00, 0xfc, 0x3f, 0x00, 0x00, 0xe0, 0x07, 0x00};
|
||||
|
||||
#endif /* LARGECURSORS */
|
||||
|
||||
#ifdef MWM_NEED_NOENTER16
|
||||
#define noenter16_width 16
|
||||
#define noenter16_height 16
|
||||
#define noenter16_x_hot 7
|
||||
#define noenter16_y_hot 7
|
||||
|
||||
static unsigned char noenter16_bits[] = {
|
||||
0x00, 0x00, 0xc0, 0x03, 0xf0, 0x0f, 0xf8, 0x1f, 0xfc, 0x3f, 0xfc, 0x3f,
|
||||
0xfe, 0x7f, 0x02, 0x40, 0x02, 0x40, 0xfe, 0x7f, 0xfc, 0x3f, 0xfc, 0x3f,
|
||||
0xf8, 0x1f, 0xf0, 0x0f, 0xc0, 0x03, 0x00, 0x00};
|
||||
|
||||
static unsigned char noenter16m_bits[] = {
|
||||
0xc0, 0x03, 0xf0, 0x0f, 0xf8, 0x1f, 0xfc, 0x3f, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x7f, 0xfe, 0x7f,
|
||||
0xfc, 0x3f, 0xf8, 0x1f, 0xf0, 0x0f, 0xc0, 0x03};
|
||||
|
||||
#endif /* MWM_NEED_NOENTER16 */
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.3
|
||||
*/
|
||||
|
||||
extern int FrameX (ClientData *pcd);
|
||||
extern int FrameY (ClientData *pcd);
|
||||
extern unsigned int FrameWidth (ClientData *pcd);
|
||||
extern unsigned int FrameHeight (ClientData *pcd);
|
||||
extern unsigned int TitleTextHeight (ClientData *pcd);
|
||||
extern unsigned int UpperBorderWidth (ClientData *pcd);
|
||||
extern unsigned int LowerBorderWidth (ClientData *pcd);
|
||||
extern unsigned int CornerWidth (ClientData *pcd);
|
||||
extern unsigned int CornerHeight (ClientData *pcd);
|
||||
extern int BaseWindowX (ClientData *pcd);
|
||||
extern int BaseWindowY (ClientData *pcd);
|
||||
extern unsigned int BaseWindowWidth (ClientData *pcd);
|
||||
extern unsigned int BaseWindowHeight (ClientData *pcd);
|
||||
extern Boolean GetFramePartInfo (ClientData *pcd, int part, int *pX, int *pY, unsigned int *pWidth, unsigned int *pHeight);
|
||||
extern int IdentifyFramePart (ClientData *pCD, int x, int y);
|
||||
extern int GadgetID (int x, int y, GadgetRectangle *pgadget, unsigned int count);
|
||||
extern void FrameToClient (ClientData *pcd, int *pX, int *pY, unsigned int *pWidth, unsigned int *pHeight);
|
||||
extern void ClientToFrame (ClientData *pcd, int *pX, int *pY, unsigned int *pWidth, unsigned int *pHeight);
|
||||
extern Boolean GetDepressInfo (ClientData *pcd, int part, int *pX, int *pY, unsigned int *pWidth, unsigned int *pHeight, unsigned int *pInvertWidth);
|
||||
extern void SetFrameInfo (ClientData *pcd);
|
||||
extern void SetClientOffset (ClientData *pcd);
|
||||
extern Boolean XBorderIsShowing (ClientData *pcd);
|
||||
extern unsigned int InitTitleBarHeight (ClientData *pcd);
|
||||
|
||||
/*
|
||||
* TitleBarHeight() is now a simple macro instead of a procedure.
|
||||
*/
|
||||
|
||||
#define TitleBarHeight(pcd) ((pcd)->frameInfo.titleBarHeight)
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
extern Boolean FrameWindow (ClientData *pcd);
|
||||
extern void FrameExposureProc (ClientData *pcd);
|
||||
extern void BaseWinExposureProc (ClientData *pcd);
|
||||
extern void SetFrameShape (ClientData *pcd);
|
||||
extern Boolean ConstructFrame (ClientData *pcd);
|
||||
extern void GenerateFrameDisplayLists (ClientData *pcd);
|
||||
extern void AdoptClient (ClientData *pcd);
|
||||
extern void GetTextBox (ClientData *pcd, XRectangle *pBox);
|
||||
extern void DrawWindowTitle (ClientData *pcd, Boolean eraseFirst);
|
||||
extern void CreateStretcherWindows (ClientData *pcd);
|
||||
extern void CountFrameRectangles (WmScreenData *pSD);
|
||||
extern Boolean AllocateFrameDisplayLists (ClientData *pcd);
|
||||
extern void InitClientDecoration (WmScreenData *pSD);
|
||||
extern Boolean AllocateGadgetRectangles (ClientData *pcd);
|
||||
extern void ComputeGadgetRectangles (ClientData *pcd);
|
||||
extern void GetSystemMenuPosition (ClientData *pcd, int *px, int *py, unsigned int height, Context context);
|
||||
extern void ShowActiveClientFrame (ClientData *pcd);
|
||||
extern void ShowInactiveClientFrame (ClientData *pcd);
|
||||
extern void RegenerateClientFrame (ClientData *pcd);
|
||||
extern void BevelSystemButton (RList *prTop, RList *prBot, int x, int y, unsigned int width, unsigned int height);
|
||||
extern void BevelMinimizeButton (RList *prTop, RList *prBot, int x, int y, unsigned int height);
|
||||
extern void BevelMaximizeButton (RList *prTop, RList *prBot, int x, int y, unsigned int height);
|
||||
extern Boolean DepressGadget (ClientData *pcd, int gadget, Boolean depressed);
|
||||
extern void PushGadgetIn (ClientData *pcd, int gadget);
|
||||
extern void PopGadgetOut (ClientData *pcd, int gadget);
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
|
||||
extern void CheckButtonPressBuiltin (XButtonEvent *buttonEvent,
|
||||
Context context, Context subContext,
|
||||
int partContext, ClientData *pCD);
|
||||
extern void CheckButtonReleaseBuiltin (XButtonEvent *buttonEvent,
|
||||
Context context, Context subContext,
|
||||
ClientData *pCD);
|
||||
extern Window GetParentWindow (Window window);
|
||||
extern WmScreenData *GetScreenForWindow (Window win);
|
||||
extern Boolean HandleCButtonPress (ClientData *pCD, XButtonEvent *buttonEvent);
|
||||
extern void HandleCButtonRelease (ClientData *pCD, XButtonEvent *buttonEvent);
|
||||
extern void HandleCColormapNotify (ClientData *pCD,
|
||||
XColormapEvent *colorEvent);
|
||||
extern void HandleCConfigureRequest (ClientData *pCD,
|
||||
XConfigureRequestEvent *configureRequest);
|
||||
extern void HandleCEnterNotify (ClientData *pCD,
|
||||
XEnterWindowEvent *enterEvent);
|
||||
extern void HandleCLeaveNotify (ClientData *pCD,
|
||||
XLeaveWindowEvent *leaveEvent);
|
||||
extern Boolean HandleCFocusIn (ClientData *pCD,
|
||||
XFocusChangeEvent *focusChangeEvent);
|
||||
extern Boolean HandleCFocusOut (ClientData *pCD,
|
||||
XFocusChangeEvent *focusChangeEvent);
|
||||
extern Boolean HandleCKeyPress (ClientData *pCD, XKeyEvent *keyEvent);
|
||||
extern void HandleClientMessage (ClientData *pCD,
|
||||
XClientMessageEvent *clientEvent);
|
||||
extern void HandleCMotionNotify (ClientData *pCD, XMotionEvent *motionEvent);
|
||||
extern void HandleCPropertyNotify (ClientData *pCD,
|
||||
XPropertyEvent *propertyEvent);
|
||||
#ifndef NO_SHAPE
|
||||
extern void HandleCShapeNotify (ClientData *pCD, XShapeEvent *shapeEvent);
|
||||
#endif /* NO_SHAPE */
|
||||
extern Boolean HandleEventsOnClientWindow (ClientData *pCD, XEvent *pEvent);
|
||||
extern Boolean HandleEventsOnSpecialWindows (XEvent *pEvent);
|
||||
|
||||
|
||||
extern void SetupCButtonBindings (Window window, ButtonSpec *buttonSpecs);
|
||||
extern Boolean WmDispatchClientEvent (XEvent *event);
|
||||
extern void HandleIconBoxButtonPress (ClientData *pCD,
|
||||
XButtonEvent *buttonEvent,
|
||||
Context subContext);
|
||||
extern void HandleIconButtonPress (ClientData *pCD, XButtonEvent *buttonEvent);
|
||||
|
||||
|
||||
extern void ProcessButtonGrabOnClient (ClientData *pCD,
|
||||
XButtonEvent *buttonEvent,
|
||||
Boolean replayEvent);
|
||||
extern void DetermineActiveScreen (XEvent *pEvent);
|
||||
extern Boolean WmDispatchClientEvent (XEvent *event);
|
||||
|
||||
#define SetActiveScreen(psd) (ACTIVE_PSD=(psd), wmGD.queryScreen=False)
|
||||
@@ -0,0 +1,679 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef REV_INFO
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$XConsortium: WmCPlace.c /main/5 1996/08/09 15:18:04 rswiston $"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
#include "WmGlobal.h"
|
||||
#define XK_MISCELLANY
|
||||
#define XK_LATIN1
|
||||
#include <X11/keysymdef.h>
|
||||
|
||||
/* absolute value macro */
|
||||
#ifndef ABS
|
||||
#define ABS(x) (((x) > 0) ? (x) : (-(x)))
|
||||
#endif
|
||||
|
||||
#define GRAB_MASK (KeyPressMask | ButtonPressMask | ButtonReleaseMask |\
|
||||
PointerMotionMask)
|
||||
#define PGRAB_MASK (ButtonPressMask | ButtonReleaseMask |\
|
||||
PointerMotionMask | PointerMotionHintMask)
|
||||
|
||||
#define NOFRZ_GRAB_MASK (KeyPressMask | ButtonPressMask |\
|
||||
ButtonReleaseMask)
|
||||
#define NOFRZ_PGRAB_MASK (ButtonPressMask | ButtonReleaseMask)
|
||||
|
||||
/*
|
||||
* include extern functions
|
||||
*/
|
||||
#include "WmCDInfo.h"
|
||||
#include "WmCDecor.h"
|
||||
#include "WmFeedback.h"
|
||||
#include "WmWinConf.h"
|
||||
|
||||
/*
|
||||
* Global Variables:
|
||||
*/
|
||||
static int placeX;
|
||||
static int placeY;
|
||||
static unsigned int placeWidth;
|
||||
static unsigned int placeHeight;
|
||||
|
||||
static Boolean placeResize;
|
||||
static Boolean placementDone;
|
||||
static int placePointerX;
|
||||
static int placePointerY;
|
||||
static int placeKeyMultiplier;
|
||||
|
||||
static int placeOffsetX;
|
||||
static int placeOffsetY;
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* SetupPlacement (pcd)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Perform the initialization for interactive placement
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
* o sets up global data and puts initial display on the screen
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
void SetupPlacement (ClientData *pcd)
|
||||
{
|
||||
int cX, cY, junk;
|
||||
Window junk_win;
|
||||
|
||||
/*
|
||||
* Restore the state of the last "depressed" frame gadget
|
||||
*/
|
||||
|
||||
if (wmGD.gadgetClient && wmGD.gadgetDepressed)
|
||||
{
|
||||
PopGadgetOut(wmGD.gadgetClient, wmGD.gadgetDepressed);
|
||||
|
||||
}
|
||||
|
||||
/* get offset of frame origin from window origin */
|
||||
placeOffsetX = pcd->clientOffset.x;
|
||||
placeOffsetY = pcd->clientOffset.y;
|
||||
|
||||
XQueryPointer (DISPLAY, ACTIVE_ROOT,
|
||||
&junk_win, &junk_win,
|
||||
&cX, &cY, &junk, &junk, (unsigned int *)&junk);
|
||||
|
||||
/* convert to frame coordinates */
|
||||
placePointerX = placeX = cX;
|
||||
placePointerY = placeY = cY;
|
||||
placeWidth = pcd->clientWidth;
|
||||
placeHeight = pcd->clientHeight;
|
||||
ClientToFrame (pcd, &cX, &cY, &placeWidth, &placeHeight);
|
||||
|
||||
/* in "position" mode to start with */
|
||||
placeResize = FALSE;
|
||||
wmGD.preMove = FALSE;
|
||||
|
||||
/* normal window being dealt with, not icon */
|
||||
wmGD.movingIcon = FALSE;
|
||||
|
||||
if (wmGD.showFeedback & WM_SHOW_FB_PLACEMENT)
|
||||
{
|
||||
DoFeedback (pcd, placeX, placeY, placeWidth, placeHeight,
|
||||
(FB_SIZE | FB_POSITION), placeResize);
|
||||
}
|
||||
|
||||
/* set up initial visual feedback */
|
||||
MoveOutline (placeX, placeY, placeWidth, placeHeight);
|
||||
|
||||
} /* END OF FUNCTION SetupPlacement */
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* IsRepeatedKeyEvent (dpy, pEvent, pOldEvent)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Returns TRUE if the event passed in is a repeat of the key event
|
||||
* indicated in pOldEvent
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* dpy - display
|
||||
* pEvent - pointer to this event
|
||||
* pOldEvent - pointer to previous event (cast to the correct type)
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* IsRepeatedKeyEvent - True if the events are "the same,"
|
||||
* False otherwise.
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
Bool IsRepeatedKeyEvent (Display *dpy, XEvent *pEvent, char *pOldEvent)
|
||||
{
|
||||
XEvent *pOld = (XEvent *) pOldEvent;
|
||||
|
||||
if ((pEvent->type == KeyPress) && /* key press event */
|
||||
(pEvent->type == pOld->type) && /* same event type */
|
||||
(pEvent->xkey.keycode == pOld->xkey.keycode) && /* same key code */
|
||||
(pEvent->xkey.state == pOld->xkey.state) && /* same modifiers */
|
||||
(pEvent->xkey.window == pOld->xkey.window) && /* same window */
|
||||
(pEvent->xkey.root == pOld->xkey.root)) /* same root */
|
||||
{
|
||||
return (True);
|
||||
}
|
||||
else
|
||||
{
|
||||
return (False);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* StartInteractiveSizing (pcd, time)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Switch from "position" mode to "resize" mode
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
* time - time stamp of event for pointer regrab
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
void StartInteractiveSizing (ClientData *pcd, Time time)
|
||||
{
|
||||
unsigned int gmask;
|
||||
|
||||
/* regrab pointer to change cursor */
|
||||
gmask = (wmGD.freezeOnConfig)? PGRAB_MASK : NOFRZ_PGRAB_MASK;
|
||||
XChangeActivePointerGrab (DISPLAY, gmask,
|
||||
wmGD.sizePlacementCursor, time);
|
||||
|
||||
/* put cursor at lower-right corner */
|
||||
if (wmGD.enableWarp)
|
||||
{
|
||||
XWarpPointer (DISPLAY, None, ACTIVE_ROOT, 0, 0, 0, 0,
|
||||
(int) (placeX+placeWidth-1), (int) (placeY+placeHeight-1));
|
||||
}
|
||||
|
||||
/*
|
||||
* Don't go into resize mode if resize is turned off.
|
||||
*/
|
||||
if (pcd->clientFunctions & MWM_FUNC_RESIZE)
|
||||
{
|
||||
/* update flags */
|
||||
placeResize = TRUE;
|
||||
wmGD.preMove = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* HandlePlacementKeyEvent (pcd, pev)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Handle key presses during interactive placement
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
* pev - pointer to key press event
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void HandlePlacementKeyEvent (ClientData *pcd, XKeyEvent *pev)
|
||||
{
|
||||
XEvent KeyEvent;
|
||||
KeySym keysym;
|
||||
Boolean control, valid;
|
||||
int big_inc;
|
||||
int tmpX = 0;
|
||||
int tmpY = 0;
|
||||
int warpX, warpY, newX, newY;
|
||||
int keyPlaceX = placeX;
|
||||
int keyPlaceY = placeY;
|
||||
unsigned int keyPlaceWidth = placeWidth;
|
||||
unsigned int keyPlaceHeight = placeHeight;
|
||||
|
||||
/* filter out repeating keys */
|
||||
placeKeyMultiplier = 1;
|
||||
if (pev->type == KeyPress)
|
||||
{
|
||||
while (placeKeyMultiplier <= 10 &&
|
||||
XCheckIfEvent (DISPLAY, &KeyEvent, IsRepeatedKeyEvent,
|
||||
(char *) pev))
|
||||
{
|
||||
placeKeyMultiplier++;
|
||||
}
|
||||
}
|
||||
|
||||
/* convert event data to useful key data */
|
||||
#ifdef FIX_1611
|
||||
keysym = WmKeycodeToKeysym(DISPLAY, pev->keycode);
|
||||
#else
|
||||
keysym = XKeycodeToKeysym (DISPLAY, pev->keycode, 0);
|
||||
#endif
|
||||
control = (pev->state & ControlMask) != 0;
|
||||
big_inc = DisplayWidth(DISPLAY, ACTIVE_PSD->screen) / 20;
|
||||
|
||||
/* interpret key data */
|
||||
valid = FALSE;
|
||||
switch (keysym)
|
||||
{
|
||||
case XK_Left:
|
||||
tmpX = (control) ? (-big_inc) : -1;
|
||||
valid = TRUE;
|
||||
break;
|
||||
|
||||
case XK_Up:
|
||||
tmpY = (control) ? (-big_inc) : -1;
|
||||
valid = TRUE;
|
||||
break;
|
||||
|
||||
case XK_Right:
|
||||
tmpX = (control) ? (big_inc) : 1;
|
||||
valid = TRUE;
|
||||
break;
|
||||
|
||||
case XK_Down:
|
||||
tmpY = (control) ? (big_inc) : 1;
|
||||
valid = TRUE;
|
||||
break;
|
||||
|
||||
case XK_space:
|
||||
StartInteractiveSizing(pcd, pev->time);
|
||||
break;
|
||||
|
||||
case XK_Return:
|
||||
placementDone = TRUE; /* global "done" flag */
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
/* if a valid key was pressed, then react to it */
|
||||
if (valid) {
|
||||
tmpX *= placeKeyMultiplier;
|
||||
tmpY *= placeKeyMultiplier;
|
||||
|
||||
if (placeResize)
|
||||
{
|
||||
keyPlaceWidth += tmpX; /* change size of outline */
|
||||
keyPlaceHeight += tmpY;
|
||||
|
||||
FixFrameValues(pcd, &keyPlaceX, &keyPlaceY, &keyPlaceWidth,
|
||||
&keyPlaceHeight, placeResize);
|
||||
|
||||
warpX = keyPlaceX+keyPlaceWidth-1;
|
||||
warpY = keyPlaceY+keyPlaceHeight-1;
|
||||
|
||||
SetPointerPosition (warpX, warpY, &newX, &newY);
|
||||
|
||||
if ((warpX == newX) && (warpY == newY))
|
||||
{
|
||||
placeWidth = keyPlaceWidth;
|
||||
placeHeight = keyPlaceHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
placeWidth = newX - keyPlaceX + 1;
|
||||
placeHeight = newY - keyPlaceY + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
keyPlaceX += tmpX; /* change position of outline */
|
||||
keyPlaceY += tmpY;
|
||||
|
||||
FixFrameValues(pcd, &keyPlaceX, &keyPlaceY, &keyPlaceWidth,
|
||||
&keyPlaceHeight, placeResize);
|
||||
|
||||
warpX = keyPlaceX;
|
||||
warpY = keyPlaceY;
|
||||
|
||||
SetPointerPosition (warpX, warpY, &newX, &newY);
|
||||
|
||||
placeX = newX;
|
||||
placeY = newY;
|
||||
}
|
||||
placePointerX = newX;
|
||||
placePointerY = newY;
|
||||
}
|
||||
FixFrameValues (pcd, &placeX, &placeY, &placeWidth, &placeHeight,
|
||||
placeResize);
|
||||
|
||||
MoveOutline (placeX, placeY, placeWidth, placeHeight);
|
||||
|
||||
if (wmGD.showFeedback & WM_SHOW_FB_PLACEMENT)
|
||||
{
|
||||
DoFeedback (pcd, placeX, placeY, placeWidth, placeHeight,
|
||||
0, placeResize);
|
||||
}
|
||||
} /* END OF FUNCTION HandlePlacementKeyEvent */
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* HandlePlacementButtonEvent (pev)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* XXDescription ...
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pev - pointer to button event
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void HandlePlacementButtonEvent (XButtonEvent *pev)
|
||||
{
|
||||
/*
|
||||
* Only listen to button 1
|
||||
*/
|
||||
if (pev->button == 1)
|
||||
{
|
||||
/*
|
||||
* Complete interactive placement on button release
|
||||
*/
|
||||
if (pev->type == ButtonRelease)
|
||||
{
|
||||
placementDone = TRUE; /* global done flag */
|
||||
}
|
||||
|
||||
else if (pev->type == ButtonPress)
|
||||
{
|
||||
|
||||
/*
|
||||
* Button press, go to pre-resize mode
|
||||
*/
|
||||
wmGD.preMoveX = pev->x_root;
|
||||
wmGD.preMoveY = pev->y_root;
|
||||
wmGD.preMove = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* HandlePlacementMotionEvent (pcd, pev)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Handles pointer motion events during interactive placement
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
* pev - pointer to mouse motion event
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void HandlePlacementMotionEvent (ClientData *pcd, XMotionEvent *pev)
|
||||
{
|
||||
int diffx, diffy;
|
||||
|
||||
/*
|
||||
* If in pre-resize mode, check for motion crossing threshhold before
|
||||
* switching modes
|
||||
*/
|
||||
if (wmGD.preMove) {
|
||||
diffx = pev->x_root - wmGD.preMoveX;
|
||||
diffy = pev->y_root - wmGD.preMoveY;
|
||||
if ((ABS(diffx) > wmGD.moveThreshold) ||
|
||||
(ABS(diffy) > wmGD.moveThreshold))
|
||||
{
|
||||
StartInteractiveSizing(pcd, pev->time);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (placeResize) {
|
||||
/*
|
||||
* Track lower right corner
|
||||
*/
|
||||
if (pev->x_root > placeX)
|
||||
placeWidth = pev->x_root - placeX + 1;
|
||||
if (pev->y_root > placeY)
|
||||
placeHeight = pev->y_root - placeY + 1;
|
||||
}
|
||||
else {
|
||||
/*
|
||||
* track window position
|
||||
*/
|
||||
placeX = pev->x_root;
|
||||
placeY = pev->y_root;
|
||||
}
|
||||
|
||||
placePointerX = pev->x_root;
|
||||
placePointerY = pev->y_root;
|
||||
|
||||
FixFrameValues (pcd, &placeX, &placeY, &placeWidth, &placeHeight,
|
||||
placeResize);
|
||||
|
||||
MoveOutline (placeX, placeY, placeWidth, placeHeight);
|
||||
|
||||
if (wmGD.showFeedback & WM_SHOW_FB_PLACEMENT)
|
||||
{
|
||||
DoFeedback (pcd, placeX, placeY, placeWidth, placeHeight,
|
||||
0, placeResize);
|
||||
}
|
||||
} /* END OF FUNCTION HandlePlacementMotionEvent */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* DoPlacement (pcd)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Gets window configuration from the user via pointer/keyboard interaction
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* pcd - clientX, clientY, clientWidth, and clientHeight members
|
||||
* could be changed
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
* We try to be careful only to remove events that we need from the
|
||||
* event queue while we're in our own event processing loop.
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
void DoPlacement (ClientData *pcd)
|
||||
{
|
||||
XEvent event;
|
||||
|
||||
/*
|
||||
* Initialization
|
||||
*/
|
||||
SetupPlacement (pcd);
|
||||
|
||||
/*
|
||||
* Process events
|
||||
*/
|
||||
placementDone = FALSE;
|
||||
while (!placementDone)
|
||||
{
|
||||
GetConfigEvent (DISPLAY, ACTIVE_ROOT, GRAB_MASK,
|
||||
placePointerX, placePointerY, placeX, placeY,
|
||||
placeWidth, placeHeight, &event);
|
||||
|
||||
switch (event.type) {
|
||||
case KeyPress:
|
||||
HandlePlacementKeyEvent(pcd, (XKeyEvent *)&event);
|
||||
break;
|
||||
|
||||
case ButtonPress:
|
||||
HandlePlacementButtonEvent((XButtonEvent *)&event);
|
||||
break;
|
||||
|
||||
case ButtonRelease:
|
||||
HandlePlacementButtonEvent((XButtonEvent *)&event);
|
||||
break;
|
||||
|
||||
case MotionNotify:
|
||||
HandlePlacementMotionEvent(pcd, (XMotionEvent *)&event);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* copy back the configuration information */
|
||||
pcd->clientX = placeX + placeOffsetX;
|
||||
pcd->clientY = placeY + placeOffsetY;
|
||||
pcd->clientWidth = placeWidth - 2*placeOffsetX;
|
||||
pcd->clientHeight = placeHeight - placeOffsetX - placeOffsetY;
|
||||
|
||||
/* clean up */
|
||||
MoveOutline (0,0,0,0);
|
||||
HideFeedbackWindow(pcd->pSD);
|
||||
|
||||
} /* END OF FUNCTION DoPlacement */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* PlaceWindowInteractively(pcd)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Gets the clients size and position information interactively from the
|
||||
* user.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pcd - pointer to client data
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
void PlaceWindowInteractively (ClientData *pcd)
|
||||
{
|
||||
unsigned int gmask;
|
||||
|
||||
gmask = (wmGD.freezeOnConfig)? PGRAB_MASK : NOFRZ_PGRAB_MASK;
|
||||
|
||||
/*
|
||||
* Return if config is in progress or if grabs fail
|
||||
*/
|
||||
if (!DoGrabs (ACTIVE_ROOT, wmGD.movePlacementCursor,
|
||||
gmask, CurrentTime, pcd, True))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the size and position of the window from the user.
|
||||
* Do our own event processing until a button-up event occurs
|
||||
*/
|
||||
DoPlacement(pcd);
|
||||
|
||||
/*
|
||||
* Finish up and return the data
|
||||
*/
|
||||
UndoGrabs();
|
||||
wmGD.preMove = FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.2
|
||||
*/
|
||||
|
||||
extern void PlaceWindowInteractively (ClientData *pcd);
|
||||
extern void DoPlacement (ClientData *pcd);
|
||||
extern void SetupPlacement (ClientData *pcd);
|
||||
extern void HandlePlacementKeyEvent (ClientData *pcd, XKeyEvent *pev);
|
||||
extern void HandlePlacementButtonEvent (XButtonEvent *pev);
|
||||
extern void HandlePlacementMotionEvent (ClientData *pcd, XMotionEvent *pev);
|
||||
extern void StartInteractiveSizing (ClientData *pcd, Time time);
|
||||
extern Bool IsRepeatedKeyEvent (Display *dpy, XEvent *pEvent, char *pOldEvent);
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef _WM_CMD_
|
||||
#define _WM_CMD_
|
||||
|
||||
#include <Xm/Xm.h>
|
||||
#include "WmWsmLib/wsm_proto.h"
|
||||
|
||||
#define WINDOW_MASK 0x3fffffff
|
||||
#define ALL_WINDOWS 0x3fffffff
|
||||
#define ICON_ONLY ((unsigned int)1)<<31
|
||||
#define WINDOW_ONLY 1<<30
|
||||
|
||||
|
||||
extern void DefineCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void IncludeCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void EnableCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void DisableCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void RenameCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void RemoveCommand (Widget, Atom, MessageData,
|
||||
unsigned long, int);
|
||||
extern void AddWindowMenuEntry (ClientData *);
|
||||
extern void DeleteCommand (long, CmdTree **);
|
||||
extern void SendInvokeMessage (CARD32, CARD32, Atom, Time);
|
||||
|
||||
extern void
|
||||
GetAutomationData (XtPointer input, Atom *outputType, XtPointer *output, unsigned long *outputLen, int *outputFmt);
|
||||
|
||||
|
||||
#endif /* _WM_CMD_ */
|
||||
@@ -0,0 +1,729 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.3
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef REV_INFO
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$XConsortium: WmColormap.c /main/5 1996/10/30 11:14:44 drk $"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
|
||||
#include "WmGlobal.h"
|
||||
|
||||
/*
|
||||
* include extern functions
|
||||
*/
|
||||
|
||||
#include "WmColormap.h"
|
||||
#include "WmKeyFocus.h"
|
||||
|
||||
static Bool ProcessEvents(Display *dpy, XEvent *Event, char *c_pCD);
|
||||
|
||||
|
||||
/* Global variables */
|
||||
static unsigned long firstRequest, lastRequest;
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* InitWorkspaceColormap ()
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function sets up the default workspace colormap and prepares for
|
||||
* workspace colormap processing.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* -------
|
||||
* pSD = ptr to screen data
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* wmGD = (workspaceColormap)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void InitWorkspaceColormap (WmScreenData *pSD)
|
||||
{
|
||||
/*
|
||||
* Setup the default (workspace) colormap:
|
||||
* !!! this should be made more general to get the colormap for the !!!
|
||||
* !!! workspace (root) and then track colormap changes !!!
|
||||
*/
|
||||
|
||||
pSD->workspaceColormap = DefaultColormap (DISPLAY, pSD->screen);
|
||||
|
||||
} /* END OF FUNCTION InitWorkspaceColormap */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* InitColormapFocus (pSD)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function prepares for managing the colormap focus and sets the
|
||||
* initial colormap focus (if the focus policy is "keyboard" - i.e. the
|
||||
* colormap focus tracks the keyboard focus) the initial colormap
|
||||
* installation is done in InitKeyboardFocus.
|
||||
*
|
||||
* Inputs:
|
||||
* -------
|
||||
* pSD = pointer to screen data
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* *pSD = (colormapFocus)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void InitColormapFocus (WmScreenData *pSD)
|
||||
{
|
||||
ClientData *pCD;
|
||||
Boolean sameScreen;
|
||||
|
||||
|
||||
/*
|
||||
* Set up the initial colormap focus. If the colormapFocusPolicy is
|
||||
* "keyboard" or it is "pointer" and the keyboard input focus policy
|
||||
* is "pointer" then set up the initial colormap focus when the
|
||||
* initial keyboard input focus is set up.
|
||||
*/
|
||||
|
||||
pSD->colormapFocus = NULL;
|
||||
|
||||
if (wmGD.colormapFocusPolicy == CMAP_FOCUS_POINTER)
|
||||
{
|
||||
if (wmGD.keyboardFocusPolicy != KEYBOARD_FOCUS_POINTER)
|
||||
{
|
||||
if ((pCD = GetClientUnderPointer (&sameScreen)) != NULL)
|
||||
{
|
||||
SetColormapFocus (pSD, pCD);
|
||||
}
|
||||
else
|
||||
{
|
||||
WmInstallColormap (pSD, pSD->workspaceColormap);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
WmInstallColormap (pSD, pSD->workspaceColormap);
|
||||
}
|
||||
|
||||
} /* END OF FUNCTION InitColormapFocus */
|
||||
|
||||
|
||||
|
||||
#ifndef OLD_COLORMAP
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* ForceColormapFocus (pSD, pCD)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* ForceColormapFocus is the working part of the original SetColormapFocus.
|
||||
* This function is used to unconditionally set the colormap focus to a
|
||||
* particular client window or to clear the colormap focus (set focus to
|
||||
* the root window).
|
||||
*
|
||||
* The reason is to permit focus to be dtrced. We need to do this because
|
||||
* we can already have colormap focus, but still need to set the colormaps.
|
||||
* Examples of when this occurs are:
|
||||
*
|
||||
* * after the window manager itself has forced a colormap,
|
||||
* as happens when it draws transients in the overlay planes.
|
||||
* * when WM_COLORMAP_WINDOWS changes.
|
||||
* * when a ColormapNotify (new) event is received.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pSD = pointer to Screen Data
|
||||
* pCD = pointer to client data (clientColormap ...)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void ForceColormapFocus (WmScreenData *pSD, ClientData *pCD)
|
||||
{
|
||||
if (pCD && ((pCD->clientState == NORMAL_STATE) ||
|
||||
(pCD->clientState == MAXIMIZED_STATE)))
|
||||
{
|
||||
pSD->colormapFocus = pCD;
|
||||
#ifndef OLD_COLORMAP /* colormaps */
|
||||
ProcessColormapList (pSD, pCD);
|
||||
#else /* OSF original */
|
||||
WmInstallColormap (pSD, pCD->clientColormap);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* The default colormap is installed for minimized windows that have
|
||||
* the colormap focus.
|
||||
* !!! should colormaps be installed for icons with client !!!
|
||||
* !!! icon windows? should the client colormap be installed ? !!!
|
||||
*/
|
||||
|
||||
pSD->colormapFocus = NULL;
|
||||
WmInstallColormap (pSD, pSD->workspaceColormap);
|
||||
}
|
||||
|
||||
} /* END OF FUNCTION ForceColormapFocus */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* SetColormapFocus (pSD, pCD)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is used to set the colormap focus to a particular client
|
||||
* window or to clear the colormap focus (set focus to the root window).
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pSD = pointer to Screen Data
|
||||
* pCD = pointer to client data (clientColormap ...)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void SetColormapFocus (WmScreenData *pSD, ClientData *pCD)
|
||||
{
|
||||
if (pCD == pSD->colormapFocus)
|
||||
{
|
||||
/*
|
||||
* The focus is already set to the right place.
|
||||
*/
|
||||
|
||||
return;
|
||||
}
|
||||
#ifndef OLD_COLORMAP
|
||||
ForceColormapFocus (pSD, pCD);
|
||||
#else /* OSF original */
|
||||
|
||||
if (pCD && ((pCD->clientState == NORMAL_STATE) ||
|
||||
(pCD->clientState == MAXIMIZED_STATE)))
|
||||
{
|
||||
pSD->colormapFocus = pCD;
|
||||
#ifndef OLD_COLORMAP /* colormaps */
|
||||
ProcessColormapList (pSD, pCD);
|
||||
#else /* OSF original */
|
||||
WmInstallColormap (pSD, pCD->clientColormap);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* The default colormap is installed for minimized windows that have
|
||||
* the colormap focus.
|
||||
* !!! should colormaps be installed for icons with client !!!
|
||||
* !!! icon windows? should the client colormap be installed ? !!!
|
||||
*/
|
||||
|
||||
pSD->colormapFocus = NULL;
|
||||
WmInstallColormap (pSD, pSD->workspaceColormap);
|
||||
}
|
||||
#endif
|
||||
|
||||
} /* END OF FUNCTION SetColormapFocus */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmInstallColormap (pSD, colormap)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function installs colormaps for the window manager. It trys to be
|
||||
* intelligent and avoid unnecessary installations. It assumes that no
|
||||
* other program is installing colormaps.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pSD = ptr to screen data
|
||||
* colormap = the id for the colormap to be installed
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void WmInstallColormap (WmScreenData *pSD, Colormap colormap)
|
||||
{
|
||||
/*
|
||||
* !!! this could be generalized to work better for systems that !!!
|
||||
* !!! support multiple installed colormaps !!!
|
||||
*/
|
||||
|
||||
if (colormap != pSD->lastInstalledColormap)
|
||||
{
|
||||
XInstallColormap (DISPLAY, colormap);
|
||||
pSD->lastInstalledColormap = colormap;
|
||||
}
|
||||
|
||||
} /* END OF FUNCTION WmInstallColormap */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* ResetColormapData (pCD, pWindows, count)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is used to release old colormap data (contexts, malloc'ed
|
||||
* space).
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pCD = pointer to client data (cmapWindows ...)
|
||||
*
|
||||
* pWindows = new list of colormap windows
|
||||
*
|
||||
* count = number of windows in new colormap windows list
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void ResetColormapData (ClientData *pCD, Window *pWindows, int count)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
if (pCD->clientCmapCount)
|
||||
{
|
||||
if (count == 0)
|
||||
{
|
||||
/* reset the client colormap to the toplevel window colormap */
|
||||
for (i = 0; i < pCD->clientCmapCount; i++)
|
||||
{
|
||||
if (pCD->cmapWindows[i] == pCD->client)
|
||||
{
|
||||
pCD->clientColormap = pCD->clientCmapList[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Free up old contexts.
|
||||
*/
|
||||
|
||||
for (i = 0; i < pCD->clientCmapCount; i++)
|
||||
{
|
||||
if (pCD->cmapWindows[i] != pCD->client)
|
||||
{
|
||||
#ifndef IBM_169380
|
||||
RemoveColormapWindowReference(pCD, pCD->cmapWindows[i]);
|
||||
#else
|
||||
XDeleteContext (DISPLAY, pCD->cmapWindows[i],
|
||||
wmGD.windowContextType);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Free up old colormap data.
|
||||
*/
|
||||
|
||||
XtFree ((char *)(pCD->cmapWindows));
|
||||
XtFree ((char *)(pCD->clientCmapList));
|
||||
pCD->clientCmapCount = 0;
|
||||
#ifndef OLD_COLORMAP /* colormap */
|
||||
XtFree ((char *)(pCD->clientCmapFlags));
|
||||
pCD->clientCmapFlags = 0; /* DEBUG: */
|
||||
pCD->clientCmapFlagsInitialized = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (count)
|
||||
{
|
||||
/*
|
||||
* Set new contexts.
|
||||
*/
|
||||
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
if (pWindows[i] != pCD->client)
|
||||
{
|
||||
#ifndef IBM_169380
|
||||
AddColormapWindowReference(pCD, pWindows[i]);
|
||||
#else
|
||||
XSaveContext (DISPLAY, pWindows[i], wmGD.windowContextType,
|
||||
(caddr_t)pCD);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} /* END OF FUNCTION ResetColormapData */
|
||||
|
||||
#ifndef IBM_169380
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* AddColormapWindowReference (pCD, window)
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is used to update (or create, if necessary) the structure
|
||||
* that keeps track of all references to a Window from a toplevel window
|
||||
* WM_COLORMAP_DATA property.
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void AddColormapWindowReference (ClientData *pCD, Window window)
|
||||
{
|
||||
ClientData **cmap_window_data;
|
||||
Boolean context_exists;
|
||||
int i;
|
||||
ClientData **new_cmap_window_data;
|
||||
|
||||
context_exists = (!XFindContext (DISPLAY, window,
|
||||
wmGD.cmapWindowContextType,
|
||||
(XPointer *) &cmap_window_data));
|
||||
if (context_exists)
|
||||
{
|
||||
for (i = 0; cmap_window_data[i] != NULL; i++)
|
||||
{
|
||||
if (cmap_window_data[i] == pCD)
|
||||
{
|
||||
/* Reference already exists - return */
|
||||
return;
|
||||
}
|
||||
}
|
||||
new_cmap_window_data = (ClientData **)
|
||||
XtMalloc((i + 2 ) * sizeof(ClientData *));
|
||||
memcpy((void *)new_cmap_window_data,(void *)cmap_window_data,
|
||||
(i + 1) * sizeof(ClientData *));
|
||||
XtFree((char *) cmap_window_data);
|
||||
XDeleteContext(DISPLAY, window, wmGD.cmapWindowContextType);
|
||||
}
|
||||
else
|
||||
{
|
||||
i = 0;
|
||||
new_cmap_window_data = (ClientData **)
|
||||
XtMalloc(2 * sizeof(ClientData *));
|
||||
}
|
||||
new_cmap_window_data[i] = pCD;
|
||||
new_cmap_window_data[i + 1] = NULL;
|
||||
XSaveContext (DISPLAY, window, wmGD.cmapWindowContextType,
|
||||
(caddr_t)new_cmap_window_data);
|
||||
}
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* RemoveColormapWindowReference (pCD, window)
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is used to update (or delete, if necessary) the structure
|
||||
* that keeps track of all references to a Window from a toplevel window
|
||||
* WM_COLORMAP_DATA property.
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void RemoveColormapWindowReference (ClientData *pCD, Window window)
|
||||
{
|
||||
ClientData **cmap_window_data;
|
||||
Boolean context_exists;
|
||||
int i;
|
||||
int reference_idx = -1;
|
||||
ClientData **new_cmap_window_data;
|
||||
|
||||
context_exists = (!XFindContext (DISPLAY, window,
|
||||
wmGD.cmapWindowContextType,
|
||||
(XPointer *) &cmap_window_data));
|
||||
if (context_exists)
|
||||
{
|
||||
for (i = 0; cmap_window_data[i] != NULL; i++)
|
||||
{
|
||||
if (cmap_window_data[i] == pCD)
|
||||
reference_idx = i;
|
||||
}
|
||||
if (reference_idx < 0)
|
||||
return;
|
||||
|
||||
if (i > 1)
|
||||
{
|
||||
int j,idx;
|
||||
|
||||
new_cmap_window_data = (ClientData **)
|
||||
XtMalloc(i * sizeof(ClientData *));
|
||||
idx = 0;
|
||||
for (j = 0; cmap_window_data[j] != NULL; j++)
|
||||
{
|
||||
if (j != reference_idx)
|
||||
{
|
||||
new_cmap_window_data[idx] = cmap_window_data[j];
|
||||
idx++;
|
||||
}
|
||||
}
|
||||
new_cmap_window_data[idx] = NULL;
|
||||
}
|
||||
XtFree((char *) cmap_window_data);
|
||||
XDeleteContext(DISPLAY, window, wmGD.cmapWindowContextType);
|
||||
if (i > 1)
|
||||
{
|
||||
XSaveContext (DISPLAY, window,
|
||||
wmGD.cmapWindowContextType,
|
||||
(caddr_t)new_cmap_window_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* IBM_169380 */
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** The rest of this module contains the SGI-added colormap handling.
|
||||
**
|
||||
** mwm 1.1.3 didn't even try to deal with multiple colormaps, except to rotate
|
||||
** them. We need to see that all of the colormaps from WM_COLORMAP_WINDOWS
|
||||
** are installed when a window gets colormap focus.
|
||||
**
|
||||
** The general idea is to keep track of which colormaps bounce which other
|
||||
** ones, so we only flash the first time (usually not even then).
|
||||
**
|
||||
** The conflict record of a window is cleared whenever:
|
||||
** * WM_COLORMAP_WINDOWS property changes
|
||||
** * ColormapNotify for a new colormap happens
|
||||
** * windows are rotated (prev_cmap, next_cmap)
|
||||
** This is because with a changed colormap list, we need to recalculate
|
||||
** which ones get bounced out during a full colormap installation.
|
||||
**
|
||||
** We don't just lift the twm code because, after carefully looking over
|
||||
** the twm code, it appears to have some problems of its own. In
|
||||
** particular, it assumes that if a given colormap displaces another one
|
||||
** once, it will always do so. This isn't necessarily so for a multiple
|
||||
** hardware colormaps machine.
|
||||
**
|
||||
** We still need to add code to keep track of which color maps are really
|
||||
** installed at any one time. The current code is ready for this, but it has
|
||||
** not yet been done. Then we could do two things:
|
||||
**
|
||||
** * refrain from installing a colormap if it is already installed
|
||||
**
|
||||
** * have a way to restore all installed colormaps after the window
|
||||
** manager overwrites with it's own.
|
||||
**
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
void
|
||||
ProcessColormapList (WmScreenData *pSD, ClientData *pCD)
|
||||
|
||||
{
|
||||
register int i;
|
||||
XEvent event;
|
||||
|
||||
|
||||
/*
|
||||
* If there is no client, return. This can happen when the root gets focus.
|
||||
*/
|
||||
if (!pCD) return;
|
||||
|
||||
/*
|
||||
* If the window does not have colormap focus, return. We only install
|
||||
* colormaps for windows with focus. We'll get another chance when the
|
||||
* window does get focus.
|
||||
*/
|
||||
if (pCD != pSD->colormapFocus) return;
|
||||
|
||||
/*
|
||||
* If window is iconified, return.
|
||||
*/
|
||||
if ( (pCD->clientState != NORMAL_STATE)
|
||||
&& (pCD->clientState != MAXIMIZED_STATE)
|
||||
) return;
|
||||
|
||||
/*
|
||||
* If the list doesn't exist, or has just a single item, no conflicts
|
||||
* exist -- just go ahead and install the indicated colormap.
|
||||
*/
|
||||
if (pCD->clientCmapCount == 0) {
|
||||
WmInstallColormap (pSD, pCD->clientColormap);
|
||||
return;
|
||||
}
|
||||
if (pCD->clientCmapCount == 1) {
|
||||
WmInstallColormap (pSD, pCD->clientCmapList[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* If the list has already been initialized, we just need to do installs.
|
||||
* Separate out these loops for performance, and because it isn't nice
|
||||
* to grab the server unnecessarily.
|
||||
*
|
||||
* This code should also check for already-installed, once we put in that
|
||||
* capability.
|
||||
*/
|
||||
if (pCD->clientCmapFlagsInitialized) {
|
||||
|
||||
/* Do the part between the index and zero */
|
||||
for (i=pCD->clientCmapIndex; --i>=0; ) {
|
||||
if (pCD->clientCmapFlags[i] == ColormapInstalled) {
|
||||
WmInstallColormap (pSD, pCD->clientCmapList[i]);
|
||||
}
|
||||
};
|
||||
|
||||
/* Do the part from the end of the list to the index */
|
||||
for (i=pCD->clientCmapCount; --i>= pCD->clientCmapIndex; ) {
|
||||
if (pCD->clientCmapFlags[i] == ColormapInstalled) {
|
||||
WmInstallColormap (pSD, pCD->clientCmapList[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/**/
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* If we get this far, the list has not yet been initialized.
|
||||
*
|
||||
* Stabilize the input queue -- the issue is that we need to know
|
||||
* which colormap notify install and uninstall events are ours.
|
||||
*/
|
||||
XGrabServer (DISPLAY); /* Ensure no one else's events for awhile */
|
||||
XSync (DISPLAY, FALSE); /* Let pending events settle */
|
||||
firstRequest = NextRequest (DISPLAY); /* First one that can be ours */
|
||||
|
||||
/*
|
||||
* Install the colormaps from last to first -- first is the "highest
|
||||
* priority". "First" is pCD->clientCmapIndex.
|
||||
*
|
||||
* If the list has not been proocessed before, we need to unconditionally
|
||||
* install each colormap. Colormap flashing is possible this once.
|
||||
*
|
||||
* If the list has already been processed once, all conflict checking
|
||||
* was done then. All we need to do this time is to install the colormaps
|
||||
* we know we need.
|
||||
*/
|
||||
|
||||
/* Do the part between the index and zero */
|
||||
for (i=pCD->clientCmapIndex; --i>=0; ) {
|
||||
WmInstallColormap (pSD, pCD->clientCmapList[i]);
|
||||
pCD->clientCmapFlags[i] = ColormapInstalled;
|
||||
};
|
||||
|
||||
/* Do the part from the end of the list to the index */
|
||||
for (i=pCD->clientCmapCount; --i>= pCD->clientCmapIndex; ) {
|
||||
WmInstallColormap (pSD, pCD->clientCmapList[i]);
|
||||
pCD->clientCmapFlags[i] = ColormapInstalled;
|
||||
}
|
||||
|
||||
/*
|
||||
* Stabilize the input queue again -- the issue is that we need to know
|
||||
* which colormap notify install and uninstall events we caused.
|
||||
*/
|
||||
XSync (DISPLAY, FALSE); /* Let pending events settle */
|
||||
lastRequest = NextRequest (DISPLAY); /* Last one that can be ours */
|
||||
XUngrabServer (DISPLAY); /* Let others use it again */
|
||||
|
||||
/* Process the install & uninstall events */
|
||||
XCheckIfEvent (DISPLAY, (XEvent *) &event, ProcessEvents, (char *)pCD);
|
||||
|
||||
/* Set that the list has been processed once */
|
||||
pCD->clientCmapFlagsInitialized = True;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Look over the queue for install and uninstall events on colormap/window
|
||||
* combinations we care about. We don't actually disturb the queue, so
|
||||
* events can be delivered in undisturbed order to the normal event handling
|
||||
* routines.
|
||||
*
|
||||
* For each appropriate install/uninstall ColormapNotify event that is queued:
|
||||
* *) if uninstall event
|
||||
* *) Set the conflict flag for this colormap window
|
||||
* else if install event
|
||||
* *) Clear the conflict flag for this colormap window
|
||||
*/
|
||||
static Bool
|
||||
ProcessEvents(Display *dpy, XEvent *Event, char *c_pCD)
|
||||
{
|
||||
int i;
|
||||
XColormapEvent *pEvent = (XColormapEvent *) Event;
|
||||
ClientData *pCD = (ClientData *) c_pCD;
|
||||
|
||||
if ( (pEvent->type == ColormapNotify)
|
||||
&& (pEvent->serial >= firstRequest)
|
||||
&& (pEvent->serial < lastRequest)
|
||||
&& (pEvent->colormap != None)
|
||||
&& (!pEvent->new)
|
||||
) {
|
||||
switch (pEvent->state) {
|
||||
case ColormapInstalled:
|
||||
for (i=0; i<pCD->clientCmapCount; i++) {
|
||||
if ( (pCD->clientCmapList[i]==pEvent->colormap)
|
||||
&&(pCD->cmapWindows[i]==pEvent->window)
|
||||
) {
|
||||
pCD->clientCmapFlags[i]
|
||||
= ColormapInstalled;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ColormapUninstalled:
|
||||
for (i=0; i<pCD->clientCmapCount; i++) {
|
||||
if ( (pCD->clientCmapList[i]==pEvent->colormap)
|
||||
&&(pCD->cmapWindows[i]==pEvent->window)
|
||||
) {
|
||||
pCD->clientCmapFlags[i]
|
||||
= ColormapUninstalled;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default: /* Should never get here */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Always return false:
|
||||
* * so that we get to search the entire queue -- it isn't very long
|
||||
* * so all events remain on the queue to be handled normally elsewhere
|
||||
*/
|
||||
return False; /* Always, so no events are lost from the queue */
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
extern void InitWorkspaceColormap (WmScreenData *pSD);
|
||||
extern void InitColormapFocus (WmScreenData *pSD);
|
||||
#ifndef OLD_COLORMAP
|
||||
extern void ForceColormapFocus (WmScreenData *pSD, ClientData *pCD);
|
||||
#endif
|
||||
extern void SetColormapFocus (WmScreenData *pSD, ClientData *pCD);
|
||||
extern void WmInstallColormap (WmScreenData *pSD, Colormap colormap);
|
||||
extern void ResetColormapData (ClientData *pCD, Window *pWindows, int count);
|
||||
#ifndef IBM_169380
|
||||
extern void AddColormapWindowReference (ClientData *pCD, Window window);
|
||||
extern void RemoveColormapWindowReference (ClientData *pCD, Window window);
|
||||
#endif
|
||||
extern void ProcessColormapList (WmScreenData *pSD, ClientData *pCD);
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef _WM_DEBUG_
|
||||
#define _WM_DEBUG_
|
||||
|
||||
#ifdef MWM_DEBUG
|
||||
|
||||
# ifndef PRINT
|
||||
# define PRINT printf
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
||||
# ifndef PRINT
|
||||
# ifdef _NO_PROTO
|
||||
static int noop () { return 0; }
|
||||
# else
|
||||
static int noop (char *fmt, ...) { return 0; }
|
||||
# endif
|
||||
# define PRINT noop
|
||||
# endif
|
||||
|
||||
#endif /* MWM_DEBUG */
|
||||
|
||||
|
||||
#endif /* _WM_DEBUG_ */
|
||||
@@ -0,0 +1,373 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.4
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef REV_INFO
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$XConsortium: WmError.c /main/6 1996/10/07 14:27:34 drk $"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
|
||||
#include "WmGlobal.h"
|
||||
#include <stdio.h>
|
||||
#ifdef WSM
|
||||
#include <Dt/UserMsg.h>
|
||||
#endif /* WSM */
|
||||
#include "WmXSMP.h"
|
||||
|
||||
/*
|
||||
* Function Declarations:
|
||||
*/
|
||||
#include "WmError.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#define E_MAJOR_CODE 0
|
||||
#define E_MINOR_CODE 1
|
||||
#define E_RESOURCE_ID 2
|
||||
#define E_ERROR_SERIAL 3
|
||||
#define E_CURRENT_SERIAL 4
|
||||
|
||||
#define NUM_E_STRINGS 5
|
||||
|
||||
static char *pchErrorFormatNames [NUM_E_STRINGS] = {
|
||||
"MajorCode",
|
||||
"MinorCode",
|
||||
"ResourceID",
|
||||
"ErrorSerial",
|
||||
"CurrentSerial"
|
||||
};
|
||||
|
||||
static char *pchDefaultErrorFormat [NUM_E_STRINGS] = {
|
||||
" %d ",
|
||||
" %d ",
|
||||
" %ld ",
|
||||
" %ld ",
|
||||
" %ld "
|
||||
};
|
||||
|
||||
static char *pchErrorFormat [NUM_E_STRINGS];
|
||||
|
||||
#endif /* DEBUG */
|
||||
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmInitErrorHandler (display)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function initializes the window manager error handler.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* display = display we're talking about
|
||||
* -------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void
|
||||
WmInitErrorHandler (Display *display)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
char buffer[BUFSIZ];
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Fetch the X error format strings from XErrorDB
|
||||
*/
|
||||
for (i = 0; i< NUM_E_STRINGS; i++)
|
||||
{
|
||||
XGetErrorDatabaseText (display, "XlibMessage",
|
||||
pchErrorFormatNames[i],
|
||||
pchDefaultErrorFormat[i], buffer, BUFSIZ);
|
||||
|
||||
if ((pchErrorFormat[i] = (char *) XtMalloc (1+strlen(buffer))) == NULL)
|
||||
{
|
||||
Warning ("Insufficient memory for error message initialization.");
|
||||
ExitWM (1);
|
||||
}
|
||||
|
||||
strcpy(pchErrorFormat[i], buffer);
|
||||
}
|
||||
|
||||
#endif /* DEBUG */
|
||||
|
||||
XSetErrorHandler (WmXErrorHandler);
|
||||
XSetIOErrorHandler (WmXIOErrorHandler);
|
||||
|
||||
XtSetWarningHandler (WmXtWarningHandler);
|
||||
XtSetErrorHandler (WmXtErrorHandler);
|
||||
|
||||
} /* END OF FUNCTION WmInitErrorHandler */
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmXErrorHandler (display, errorEvent)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is the X error handler that is registered with X to
|
||||
* handle X errors resulting from window management activities.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* display = display on which X error occurred
|
||||
*
|
||||
* errorEvent = pointer to a block of information describing the error
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* wmGD.errorFlag = set to True
|
||||
*
|
||||
* Return = 0
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
int
|
||||
WmXErrorHandler (Display *display, XErrorEvent *errorEvent)
|
||||
{
|
||||
ClientData *pCD;
|
||||
|
||||
#ifdef DEBUG
|
||||
char buffer[BUFSIZ];
|
||||
char message[BUFSIZ];
|
||||
|
||||
XGetErrorText (display, errorEvent->error_code, buffer, BUFSIZ);
|
||||
Warning ("X error occurred during window management operation");
|
||||
fprintf (stderr, "Description = '%s'\n ", buffer);
|
||||
|
||||
fprintf (stderr, pchErrorFormat[E_MAJOR_CODE], errorEvent->request_code);
|
||||
sprintf(message, "%d", errorEvent->request_code);
|
||||
XGetErrorDatabaseText (display, "XRequest", message,
|
||||
" ", buffer, BUFSIZ);
|
||||
fprintf (stderr, " (%s)\n ", buffer);
|
||||
fprintf (stderr, pchErrorFormat[E_MINOR_CODE], errorEvent->minor_code);
|
||||
fprintf (stderr, "\n ");
|
||||
fprintf (stderr, pchErrorFormat[E_RESOURCE_ID], errorEvent->resourceid);
|
||||
fprintf (stderr, "\n ");
|
||||
fprintf (stderr, pchErrorFormat[E_ERROR_SERIAL], errorEvent->serial);
|
||||
fprintf (stderr, "\n ");
|
||||
fprintf (stderr, pchErrorFormat[E_CURRENT_SERIAL],
|
||||
LastKnownRequestProcessed(display));
|
||||
fprintf (stderr, "\n");
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
* Check for a BadWindow error for a managed window. If this error
|
||||
* is detected indicate in the client data that the window no longer
|
||||
* exists.
|
||||
*/
|
||||
|
||||
if ((errorEvent->error_code == BadWindow) &&
|
||||
!XFindContext (DISPLAY, errorEvent->resourceid, wmGD.windowContextType,
|
||||
(caddr_t *)&pCD))
|
||||
{
|
||||
if (errorEvent->resourceid == pCD->client)
|
||||
{
|
||||
pCD->clientFlags |= CLIENT_DESTROYED;
|
||||
}
|
||||
}
|
||||
|
||||
wmGD.errorFlag = True;
|
||||
wmGD.errorResource = errorEvent->resourceid;
|
||||
wmGD.errorRequestCode = errorEvent->request_code;
|
||||
|
||||
return (0);
|
||||
|
||||
} /* END OF FUNCTION WmXErrorHandler */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmXIOErrorHandler (display)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is the X IO error handler that is registered with X to
|
||||
* handle X IO errors. This function exits the window manager.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* display = X display on which the X IO error occurred
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
int
|
||||
WmXIOErrorHandler (Display *display)
|
||||
{
|
||||
char err[100];
|
||||
|
||||
sprintf (err, "%s: %s\n", "I/O error on display:", XDisplayString(display));
|
||||
Warning(err);
|
||||
|
||||
ExitWM (WM_ERROR_EXIT_VALUE);
|
||||
|
||||
/*NOTREACHED*/
|
||||
return 1;
|
||||
} /* END OF FUNCTIONS WmXIOErrorHandler */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmXtErrorHandler (message)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is registered as the X Toolkit fatal error handler.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* message = pointer to an error message
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void
|
||||
WmXtErrorHandler (char *message)
|
||||
{
|
||||
|
||||
Warning (message);
|
||||
ExitWM (WM_ERROR_EXIT_VALUE);
|
||||
|
||||
} /* END OF FUNCTION WmXtErrorHandler */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* WmXtWarningHandler (message)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is registered as an X Toolkit warning handler.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* message = pointer to a warning message
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void
|
||||
WmXtWarningHandler (char *message)
|
||||
{
|
||||
|
||||
#ifdef DEBUG
|
||||
Warning (message);
|
||||
#endif /* DEBUG */
|
||||
|
||||
} /* END OF FUNCTIONS WmXtWarningHandler */
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* Warning (message)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function lists a message to stderr.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* message = pointer to a message string
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void
|
||||
Warning (char *message)
|
||||
{
|
||||
#ifdef WSM
|
||||
char pch[MAXWMPATH+1];
|
||||
|
||||
sprintf (pch, "%s: %s\n",
|
||||
GETMESSAGE(20, 1, "Workspace Manager"), message);
|
||||
|
||||
_DtSimpleError (wmGD.mwmName, DtIgnore, NULL, pch, NULL);
|
||||
#else /* WSM */
|
||||
fprintf (stderr, "%s: %s\n", wmGD.mwmName, message);
|
||||
fflush (stderr);
|
||||
#endif /* WSM */
|
||||
|
||||
} /* END OF FUNCTION Warning */
|
||||
|
||||
#ifdef WSM
|
||||
#ifdef DEBUGGER
|
||||
|
||||
/******************************<->*************************************
|
||||
*
|
||||
* PrintFormatted (format, message, message, ...)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function lists several messages to stderr using fprinf()
|
||||
* formatting capabilities.
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* s0-s9 = pointers to message strings
|
||||
*
|
||||
* Comments:
|
||||
* ------
|
||||
* Caller must provide his/her own argv[0] to this function.
|
||||
******************************<->***********************************/
|
||||
|
||||
/*VARARGS1*/
|
||||
void
|
||||
PrintFormatted(char *f, char *s0, char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8, char *s9)
|
||||
/* limit of ten args */
|
||||
{
|
||||
fprintf( stderr, f, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9);
|
||||
fflush (stderr);
|
||||
} /* END OF FUNCTION PrintFormatted */
|
||||
|
||||
/************************ eof **************************/
|
||||
#endif /* DEBUGGER */
|
||||
#endif /* WSM */
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
#ifdef WSM
|
||||
#ifdef DEBUGGER
|
||||
extern void PrintFormatted(char *f, char *s0, char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8, char *s9);
|
||||
#endif /* DEBUGGER */
|
||||
#endif /* WSM */
|
||||
extern void WmInitErrorHandler (Display *display);
|
||||
extern int WmXErrorHandler (Display *display, XErrorEvent *errorEvent);
|
||||
extern int WmXIOErrorHandler (Display *display);
|
||||
extern void WmXtErrorHandler (char *message);
|
||||
extern void WmXtWarningHandler (char *message);
|
||||
extern void Warning (char *message);
|
||||
#ifndef NO_MESSAGE_CATALOG
|
||||
extern char * GetMessage(int set, int n, char * s);
|
||||
#endif
|
||||
#ifdef WSM
|
||||
/**************************** eof ***************************/
|
||||
#endif /* WSM */
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
#ifdef WSM
|
||||
/* Shared Variables */
|
||||
extern int smAckState;
|
||||
|
||||
#endif /* WSM */
|
||||
|
||||
extern Boolean CheckForButtonAction (XButtonEvent *buttonEvent,
|
||||
Context context, Context subContext,
|
||||
ClientData *pCD);
|
||||
extern Time GetTimestamp (void);
|
||||
#if ((!defined(WSM)) || defined(MWM_QATS_PROTOCOL))
|
||||
extern Time LastTime (void);
|
||||
#endif /* !defined(WSM) || defined(MWM_QATS_PROTOCOL) */
|
||||
extern Boolean HandleKeyPress (XKeyEvent *keyEvent, KeySpec *keySpecs,
|
||||
Boolean checkContext, Context context,
|
||||
Boolean onlyFirst, ClientData *pCD);
|
||||
extern void HandleWsButtonPress (XButtonEvent *buttonEvent);
|
||||
extern void HandleWsButtonRelease (XButtonEvent *buttonEvent);
|
||||
extern void HandleWsConfigureRequest (XConfigureRequestEvent *configureEvent);
|
||||
extern void HandleWsEnterNotify (XEnterWindowEvent *enterEvent);
|
||||
extern void HandleWsFocusIn (XFocusInEvent *focusEvent);
|
||||
extern Boolean HandleWsKeyPress (XKeyEvent *keyEvent);
|
||||
extern void HandleWsLeaveNotify (XLeaveWindowEvent *leaveEvent);
|
||||
extern void IdentifyEventContext (XButtonEvent *event, ClientData *pCD,
|
||||
Context *pContext, int *pPartContext);
|
||||
extern void InitEventHandling (void);
|
||||
extern void ProcessClickBPress (XButtonEvent *buttonEvent, ClientData *pCD,
|
||||
Context context, Context subContext);
|
||||
extern void ProcessClickBRelease (XButtonEvent *buttonEvent, ClientData *pCD,
|
||||
Context context, Context subContext);
|
||||
extern void PullExposureEvents (void);
|
||||
extern int SetupKeyBindings (KeySpec *keySpecs, Window grabWindow,
|
||||
int keyboardMode, long context);
|
||||
extern Boolean WmDispatchMenuEvent (XButtonEvent *event);
|
||||
extern Boolean WmDispatchWsEvent (XEvent *event);
|
||||
extern void WmGrabButton (Display *display, unsigned int button,
|
||||
unsigned int modifiers, Window grab_window,
|
||||
unsigned int event_mask, Bool owner_events, int pointer_mode,
|
||||
int keyboard_mode, Window confine_to, Cursor cursor);
|
||||
extern void WmGrabKey (Display *display, int keycode, unsigned int modifiers,
|
||||
Window grab_window, Bool owner_events, int pointer_mode,
|
||||
int keyboard_mode);
|
||||
extern void WmUngrabButton (Display *display, unsigned int button,
|
||||
unsigned int modifiers, Window grab_window);
|
||||
#ifdef WSM
|
||||
extern void HandleDtWmClientMessage (XClientMessageEvent *clientEvent);
|
||||
extern void HandleDtWmRequest (WmScreenData *pSD, XEvent *pev);
|
||||
extern Boolean ReplayedButtonEvent (XButtonEvent *pevB1, XButtonEvent *pevB2);
|
||||
#endif /* WSM */
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
|
||||
extern void ConfirmAction (WmScreenData *pSD, int nbr);
|
||||
extern void HideFeedbackWindow (WmScreenData *pSD);
|
||||
extern void InitCursorInfo (void);
|
||||
extern void PaintFeedbackWindow (WmScreenData *pSD);
|
||||
extern void ShowFeedbackWindow (WmScreenData *pSD, int x, int y,
|
||||
unsigned int width, unsigned int height,
|
||||
unsigned long style);
|
||||
extern void ShowWaitState (Boolean flag);
|
||||
extern void UpdateFeedbackInfo (WmScreenData *pSD, int x, int y,
|
||||
unsigned int width, unsigned int height);
|
||||
extern void UpdateFeedbackText (WmScreenData *pSD, int x, int y,
|
||||
unsigned int width, unsigned int height);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.3
|
||||
*/
|
||||
|
||||
|
||||
#ifdef WSM
|
||||
extern Boolean F_Action (String actionName, ClientData *pCD, XEvent *event);
|
||||
#endif /* WSM */
|
||||
extern Boolean F_Beep (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Lower (String args, ClientData *pCD, XEvent *event);
|
||||
extern void Do_Lower (ClientData *pCD, ClientListEntry *pStackEntry, int flags);
|
||||
extern Boolean F_Circle_Down (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Circle_Up (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Focus_Color (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Exec (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Quit_Mwm (String args, ClientData *pCD, XEvent *event);
|
||||
extern void Do_Quit_Mwm (Boolean diedOnRestart);
|
||||
extern Boolean F_Focus_Key (String args, ClientData *pCD, XEvent *event);
|
||||
extern void Do_Focus_Key (ClientData *pCD, Time focusTime, long flags);
|
||||
#ifdef WSM
|
||||
extern Boolean F_Goto_Workspace (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Help (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Help_Mode (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* WSM */
|
||||
extern Boolean F_Next_Key (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Prev_Cmap (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Prev_Key (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Pass_Key (String args, ClientData *pCD, XEvent *event);
|
||||
#ifdef WSM
|
||||
extern Boolean F_Marquee_Selection (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* WSM */
|
||||
extern Boolean F_Maximize (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Menu (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Minimize (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Move (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Next_Cmap (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Nop (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Normalize (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Normalize_And_Raise (String args, ClientData *pCD,
|
||||
XEvent *event);
|
||||
extern Boolean F_Pack_Icons (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Post_SMenu (String args, ClientData *pCD, XEvent *event);
|
||||
#ifdef PANELIST
|
||||
extern Boolean F_Post_FpMenu (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Push_Recall (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* PANELIST */
|
||||
extern Boolean F_Kill (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Refresh (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Resize (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Restart (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Restore (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Restore_And_Raise (String args, ClientData *pCD,
|
||||
XEvent *event);
|
||||
extern void Do_Restart (Boolean dummy);
|
||||
extern void RestartWm (long startupFlags);
|
||||
extern void DeFrameClient (ClientData *pCD);
|
||||
#ifdef WSM
|
||||
extern Boolean F_Send (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* WSM */
|
||||
extern Boolean F_Send_Msg (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Separator (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Raise (String args, ClientData *pCD, XEvent *event);
|
||||
extern void Do_Raise (ClientData *pCD, ClientListEntry *pStackEntry, int flags);
|
||||
extern Boolean F_Raise_Lower (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Refresh_Win (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Set_Behavior (String args, ClientData *pCD, XEvent *event);
|
||||
#ifdef WSM
|
||||
extern Boolean F_Set_Context (String args, ClientData *pCD, XEvent *event);
|
||||
#endif
|
||||
extern void Do_Set_Behavior (Boolean dummy);
|
||||
extern Boolean F_Title (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Screen (String args, ClientData *pCD, XEvent *event);
|
||||
#if defined(PANELIST)
|
||||
extern Boolean F_Toggle_Front_Panel (String args, ClientData *pCD,
|
||||
XEvent *event);
|
||||
extern Boolean F_Version (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* PANELIST */
|
||||
#ifdef WSM
|
||||
extern Boolean F_Next_Workspace (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Prev_Workspace (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Workspace_Presence (String args, ClientData *pCD,
|
||||
XEvent *event);
|
||||
#if defined(DEBUG)
|
||||
extern Boolean F_ZZ_Debug (String, ClientData *, XEvent *);
|
||||
#endif /* DEBUG */
|
||||
#endif /* WSM */
|
||||
#if ((!defined(WSM)) || defined(MWM_QATS_PROTOCOL))
|
||||
extern Boolean F_InvokeCommand (String args, ClientData *pCD, XEvent *event);
|
||||
extern Boolean F_Post_RMenu (String args, ClientData *pCD, XEvent *event);
|
||||
#endif /* !defined(WSM) || defined(MWM_QATS_PROTOCOL) */
|
||||
extern Time GetFunctionTimestamp (XButtonEvent *pEvent);
|
||||
extern void ReBorderClient (ClientData *pCD, Boolean reMapClient);
|
||||
extern void ClearDirtyStackEntry (ClientData *pCD); /* Fix for 5325 */
|
||||
|
||||
#ifdef PANELIST
|
||||
|
||||
typedef struct _WmPushRecallArg {
|
||||
int ixReg;
|
||||
WmFunction wmFunc;
|
||||
void *pArgs;
|
||||
} WmPushRecallArg;
|
||||
|
||||
|
||||
#endif /* PANELIST */
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
|
||||
extern RList *AllocateRList (unsigned int amt);
|
||||
extern void BevelDepressedRectangle (RList *prTop, RList *prBot, int x,
|
||||
int y, unsigned int width,
|
||||
unsigned int height, unsigned int top_wid,
|
||||
unsigned int right_wid,
|
||||
unsigned int bot_wid,
|
||||
unsigned int left_wid,
|
||||
unsigned int in_wid);
|
||||
extern void BevelRectangle (RList *prTop, RList *prBot, int x, int y,
|
||||
unsigned int width, unsigned int height,
|
||||
unsigned int top_wid, unsigned int right_wid,
|
||||
unsigned int bot_wid, unsigned int left_wid);
|
||||
extern void DrawStringInBox (Display *dpy, Window win, GC gc,
|
||||
XFontStruct *pfs, XRectangle *pbox, String str);
|
||||
extern Boolean ExtendRList (RList *prl, unsigned int amt);
|
||||
extern void FreeRList (RList *prl);
|
||||
extern void StretcherCorner (RList *prTop, RList *prBot, int x, int y,
|
||||
int cnum, unsigned int swidth,
|
||||
unsigned int cwidth, unsigned int cheight);
|
||||
extern void WmDrawString (Display *dpy, Drawable d, GC gc, int x, int y,
|
||||
char *string, unsigned int length);
|
||||
#ifdef WSM
|
||||
extern void WmDrawXmString (Display *dpy, Window w, XmFontList xmfontlist,
|
||||
XmString xmstring, GC gc, Position x, Position y,
|
||||
Dimension width, XRectangle *pbox,
|
||||
Boolean bCenter);
|
||||
#else /* WSM */
|
||||
extern void WmDrawXmString (Display *dpy, Window w, XmFontList xmfontlist,
|
||||
XmString xmstring, GC gc, Position x, Position y,
|
||||
Dimension width, XRectangle *pbox);
|
||||
#endif /* WSM */
|
||||
|
||||
extern GC WmGetGC (WmScreenData *pSD, unsigned long gc_mask, XGCValues *pGcv);
|
||||
|
||||
|
||||
@@ -0,0 +1,325 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.3
|
||||
*/
|
||||
|
||||
/*
|
||||
* Global Variables And Definitions:
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifdef MWM_NEED_IIMAGE
|
||||
#ifdef MOTIF_DEFAULT_ICON
|
||||
/*
|
||||
* Default icon image with four buttons:
|
||||
*/
|
||||
|
||||
#define iImage_width 50
|
||||
#define iImage_height 50
|
||||
static unsigned char iImage_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
|
||||
0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0xc0, 0x00, 0xe0,
|
||||
0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca,
|
||||
0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0,
|
||||
0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff,
|
||||
0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00,
|
||||
0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55,
|
||||
0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf,
|
||||
0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0,
|
||||
0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca,
|
||||
0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0,
|
||||
0xaa, 0xca, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x80, 0x00, 0xe0, 0xff,
|
||||
0x3f, 0xe0, 0xff, 0x3f, 0x00, 0xf0, 0xff, 0x7f, 0xf0, 0xff, 0x7f, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
|
||||
0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0xc0, 0x00, 0x40,
|
||||
0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf,
|
||||
0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0,
|
||||
0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa,
|
||||
0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00,
|
||||
0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff,
|
||||
0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5,
|
||||
0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40,
|
||||
0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf,
|
||||
0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0,
|
||||
0xff, 0xdf, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x80, 0x00, 0xe0, 0xff,
|
||||
0x3f, 0xe0, 0xff, 0x3f, 0x00, 0xf0, 0xff, 0x7f, 0xf0, 0xff, 0x7f, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00};
|
||||
#else
|
||||
/*
|
||||
* Default icon image with X logo:
|
||||
*/
|
||||
|
||||
#define iImage_width 50
|
||||
#define iImage_height 50
|
||||
static unsigned char iImage_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
|
||||
0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0xc0, 0x00, 0xe0,
|
||||
0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca,
|
||||
0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0,
|
||||
0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff,
|
||||
0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00,
|
||||
0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55,
|
||||
0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0, 0xff, 0xdf,
|
||||
0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca, 0x00, 0xe0,
|
||||
0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0, 0xaa, 0xca,
|
||||
0x00, 0xe0, 0xff, 0xdf, 0x40, 0x55, 0xd5, 0x00, 0xe0, 0xff, 0xdf, 0xa0,
|
||||
0xaa, 0xca, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x80, 0x00, 0xe0, 0xff,
|
||||
0x3f, 0xe0, 0xff, 0x3f, 0x00, 0xf0, 0xff, 0x7f, 0xf0, 0xff, 0x7f, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
|
||||
0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0xc0, 0x00, 0x40,
|
||||
0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf,
|
||||
0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0,
|
||||
0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa,
|
||||
0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00,
|
||||
0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff,
|
||||
0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40, 0x55, 0xd5,
|
||||
0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf, 0x00, 0x40,
|
||||
0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0, 0xff, 0xdf,
|
||||
0x00, 0x40, 0x55, 0xd5, 0xe0, 0xff, 0xdf, 0x00, 0xa0, 0xaa, 0xca, 0xe0,
|
||||
0xff, 0xdf, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x80, 0x00, 0xe0, 0xff,
|
||||
0x3f, 0xe0, 0xff, 0x3f, 0x00, 0xf0, 0xff, 0x7f, 0xf0, 0xff, 0x7f, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00};
|
||||
|
||||
#endif /* MOTIF_DEFAULT_ICON */
|
||||
#endif /* MWM_NEED_IIMAGE */
|
||||
|
||||
#ifdef MWM_NEED_ICONBOX
|
||||
#define iconBox_width 50
|
||||
#define iconBox_height 50
|
||||
static unsigned char iconBox_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00,
|
||||
0xd0, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x02, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0xf0, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0xf9,
|
||||
0xe3, 0x8f, 0x3f, 0xfe, 0x10, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0xd1,
|
||||
0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0xd1, 0x02, 0x09, 0x24, 0x90, 0x40,
|
||||
0x02, 0xd1, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0xd1, 0x02, 0x09, 0x24,
|
||||
0x90, 0x40, 0x02, 0xd1, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0xd1, 0x02,
|
||||
0x09, 0x24, 0x90, 0x40, 0x02, 0xd1, 0x02, 0xf1, 0xc7, 0x1f, 0x7f, 0xfc,
|
||||
0xd0, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x10, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x01,
|
||||
0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0xf9, 0xe3, 0x8f, 0x3f, 0xfe, 0x10,
|
||||
0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0x11, 0x02, 0x09, 0x24, 0x90, 0x40,
|
||||
0x02, 0x11, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0x11, 0x02, 0x09, 0x24,
|
||||
0x90, 0x40, 0x02, 0x11, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02, 0x11, 0x02,
|
||||
0x09, 0x24, 0x90, 0x40, 0x02, 0x11, 0x02, 0x09, 0x24, 0x90, 0x40, 0x02,
|
||||
0x11, 0x02, 0xf1, 0xc7, 0x1f, 0x7f, 0xfc, 0x10, 0x02, 0x01, 0x00, 0x00,
|
||||
0x00, 0x00, 0x10, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x01,
|
||||
0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10,
|
||||
0x02, 0xf9, 0xe3, 0x8f, 0x3f, 0x00, 0x10, 0x02, 0x09, 0x24, 0x90, 0x40,
|
||||
0x00, 0x10, 0x02, 0x09, 0x24, 0x90, 0x40, 0x00, 0x10, 0x02, 0x09, 0x24,
|
||||
0x90, 0x40, 0x00, 0x10, 0x02, 0x09, 0x24, 0x90, 0x40, 0x00, 0x10, 0x02,
|
||||
0x09, 0x24, 0x90, 0x40, 0x00, 0x10, 0x02, 0x09, 0x24, 0x90, 0x40, 0x00,
|
||||
0x10, 0x02, 0x09, 0x24, 0x90, 0x40, 0x00, 0x10, 0x02, 0xf1, 0xc7, 0x1f,
|
||||
0x7f, 0x00, 0x10, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x01,
|
||||
0x00, 0x00, 0x00, 0x00, 0xf0, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xd0,
|
||||
0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x02, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0x03, 0x09, 0x00, 0x00, 0x00, 0x00, 0x12, 0x02, 0xcf, 0xff,
|
||||
0xff, 0x01, 0x00, 0x1e, 0x02, 0xcf, 0xff, 0xff, 0x01, 0x00, 0x1e, 0x02,
|
||||
0x09, 0x00, 0x00, 0x00, 0x00, 0x12, 0x02, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0x03};
|
||||
#endif /* MWM_NEED_ICONBOX */
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Used to create the stipple for greyed icons
|
||||
*/
|
||||
|
||||
#ifdef MWM_NEED_GREYED75
|
||||
#define greyed75_width 16
|
||||
#define greyed75_height 16
|
||||
static unsigned char greyed75_bits[] = {
|
||||
0xee, 0xee, 0xbb, 0xbb, 0xee, 0xee, 0xbb, 0xbb, 0xee, 0xee, 0xbb, 0xbb,
|
||||
0xee, 0xee, 0xbb, 0xbb, 0xee, 0xee, 0xbb, 0xbb, 0xee, 0xee, 0xbb, 0xbb,
|
||||
0xee, 0xee, 0xbb, 0xbb, 0xee, 0xee, 0xbb, 0xbb};
|
||||
#endif /* MWM_NEED_GREYED75 */
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Used to create the stipple for greyed icons
|
||||
*/
|
||||
|
||||
#ifdef MWM_NEED_GREYED50
|
||||
#define greyed50_width 16
|
||||
#define greyed50_height 16
|
||||
static unsigned char greyed50_bits[] = {
|
||||
0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
|
||||
0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
|
||||
0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa};
|
||||
#endif /* MWM_NEED_GREYED50 */
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Used to create the stipple for greyed icons
|
||||
*/
|
||||
|
||||
#ifdef MWM_NEED_GREYED25
|
||||
#define greyed25_width 16
|
||||
#define greyed25_height 16
|
||||
static unsigned char greyed25_bits[] = {
|
||||
0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
|
||||
0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
|
||||
0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44};
|
||||
#endif /* MWM_NEED_GREYED25 */
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Used to create the stipple for greyed icons
|
||||
*/
|
||||
|
||||
#ifdef MWM_NEED_SLANT2
|
||||
#define slant2_width 16
|
||||
#define slant2_height 16
|
||||
static unsigned char slant2_bits[] = {
|
||||
0x99, 0x99, 0xcc, 0xcc, 0x66, 0x66, 0x33, 0x33, 0x99, 0x99, 0xcc, 0xcc,
|
||||
0x66, 0x66, 0x33, 0x33, 0x99, 0x99, 0xcc, 0xcc, 0x66, 0x66, 0x33, 0x33,
|
||||
0x99, 0x99, 0xcc, 0xcc, 0x66, 0x66, 0x33, 0x33};
|
||||
#endif /* MWM_NEED_SLANT2 */
|
||||
|
||||
|
||||
#ifdef PANELIST
|
||||
#ifdef DTWM_NEED_FNTPL
|
||||
#define fntpl_i_bm_width 50
|
||||
#define fntpl_i_bm_height 50
|
||||
#define fntpl_i_bm_x_hot 0
|
||||
#define fntpl_i_bm_y_hot 0
|
||||
static unsigned char fntpl_i_bm_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa,
|
||||
0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa,
|
||||
0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa,
|
||||
0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55,
|
||||
0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55,
|
||||
0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55,
|
||||
0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00,
|
||||
0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa,
|
||||
0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xfa, 0xff, 0xff,
|
||||
0xff, 0xff, 0xbf, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x20, 0x01, 0xda,
|
||||
0xff, 0xff, 0xff, 0xff, 0x9f, 0x00, 0xd4, 0xff, 0xff, 0xff, 0xff, 0x5f,
|
||||
0x01, 0xda, 0xf1, 0xe4, 0x75, 0x00, 0x83, 0x00, 0xd4, 0xe4, 0xe6, 0x64,
|
||||
0x00, 0x43, 0x01, 0xda, 0xe4, 0xee, 0xfd, 0xff, 0xa7, 0x00, 0xd4, 0xe6,
|
||||
0xff, 0xf7, 0xff, 0x57, 0x01, 0xda, 0xe0, 0xff, 0x64, 0x00, 0xa3, 0x00,
|
||||
0xd4, 0xf1, 0xe0, 0x75, 0x00, 0x53, 0x01, 0xda, 0xff, 0xff, 0xff, 0xff,
|
||||
0xa9, 0x00, 0xd4, 0xff, 0xff, 0xff, 0xff, 0x55, 0x01, 0x1a, 0x00, 0x00,
|
||||
0x00, 0x80, 0xa8, 0x00, 0xd4, 0xfb, 0xe1, 0xe1, 0x4f, 0x54, 0x01, 0x5a,
|
||||
0x02, 0xa0, 0x20, 0x49, 0xaa, 0x00, 0xd4, 0xfb, 0xe1, 0xe1, 0x2f, 0x55,
|
||||
0x01, 0x1a, 0x00, 0x00, 0x00, 0xa0, 0xaa, 0x00, 0xf4, 0xff, 0xff, 0xff,
|
||||
0x3f, 0x55, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x80, 0xaa, 0x00, 0x54, 0x55,
|
||||
0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00,
|
||||
0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa,
|
||||
0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa,
|
||||
0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0xaa,
|
||||
0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55,
|
||||
0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55, 0x55, 0x55,
|
||||
0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x54, 0x55,
|
||||
0x55, 0x55, 0x55, 0x55, 0x01, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00,
|
||||
0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00};
|
||||
#endif /* DTWM_NEED_FNTPL */
|
||||
|
||||
#endif /* PANELIST */
|
||||
#ifdef WSM
|
||||
/*
|
||||
* Backdrop bitmap patterns
|
||||
*/
|
||||
|
||||
#ifdef DTWM_NEED_BACKBITS
|
||||
#define bits0_width 8
|
||||
#define bits0_height 8
|
||||
static unsigned char bits0_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
|
||||
#define bits1_width 8
|
||||
#define bits1_height 8
|
||||
static unsigned char bits1_bits[] = {
|
||||
0x11, 0x00, 0x44, 0x00, 0x11, 0x00, 0x44, 0x00};
|
||||
|
||||
#define bits2_width 8
|
||||
#define bits2_height 8
|
||||
static unsigned char bits2_bits[] = {
|
||||
0x55, 0x00, 0x55, 0x00, 0x55, 0x00, 0x55, 0x00};
|
||||
|
||||
#define bits3_width 8
|
||||
#define bits3_height 8
|
||||
static unsigned char bits3_bits[] = {
|
||||
0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa};
|
||||
|
||||
#define bits4_width 8
|
||||
#define bits4_height 8
|
||||
static unsigned char bits4_bits[] = {
|
||||
0xff, 0xaa, 0xff, 0xaa, 0xff, 0xaa, 0xff, 0xaa};
|
||||
|
||||
#define bits5_width 8
|
||||
#define bits5_height 8
|
||||
static unsigned char bits5_bits[] = {
|
||||
0xff, 0xbb, 0xff, 0xee, 0xff, 0xbb, 0xff, 0xee};
|
||||
|
||||
#define bits6_width 8
|
||||
#define bits6_height 8
|
||||
static unsigned char bits6_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
#endif /* DTWM_NEED_BACKBITS */
|
||||
|
||||
#endif /* WSM */
|
||||
#ifdef PANELIST
|
||||
/*
|
||||
*
|
||||
* Used to define the small hourglass and mask used to indicate
|
||||
* a front panel wait state.
|
||||
*
|
||||
*/
|
||||
#ifdef DTWM_NEED_TIME16
|
||||
#define time16_x_hot 7
|
||||
#define time16_y_hot 7
|
||||
#define time16_width 14
|
||||
#define time16_height 15
|
||||
|
||||
static unsigned char time16_bits[] = {
|
||||
0x00, 0x00, 0xfe, 0x1f, 0xfe, 0x1f, 0x04, 0x0c, 0x54, 0x0d, 0xac, 0x0e,
|
||||
0x58, 0x07, 0xb0, 0x03, 0x50, 0x03, 0x08, 0x06, 0x44, 0x0c, 0xa4, 0x0c,
|
||||
0x54, 0x0d, 0xfe, 0x1f, 0xfe, 0x1f};
|
||||
|
||||
#define time16m_width 14
|
||||
#define time16m_height 15
|
||||
static unsigned char time16m_bits[] = {
|
||||
0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0x06, 0x1c, 0xfe, 0x1f, 0xfe, 0x1f,
|
||||
0xfc, 0x0f, 0xf8, 0x07, 0x5c, 0x07, 0x0e, 0x0e, 0x66, 0x0c, 0xf6, 0x1c,
|
||||
0xfe, 0x1f, 0xff, 0x3f, 0xff, 0x3f};
|
||||
#endif /* DTWM_NEED_TIME16 */
|
||||
|
||||
#endif /* PANELIST */
|
||||
#ifdef WSM
|
||||
/**************************** eof ***************************/
|
||||
#endif /* WSM */
|
||||
@@ -0,0 +1,138 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.4
|
||||
*/
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Xmd.h>
|
||||
|
||||
|
||||
/*
|
||||
* Value definitions and macros:
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* ICCC property data structures ...
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* These data structures are mwm versions of the window manager data
|
||||
* stuctures that are specified in the ICCCM and the Xlib specification
|
||||
* for client/window manager communication. In general these data
|
||||
* structures correspond to client window property values.
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
|
||||
/* mwm version of the xPropSizeHints structure: */
|
||||
|
||||
typedef struct _PropSizeHints
|
||||
{
|
||||
unsigned long flags;
|
||||
long x; /* R2 conventions */
|
||||
long y; /* R2 conventions */
|
||||
long width; /* R2 conventions */
|
||||
long height; /* R2 conventions */
|
||||
long minWidth;
|
||||
long minHeight;
|
||||
long maxWidth;
|
||||
long maxHeight;
|
||||
long widthInc;
|
||||
long heightInc;
|
||||
long minAspectX;
|
||||
long minAspectY;
|
||||
long maxAspectX;
|
||||
long maxAspectY;
|
||||
long baseWidth; /* current conventions */
|
||||
long baseHeight; /* current conventions */
|
||||
long winGravity; /* current conventions */
|
||||
|
||||
} PropSizeHints;
|
||||
|
||||
#define PROP_SIZE_HINTS_ELEMENTS 18
|
||||
|
||||
|
||||
/* mwm version of the XSizeHints structure: */
|
||||
|
||||
typedef struct _SizeHints
|
||||
{
|
||||
int icccVersion;
|
||||
long flags;
|
||||
int x; /* R2 conventions */
|
||||
int y; /* R2 conventions */
|
||||
int width; /* R2 conventions */
|
||||
int height; /* R2 conventions */
|
||||
int min_width;
|
||||
int min_height;
|
||||
int max_width;
|
||||
int max_height;
|
||||
int width_inc;
|
||||
int height_inc;
|
||||
AspectRatio min_aspect;
|
||||
AspectRatio max_aspect;
|
||||
int base_width; /* current conventions */
|
||||
int base_height; /* current conventions */
|
||||
int win_gravity; /* current conventions */
|
||||
|
||||
} SizeHints;
|
||||
|
||||
/* mwm version of the xPropWMState structure: */
|
||||
|
||||
typedef struct _PropWMState
|
||||
{
|
||||
unsigned long state;
|
||||
unsigned long icon;
|
||||
} PropWMState;
|
||||
|
||||
#define PROP_WM_STATE_ELEMENTS 2
|
||||
|
||||
|
||||
/* ICCC versions (icccVersion): */
|
||||
#define ICCC_R2 0
|
||||
#define ICCC_CURRENT 1
|
||||
#define ICCC_UNKNOWN ICCC_CURRENT
|
||||
|
||||
|
||||
/* SizeHints flags field values: */
|
||||
#define US_POSITION (1L << 0)
|
||||
#define US_SIZE (1L << 1)
|
||||
#define P_POSITION (1L << 2)
|
||||
#define P_SIZE (1L << 3)
|
||||
#define P_MIN_SIZE (1L << 4)
|
||||
#define P_MAX_SIZE (1L << 5)
|
||||
#define P_RESIZE_INC (1L << 6)
|
||||
#define P_ASPECT (1L << 7)
|
||||
#define P_BASE_SIZE (1L << 8)
|
||||
#define P_WIN_GRAVITY (1L << 9)
|
||||
|
||||
/* PropWMState state field value: */
|
||||
#define WithdrawnSTATE 0
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
|
||||
extern void CreateActiveIconTextWindow (WmScreenData *pSD);
|
||||
extern void DrawIconTitle (ClientData *pcd);
|
||||
extern void GetIconDimensions (WmScreenData *pSD, unsigned int *pWidth,
|
||||
unsigned int *pLabelHeight,
|
||||
unsigned int *pImageHeight);
|
||||
extern void GetIconTitleBox (ClientData *pcd, XRectangle *pBox);
|
||||
extern void HideActiveIconText (WmScreenData *pSD);
|
||||
extern void IconExposureProc (ClientData *pcd, Boolean clearFirst);
|
||||
extern void InitIconSize (WmScreenData *pSD);
|
||||
extern Boolean MakeIcon (WmWorkspaceData *pWS, ClientData *pcd);
|
||||
extern void MakeIconShadows (ClientData *pcd, int xOffset, int yOffset);
|
||||
extern void MoveActiveIconText (ClientData *pcd);
|
||||
extern void PaintActiveIconText (ClientData *pcd, Boolean erase);
|
||||
extern void PutBoxInIconBox (ClientData *pCD, int *px, int *py,
|
||||
unsigned int *width, unsigned int *height);
|
||||
extern void PutBoxOnScreen (int screen, int *px, int *py, unsigned int width,
|
||||
unsigned int height);
|
||||
extern void RedisplayIconTitle (ClientData *pcd);
|
||||
extern void ReparentIconWindow (ClientData *pcd, int xOffset, int yOffset);
|
||||
extern void ShowActiveIcon (ClientData *pcd);
|
||||
extern void ShowActiveIconText (ClientData *pcd);
|
||||
extern void ShowInactiveIcon (ClientData *pcd, Boolean refresh);
|
||||
|
||||
|
||||
@@ -0,0 +1,939 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2.1
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef REV_INFO
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$XConsortium: WmIPlace.c /main/4 1995/11/01 11:41:20 rswiston $"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
|
||||
#include "WmGlobal.h"
|
||||
|
||||
/*
|
||||
* include extern functions
|
||||
*/
|
||||
|
||||
#include "WmError.h"
|
||||
#include "WmIDecor.h"
|
||||
#include "WmIconBox.h"
|
||||
#include "WmWinConf.h"
|
||||
#ifdef WSM
|
||||
#include "WmWrkspace.h"
|
||||
#endif /* WSM */
|
||||
|
||||
|
||||
/*
|
||||
* Function Declarations:
|
||||
*/
|
||||
#include "WmIPlace.h"
|
||||
|
||||
|
||||
/*
|
||||
* Global Variables:
|
||||
*/
|
||||
extern Dimension clipWidth;
|
||||
extern Dimension clipHeight;
|
||||
extern Position clipX;
|
||||
extern Position clipY;
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* InitIconPlacement ()
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function intializes icon placement information.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pWS = pointer to workspace data
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* IconPlacmementData
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void InitIconPlacement (WmWorkspaceData *pWS)
|
||||
{
|
||||
Boolean useMargin;
|
||||
int sW;
|
||||
int sH;
|
||||
int iSpaceX;
|
||||
int iSpaceY;
|
||||
int placementW;
|
||||
int placementH;
|
||||
int extraXSpace;
|
||||
int extraYSpace;
|
||||
int xMargin;
|
||||
int yMargin;
|
||||
int extraPX;
|
||||
int extraPY;
|
||||
int i;
|
||||
|
||||
|
||||
xMargin = yMargin = extraPX = extraPY = 0;
|
||||
|
||||
sW = DisplayWidth (DISPLAY, pWS->pSD->screen);
|
||||
sH = DisplayHeight (DISPLAY, pWS->pSD->screen);
|
||||
useMargin = (pWS->pSD->iconPlacementMargin >= 0);
|
||||
pWS->IPData.iconPlacement = pWS->pSD->iconPlacement;
|
||||
|
||||
if (useMargin)
|
||||
{
|
||||
pWS->IPData.placementCols =
|
||||
(sW - (2 * pWS->pSD->iconPlacementMargin)) / pWS->pSD->iconWidth;
|
||||
pWS->IPData.placementRows =
|
||||
(sH - (2 * pWS->pSD->iconPlacementMargin)) / pWS->pSD->iconHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
pWS->IPData.placementCols = sW / pWS->pSD->iconWidth;
|
||||
pWS->IPData.placementRows = sH / pWS->pSD->iconHeight;
|
||||
}
|
||||
|
||||
if (pWS->IPData.iconPlacement & ICON_PLACE_TIGHT)
|
||||
{
|
||||
iSpaceX = 0;
|
||||
iSpaceY = 0;
|
||||
xMargin = 2;
|
||||
yMargin = 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
do
|
||||
{
|
||||
if (useMargin)
|
||||
{
|
||||
iSpaceX =
|
||||
(sW - (2 * pWS->pSD->iconPlacementMargin) -
|
||||
(pWS->IPData.placementCols * pWS->pSD->iconWidth)) /
|
||||
(pWS->IPData.placementCols - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
iSpaceX =
|
||||
(sW - (pWS->IPData.placementCols * pWS->pSD->iconWidth)) /
|
||||
pWS->IPData.placementCols;
|
||||
}
|
||||
if (iSpaceX < MINIMUM_ICON_SPACING)
|
||||
{
|
||||
pWS->IPData.placementCols--;
|
||||
}
|
||||
}
|
||||
while (iSpaceX < MINIMUM_ICON_SPACING);
|
||||
|
||||
do
|
||||
{
|
||||
if (useMargin)
|
||||
{
|
||||
iSpaceY = (sH - (2 * pWS->pSD->iconPlacementMargin) -
|
||||
(pWS->IPData.placementRows * pWS->pSD->iconHeight)) /
|
||||
(pWS->IPData.placementRows - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
iSpaceY =
|
||||
(sH - (pWS->IPData.placementRows * pWS->pSD->iconHeight)) /
|
||||
pWS->IPData.placementRows;
|
||||
}
|
||||
if (iSpaceY < MINIMUM_ICON_SPACING)
|
||||
{
|
||||
pWS->IPData.placementRows--;
|
||||
}
|
||||
}
|
||||
while (iSpaceY < MINIMUM_ICON_SPACING);
|
||||
}
|
||||
|
||||
pWS->IPData.iPlaceW = pWS->pSD->iconWidth + iSpaceX;
|
||||
pWS->IPData.iPlaceH = pWS->pSD->iconHeight + iSpaceY;
|
||||
|
||||
placementW = pWS->IPData.placementCols * pWS->IPData.iPlaceW;
|
||||
placementH = pWS->IPData.placementRows * pWS->IPData.iPlaceH;
|
||||
|
||||
pWS->IPData.placeIconX =
|
||||
((pWS->IPData.iPlaceW - pWS->pSD->iconWidth) + 1) / 2;
|
||||
pWS->IPData.placeIconY =
|
||||
((pWS->IPData.iPlaceH - pWS->pSD->iconHeight) + 1) / 2;
|
||||
|
||||
/*
|
||||
* Special case margin handling for TIGHT icon placement
|
||||
*/
|
||||
if (pWS->IPData.iconPlacement & ICON_PLACE_TIGHT)
|
||||
{
|
||||
if (useMargin)
|
||||
{
|
||||
xMargin = pWS->pSD->iconPlacementMargin;
|
||||
yMargin = pWS->pSD->iconPlacementMargin;
|
||||
}
|
||||
|
||||
extraXSpace = 0;
|
||||
extraYSpace = 0;
|
||||
|
||||
if ((pWS->IPData.iconPlacement & ICON_PLACE_RIGHT_PRIMARY) ||
|
||||
(pWS->IPData.iconPlacement & ICON_PLACE_RIGHT_SECONDARY))
|
||||
xMargin = sW - placementW - xMargin;
|
||||
|
||||
if ((pWS->IPData.iconPlacement & ICON_PLACE_BOTTOM_PRIMARY) ||
|
||||
(pWS->IPData.iconPlacement & ICON_PLACE_BOTTOM_SECONDARY))
|
||||
yMargin = sH - placementH - yMargin;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (useMargin)
|
||||
{
|
||||
xMargin = pWS->pSD->iconPlacementMargin - pWS->IPData.placeIconX;
|
||||
extraXSpace = sW - (2 * pWS->pSD->iconPlacementMargin) -
|
||||
(placementW - iSpaceX);
|
||||
extraPX = (pWS->IPData.iconPlacement & ICON_PLACE_RIGHT_PRIMARY) ?
|
||||
1 : (pWS->IPData.placementCols - extraXSpace);
|
||||
|
||||
yMargin = pWS->pSD->iconPlacementMargin - pWS->IPData.placeIconY;
|
||||
extraYSpace = sH - (2 * pWS->pSD->iconPlacementMargin) -
|
||||
(placementH - iSpaceY);
|
||||
extraPY = (pWS->IPData.iconPlacement & ICON_PLACE_BOTTOM_PRIMARY) ?
|
||||
1 : (pWS->IPData.placementRows - extraYSpace);
|
||||
}
|
||||
else
|
||||
{
|
||||
xMargin = (sW - placementW +
|
||||
((pWS->IPData.iPlaceW - pWS->pSD->iconWidth) & 1)) / 2;
|
||||
extraXSpace = 0;
|
||||
yMargin = (sH - placementH +
|
||||
((pWS->IPData.iPlaceH - pWS->pSD->iconHeight) & 1))/ 2;
|
||||
extraYSpace = 0;
|
||||
|
||||
if (pWS->IPData.iconPlacement & ICON_PLACE_RIGHT_PRIMARY)
|
||||
{
|
||||
xMargin = sW - placementW - xMargin;
|
||||
pWS->IPData.placeIconX = pWS->IPData.iPlaceW -
|
||||
pWS->pSD->iconWidth -
|
||||
pWS->IPData.placeIconX;
|
||||
}
|
||||
if (pWS->IPData.iconPlacement & ICON_PLACE_BOTTOM_PRIMARY)
|
||||
{
|
||||
yMargin = sH - placementH - yMargin;
|
||||
pWS->IPData.placeIconY = pWS->IPData.iPlaceH -
|
||||
pWS->pSD->iconHeight -
|
||||
pWS->IPData.placeIconY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Setup array of grid row positions and grid column positions:
|
||||
*/
|
||||
|
||||
if ((pWS->IPData.placementRowY =
|
||||
(int *)XtMalloc ((pWS->IPData.placementRows+2) * sizeof (int)))
|
||||
== NULL)
|
||||
{
|
||||
Warning (((char *)GETMESSAGE(34, 1, "Insufficient memory for icon placement")));
|
||||
wmGD.iconAutoPlace = False;
|
||||
return;
|
||||
}
|
||||
else if ((pWS->IPData.placementColX =
|
||||
(int *)XtMalloc ((pWS->IPData.placementCols+2) * sizeof (int)))
|
||||
== NULL)
|
||||
{
|
||||
XtFree ((char *)pWS->IPData.placementRowY);
|
||||
Warning (((char *)GETMESSAGE(34, 2, "Insufficient memory for icon placement")));
|
||||
wmGD.iconAutoPlace = False;
|
||||
return;
|
||||
}
|
||||
|
||||
pWS->IPData.placementRowY[0] = yMargin;
|
||||
for (i = 1; i <= pWS->IPData.placementRows; i++)
|
||||
{
|
||||
pWS->IPData.placementRowY[i] = pWS->IPData.placementRowY[i - 1] +
|
||||
pWS->IPData.iPlaceH;
|
||||
if ((extraYSpace > 0) && (i >= extraPY))
|
||||
{
|
||||
(pWS->IPData.placementRowY[i])++;
|
||||
extraYSpace--;
|
||||
}
|
||||
}
|
||||
|
||||
pWS->IPData.placementColX[0] = xMargin;
|
||||
for (i = 1; i <= pWS->IPData.placementCols; i++)
|
||||
{
|
||||
pWS->IPData.placementColX[i] = pWS->IPData.placementColX[i - 1] +
|
||||
pWS->IPData.iPlaceW;
|
||||
if ((extraXSpace > 0) && (i >= extraPX))
|
||||
{
|
||||
(pWS->IPData.placementColX[i])++;
|
||||
extraXSpace--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Setup an array of icon places.
|
||||
*/
|
||||
|
||||
pWS->IPData.totalPlaces =
|
||||
pWS->IPData.placementRows * pWS->IPData.placementCols;
|
||||
|
||||
if ((pWS->IPData.placeList =
|
||||
(IconInfo *)XtMalloc (pWS->IPData.totalPlaces * sizeof (IconInfo)))
|
||||
== NULL)
|
||||
{
|
||||
Warning (((char *)GETMESSAGE(34, 3, "Insufficient memory for icon placement")));
|
||||
XtFree ((char *)pWS->IPData.placementRowY);
|
||||
XtFree ((char *)pWS->IPData.placementColX);
|
||||
wmGD.iconAutoPlace = False;
|
||||
return;
|
||||
}
|
||||
|
||||
memset ((char *)pWS->IPData.placeList, 0,
|
||||
pWS->IPData.totalPlaces * sizeof (IconInfo));
|
||||
|
||||
pWS->IPData.onRootWindow = True;
|
||||
|
||||
|
||||
} /* END OF FUNCTION InitIconPlacement */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* GetNextIconPlace (pIPD)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function identifies and returns the next free icon grid place.
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* Return = next free place (index)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
int GetNextIconPlace (IconPlacementData *pIPD)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
for (i = 0; i < pIPD->totalPlaces; i++)
|
||||
{
|
||||
if (pIPD->placeList[i].pCD == (ClientData *)NULL)
|
||||
{
|
||||
return (i);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* All places are filled! Find an alternative place.
|
||||
*/
|
||||
|
||||
return (NO_ICON_PLACE);
|
||||
|
||||
} /* END OF FUNCTION GetNextIconPlace */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* CvtIconPlaceToPosition (pIPD, place, pX, pY)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function converts an icon place (index) into an icon position.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pIPD = ptr to icon placement data
|
||||
*
|
||||
* place = place to be converted
|
||||
*
|
||||
* wmGD = (iconPlacement ...)
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* pX = pointer to icon place X location
|
||||
*
|
||||
* pY = pointer to icon place Y location
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void CvtIconPlaceToPosition (IconPlacementData *pIPD, int place, int *pX, int *pY)
|
||||
{
|
||||
int row;
|
||||
int col;
|
||||
|
||||
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_LEFT_PRIMARY | ICON_PLACE_RIGHT_PRIMARY))
|
||||
{
|
||||
col = place % pIPD->placementCols;
|
||||
row = place / pIPD->placementCols;
|
||||
}
|
||||
else
|
||||
{
|
||||
col = place / pIPD->placementRows;
|
||||
row = place % pIPD->placementRows;
|
||||
}
|
||||
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_RIGHT_PRIMARY | ICON_PLACE_RIGHT_SECONDARY))
|
||||
{
|
||||
col = pIPD->placementCols - col - 1;
|
||||
}
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_BOTTOM_PRIMARY | ICON_PLACE_BOTTOM_SECONDARY))
|
||||
{
|
||||
row = pIPD->placementRows - row - 1;
|
||||
}
|
||||
|
||||
if (pIPD->onRootWindow)
|
||||
{
|
||||
*pX = pIPD->placementColX[col] + pIPD->placeIconX;
|
||||
*pY = pIPD->placementRowY[row] + pIPD->placeIconY;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pX = col * pIPD->iPlaceW;
|
||||
*pY = row * pIPD->iPlaceH;
|
||||
}
|
||||
|
||||
} /* END OF FUNCTION CvtIconPlaceToPosition */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* FindIconPlace (pCD, pIPD, x, y)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function is used to find a free icon place in the proximity of the
|
||||
* specified position.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pIPD = ptr to icon placement data
|
||||
*
|
||||
* x = desired x location of icon place
|
||||
*
|
||||
* y = desired y location of icon place
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* Return = icon place (index)
|
||||
*
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
* Look first for a free icon place at the position passed in. If that place
|
||||
* is taken then look at positions that are +- one half the icon width/height
|
||||
* from the postion passed in. If those positions are taken look at
|
||||
* positions that are +- one half icon placement width/height from the
|
||||
* position passed in.
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
int FindIconPlace (ClientData *pCD, IconPlacementData *pIPD, int x, int y)
|
||||
{
|
||||
int place;
|
||||
int i;
|
||||
int j;
|
||||
int diffX;
|
||||
int diffY;
|
||||
int altX;
|
||||
int altY;
|
||||
int amt;
|
||||
|
||||
|
||||
place = CvtIconPositionToPlace (pIPD, x, y);
|
||||
|
||||
if (place < pIPD->totalPlaces)
|
||||
{
|
||||
if (pIPD->placeList[place].pCD == (ClientData *)NULL)
|
||||
{
|
||||
return (place);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pIPD->iconPlacement & ICON_PLACE_LEFT_PRIMARY)
|
||||
{
|
||||
amt = pIPD->placementCols; /* add a new row */
|
||||
}
|
||||
else
|
||||
{
|
||||
amt = pIPD->placementRows; /* add a new column */
|
||||
}
|
||||
|
||||
if (!ExtendIconList (P_ICON_BOX(pCD), amt))
|
||||
{
|
||||
Warning (((char *)GETMESSAGE(34, 4, "Insufficient memory to create icon box data")));
|
||||
return (NO_ICON_PLACE);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* The place for the passed in position is in use, look at places for
|
||||
* alternative positions.
|
||||
*/
|
||||
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
diffX = ICON_WIDTH(pCD) / 2;
|
||||
diffY = ICON_HEIGHT(pCD) / 2;
|
||||
break;
|
||||
}
|
||||
|
||||
case 1:
|
||||
{
|
||||
diffX = pIPD->iPlaceW / 2;
|
||||
diffY = pIPD->iPlaceH / 2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (j = 0; j < 4; j++)
|
||||
{
|
||||
switch (j)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
if (pIPD->iconPlacement & ICON_PLACE_LEFT_PRIMARY)
|
||||
{
|
||||
altX = x - diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_RIGHT_PRIMARY)
|
||||
{
|
||||
altX = x + diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_TOP_PRIMARY)
|
||||
{
|
||||
altX = x;
|
||||
altY = y - diffY;
|
||||
}
|
||||
else
|
||||
{
|
||||
altX = x;
|
||||
altY = y + diffY;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 1:
|
||||
{
|
||||
if (pIPD->iconPlacement & ICON_PLACE_LEFT_PRIMARY)
|
||||
{
|
||||
altX = x + diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_RIGHT_PRIMARY)
|
||||
{
|
||||
altX = x - diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_TOP_PRIMARY)
|
||||
{
|
||||
altX = x;
|
||||
altY = y + diffY;
|
||||
}
|
||||
else
|
||||
{
|
||||
altX = x;
|
||||
altY = y - diffY;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
if (pIPD->iconPlacement & ICON_PLACE_LEFT_SECONDARY)
|
||||
{
|
||||
altX = x - diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_RIGHT_SECONDARY)
|
||||
{
|
||||
altX = x + diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_TOP_SECONDARY)
|
||||
{
|
||||
altX = x;
|
||||
altY = y + diffY;
|
||||
}
|
||||
else
|
||||
{
|
||||
altX = x;
|
||||
altY = y - diffY;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
if (pIPD->iconPlacement & ICON_PLACE_LEFT_SECONDARY)
|
||||
{
|
||||
altX = x + diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_RIGHT_SECONDARY)
|
||||
{
|
||||
altX = x - diffX;
|
||||
altY = y;
|
||||
}
|
||||
else if (pIPD->iconPlacement & ICON_PLACE_TOP_SECONDARY)
|
||||
{
|
||||
altX = x;
|
||||
altY = y - diffY;
|
||||
}
|
||||
else
|
||||
{
|
||||
altX = x;
|
||||
altY = y + diffY;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (P_ICON_BOX(pCD))
|
||||
{
|
||||
GetClipDimensions(pCD, False);
|
||||
if (altX < clipX)
|
||||
{
|
||||
return (NO_ICON_PLACE);
|
||||
}
|
||||
if (altY < clipY)
|
||||
{
|
||||
return (NO_ICON_PLACE);
|
||||
}
|
||||
if (((int)altX) > ((int)clipX +
|
||||
(int)clipWidth - ((int)ICON_WIDTH(pCD))))
|
||||
{
|
||||
return (NO_ICON_PLACE);
|
||||
}
|
||||
if (((int)altY) > ((int)clipY +
|
||||
(int)clipHeight - ((int)ICON_HEIGHT(pCD))))
|
||||
{
|
||||
return (NO_ICON_PLACE);
|
||||
}
|
||||
}
|
||||
|
||||
place = CvtIconPositionToPlace (pIPD, altX, altY);
|
||||
if ((pIPD->placeList[place].pCD) == NULL)
|
||||
{
|
||||
return (place);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Couldn't find an unoccupied place in the proximity of the passed-in
|
||||
* position.
|
||||
*/
|
||||
|
||||
return (NO_ICON_PLACE);
|
||||
|
||||
|
||||
} /* END OF FUNCTION FindIconPlace */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* CvtIconPostionToPlace (pIPD, x, y)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function converts an icon position to an icon place.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pIPD = ptr to icon placement data
|
||||
*
|
||||
* x,y = location to be converted into an icon place
|
||||
*
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
* Return = icon place (index)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
int CvtIconPositionToPlace (IconPlacementData *pIPD, int x, int y)
|
||||
{
|
||||
int row;
|
||||
int col;
|
||||
|
||||
|
||||
if (pIPD->onRootWindow)
|
||||
{
|
||||
/*
|
||||
* Scan through the root window row/column arrays and find the
|
||||
* placement position.
|
||||
*/
|
||||
|
||||
for (row = 1; row < pIPD->placementRows; row++)
|
||||
{
|
||||
if (y < pIPD->placementRowY[row])
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
row--;
|
||||
|
||||
for (col = 1; col < pIPD->placementCols; col++)
|
||||
{
|
||||
if (x < pIPD->placementColX[col])
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
col--;
|
||||
|
||||
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_RIGHT_PRIMARY | ICON_PLACE_RIGHT_SECONDARY))
|
||||
{
|
||||
col = pIPD->placementCols - col - 1;
|
||||
}
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_BOTTOM_PRIMARY | ICON_PLACE_BOTTOM_SECONDARY))
|
||||
{
|
||||
row = pIPD->placementRows - row - 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* convert icon box coords
|
||||
*/
|
||||
col = x / pIPD->iPlaceW;
|
||||
row = y / pIPD->iPlaceH;
|
||||
}
|
||||
|
||||
|
||||
if (pIPD->iconPlacement &
|
||||
(ICON_PLACE_LEFT_PRIMARY | ICON_PLACE_RIGHT_PRIMARY))
|
||||
{
|
||||
return ((row * pIPD->placementCols) + col);
|
||||
}
|
||||
else
|
||||
{
|
||||
return ((col * pIPD->placementRows) + row);
|
||||
}
|
||||
|
||||
|
||||
} /* END OF FUNCTION CvtIconPositionToPlace */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* PackRootIcons ()
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* This function packs the icons on the root window
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
* Comments:
|
||||
* ---------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void PackRootIcons (void)
|
||||
{
|
||||
int iOld, iNew;
|
||||
ClientData *pCD;
|
||||
ClientData *pCD_active;
|
||||
int hasActiveText = 1;
|
||||
#ifdef WSM
|
||||
WsClientData *pWsc;
|
||||
#endif /* WSM */
|
||||
|
||||
/*
|
||||
* find context of the activeIconTextWin to get pCD and then
|
||||
* if it is the same as this client, hide it.
|
||||
*/
|
||||
|
||||
if (XFindContext (DISPLAY, ACTIVE_PSD->activeIconTextWin,
|
||||
wmGD.windowContextType, (caddr_t *)&pCD_active))
|
||||
{
|
||||
hasActiveText = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Traverse the list and pack them together
|
||||
*/
|
||||
|
||||
if (wmGD.iconAutoPlace)
|
||||
{
|
||||
for (iOld = iNew = 0; iOld < ACTIVE_WS->IPData.totalPlaces;
|
||||
iOld++, iNew++)
|
||||
{
|
||||
if (ACTIVE_WS->IPData.placeList[iOld].pCD == NULL)
|
||||
{
|
||||
/* advance to next non-null entry */
|
||||
while (++iOld < ACTIVE_WS->IPData.totalPlaces &&
|
||||
!ACTIVE_WS->IPData.placeList[iOld].pCD)
|
||||
;
|
||||
}
|
||||
|
||||
if (iOld < ACTIVE_WS->IPData.totalPlaces && iOld != iNew)
|
||||
{
|
||||
/* move the icon from its old place to the new place */
|
||||
|
||||
MoveIconInfo (&ACTIVE_WS->IPData, iOld, iNew);
|
||||
|
||||
pCD = ACTIVE_WS->IPData.placeList[iNew].pCD;
|
||||
#ifdef WSM
|
||||
pWsc = GetWsClientData (ACTIVE_WS, pCD);
|
||||
pWsc->iconPlace = iNew;
|
||||
CvtIconPlaceToPosition (&ACTIVE_WS->IPData,
|
||||
pWsc->iconPlace, &pWsc->iconX, &pWsc->iconY);
|
||||
#else /* WSM */
|
||||
pCD->iconPlace = iNew;
|
||||
CvtIconPlaceToPosition (&ACTIVE_WS->IPData,
|
||||
pCD->iconPlace, &pCD->iconX, &pCD->iconY);
|
||||
#endif /* WSM */
|
||||
|
||||
if (hasActiveText && (pCD == pCD_active))
|
||||
{
|
||||
/* hide activeIconTextWin first */
|
||||
HideActiveIconText ((WmScreenData *)NULL);
|
||||
#ifdef WSM
|
||||
XMoveWindow (DISPLAY, pWsc->iconFrameWin, pWsc->iconX,
|
||||
pWsc->iconY);
|
||||
#else /* WSM */
|
||||
XMoveWindow (DISPLAY, ICON_FRAME_WIN(pCD), pCD->iconX,
|
||||
pCD->iconY);
|
||||
#endif /* WSM */
|
||||
ShowActiveIconText (pCD);
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef WSM
|
||||
XMoveWindow (DISPLAY, pWsc->iconFrameWin, pWsc->iconX,
|
||||
pWsc->iconY);
|
||||
#else /* WSM */
|
||||
XMoveWindow (DISPLAY, ICON_FRAME_WIN(pCD), pCD->iconX,
|
||||
pCD->iconY);
|
||||
#endif /* WSM */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} /* END OF FUNCTION PackRootIcons */
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
* MoveIconInfo (pIPD, p1, p2)
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* -----------
|
||||
* Move icon info from place 1 to place 2 in the placement list.
|
||||
*
|
||||
*
|
||||
* Inputs:
|
||||
* ------
|
||||
* pIPD - ptr to icon placement data
|
||||
* p1 - placement index 1 (source)
|
||||
* p2 - placement index 2 (destination)
|
||||
*
|
||||
* Outputs:
|
||||
* -------
|
||||
*
|
||||
* Comments:
|
||||
* --------
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
void MoveIconInfo (IconPlacementData *pIPD, int p1, int p2)
|
||||
{
|
||||
#ifdef WSM
|
||||
WsClientData *pWsc;
|
||||
#endif /* WSM */
|
||||
|
||||
/* only move if destination is empty */
|
||||
if (pIPD->placeList[p2].pCD == NULL)
|
||||
{
|
||||
pIPD->placeList[p2].pCD = pIPD->placeList[p1].pCD;
|
||||
pIPD->placeList[p2].theWidget = pIPD->placeList[p1].theWidget;
|
||||
#ifdef WSM
|
||||
|
||||
pWsc = GetWsClientData (pIPD->placeList[p2].pCD->pSD->pActiveWS,
|
||||
pIPD->placeList[p2].pCD);
|
||||
pWsc->iconPlace = p2;
|
||||
#else /* WSM */
|
||||
pIPD->placeList[p2].pCD->iconPlace = p2;
|
||||
#endif /* WSM */
|
||||
|
||||
pIPD->placeList[p1].pCD = NULL;
|
||||
pIPD->placeList[p1].theWidget = NULL;
|
||||
}
|
||||
}
|
||||
#ifdef WSM
|
||||
/**************************** eof ***************************/
|
||||
#endif /* WSM */
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
extern void InitIconPlacement (WmWorkspaceData *pWS);
|
||||
extern int GetNextIconPlace (IconPlacementData *pIPD);
|
||||
extern void CvtIconPlaceToPosition (IconPlacementData *pIPD, int place, int *pX, int *pY);
|
||||
extern int FindIconPlace (ClientData *pCD, IconPlacementData *pIPD, int x, int y);
|
||||
extern int CvtIconPositionToPlace (IconPlacementData *pIPD, int x, int y);
|
||||
extern void PackRootIcons (void);
|
||||
extern void MoveIconInfo (IconPlacementData *pIPD, int p1, int p2);
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Motif
|
||||
*
|
||||
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these librararies and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Motif Release 1.2
|
||||
*/
|
||||
|
||||
|
||||
#ifdef WSM
|
||||
extern void AddIconBoxForWorkspace (WmWorkspaceData *pWS);
|
||||
#endif /* WSM */
|
||||
extern void AddNewBox (WmWorkspaceData *pWS, IconBoxData *pIBD);
|
||||
extern void ChangeActiveIconboxIconText (Widget icon, caddr_t dummy,
|
||||
XFocusChangeEvent *event);
|
||||
extern void CheckIconBoxResize (ClientData *pCD, unsigned int changedValues,
|
||||
int newWidth, int newHeight);
|
||||
extern Boolean CheckIconBoxSize (IconBoxData *pIBD);
|
||||
extern void DeleteIconFromBox (IconBoxData *pIBD, ClientData *pCD);
|
||||
extern void DeleteIconInfo (IconBoxData *pIBD, ClientData *pCD);
|
||||
extern Boolean ExpandVirtualSpace (IconBoxData *pIBD, int newWidth,
|
||||
int newHeight);
|
||||
extern Boolean ExtendIconList (IconBoxData *pIBD, int incr);
|
||||
extern void FindNewPosition (Cardinal *newPosition, IconPlacementData *pIPD,
|
||||
int newPlace);
|
||||
extern MenuItem *GetIconBoxMenuItems (WmScreenData *pSD);
|
||||
extern void GetIconBoxIconRootXY (ClientData *pCD, int *pX, int *pY);
|
||||
extern void HandleIconBoxButtonMotion (Widget icon, caddr_t client_data,
|
||||
XEvent *pev);
|
||||
extern void HandleIconBoxIconKeyPress (Widget icon, caddr_t dummy,
|
||||
XKeyEvent *keyEvent);
|
||||
#ifndef MOTIF_ONE_DOT_ONE
|
||||
extern void IconScrollVisibleCallback (Widget w, caddr_t client_data,
|
||||
XmAnyCallbackStruct *call_data);
|
||||
#endif
|
||||
extern void IconActivateCallback (Widget w, caddr_t client_data,
|
||||
XmAnyCallbackStruct *call_data);
|
||||
extern Boolean IconVisible (ClientData *pCD);
|
||||
extern IconInfo *InsertIconInfo (IconBoxData *pIBD, ClientData *pCD,
|
||||
Widget theWidget);
|
||||
extern Boolean InsertIconIntoBox (IconBoxData *pIBD, ClientData *pCD);
|
||||
extern void InitIconBox (WmScreenData *pSD);
|
||||
extern void InitializeClientData (ClientData *pCD, IconBoxData *pIBD);
|
||||
extern void InitializeIconBoxData (WmWorkspaceData *pWS, IconBoxData *pIBD);
|
||||
extern Cardinal InsertPosition (Widget w);
|
||||
extern void MakeBulletinBoard (WmWorkspaceData *pWS, IconBoxData *pIBD);
|
||||
extern void MakeFadeIconGC (WmScreenData *pSD);
|
||||
extern Boolean MakeIconBox (WmWorkspaceData *pWS, ClientData *pCD);
|
||||
extern void MakeScrolledWindow (WmWorkspaceData *pWS, IconBoxData *pIBD);
|
||||
extern void MakeShell (WmWorkspaceData *pWS, IconBoxData *pIBD);
|
||||
extern void MakeShrinkWrapIconsGC (WmScreenData *pSD, Pixmap bgPixmap);
|
||||
extern void MapIconBoxes (WmWorkspaceData *pWS);
|
||||
extern void PackIconBox (IconBoxData *pIBD, Boolean packVert,
|
||||
Boolean packHorz, int passedInWidth,
|
||||
int passedInHeight);
|
||||
extern void RealignIconList (IconBoxData *pIBD, int newCols, int newRows);
|
||||
extern void RealizeIconBox (WmWorkspaceData *pWS, IconBoxData *pIBD,
|
||||
ClientData *pCD);
|
||||
extern void ReorderIconBoxIcons (ClientData *pCD, IconBoxData *pIBD,
|
||||
Widget theIcon, int newX, int newY);
|
||||
extern void ResetArrowButtonIncrements (ClientData *pCD);
|
||||
extern void ResetIconBoxMaxSize (ClientData *pCD, Widget bBoardWidget);
|
||||
extern void SetGeometry (WmWorkspaceData *pWS, ClientData *pCD,
|
||||
IconBoxData *pIBD);
|
||||
extern void SetGranularity (WmWorkspaceData *pWS, ClientData *pCD,
|
||||
IconBoxData *pIBD);
|
||||
extern void SetIconBoxInfo (WmWorkspaceData *pWS, ClientData *pCD);
|
||||
extern void SetNewBounds (IconBoxData *pIBD);
|
||||
extern void ShowClientIconState (ClientData *pCD, int newState);
|
||||
#ifdef WSM
|
||||
extern void UnmapIconBoxes (WmWorkspaceData *pWS);
|
||||
#endif /* WSM */
|
||||
extern void UpdateIncrements (Widget sWidget, IconBoxData *pIBD,
|
||||
XConfigureEvent *event);
|
||||
extern String WmXmStringToString (XmString xmString);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Loaded 100 of 2106 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user