1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

Updating to version 0.20.2

Many bug fixes.
This commit is contained in:
dan
1998-10-21 14:43:47 +00:00
parent 9d2e6ef9f1
commit 9af1c6c415
222 changed files with 9132 additions and 4322 deletions

17
AUTHORS
View File

@@ -2,7 +2,7 @@ Information about locale translators is at src/po/README and
Library/WindowMaker/README
Many thanks to the following people who have contributed
patches, bug fixes and other stuff for WindowMaker:
patches, bug fixes and other stuff for Window Maker:
ABE Shige <sabe@ibm.net>
I18N support, diagonal and vertical gradient, cosmetic additions to
@@ -15,7 +15,7 @@ Fix for cascade window placement
Peter Bentley <peter.bentley@nomura.co.uk>
fixed WM_STATE handling bug, fixed some memory leaks, made application menus
be mapped near the windows for non-click-to-focus modes.
be mapped near the windows for non-click-to-focus modes, timer bug
Ulf Betlehem <flu@iki.fi>
Window resize with Meta-Click3, fixed OpaqueMove to send only 1 synth.
@@ -28,7 +28,7 @@ Rob Clark <rclark@turing.cs.hmc.edu>
Text input field, 15bpp support
Sylvain CORRE <sylvain.corre@wanadoo.fr>
bug fix for MkLinux/PPC, bug fix for cpixmap in wmsetbg
bug fix for MkLinux/PPC
Frederic Devernay <devernay@istar.fr>
dock fix for openwindows, made asclock be friendlier with colorcell impaired
@@ -63,6 +63,9 @@ HIDEKI Fujimoto <hideki70@osk2.threewebnet.or.jp>
FreeBSD portability, icon arrangement fixes, dock initialization bug fix,
some I18N related fixes
Pascal Hofstee <daeron@wit401305.student.utwente.nl>
WINGs bug fixes
Robert A. Holak <panthar@tradeservices.com>
bug fix
@@ -72,6 +75,9 @@ Workspace change bug fix
Sudish Joseph <sj@eng.mindspring.net>
Modifier binding fix and other bug fixes
Luke Kendall <luke@research.canon.com.au>
menu format converter, various enhancements to wxcopy and wxpaste
Bradley M Keryan <keryan@andrew.cmu.edu>
EMACS/keypad like cursor movement for WINGs textfield
@@ -136,6 +142,9 @@ Ture Pelsson <ture@lysator.liu.se>
various portability fixes, replaced busy wait with select() in event
handling code, fixed problem with some misbehaved kids after a fork().
Toby Sargeant <?>
menu format converter
Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
SCO portability, german locale, autoconf enhancements
@@ -168,7 +177,7 @@ FRBall <frb@umr.edu>
dgradient fix
"]d" <mhz@gpf.or.th>
Window list menu miniaturized/hidden hints
Window list menu miniaturized/hidden hints, XDE support
Trae Mc Combs <x@themes.org>
BlueWaves.jpeg background image in BlueWaves theme.

12
BUGFORM
View File

@@ -3,10 +3,12 @@
---------------------------
If you find a bug please fill this form and send it to
If you find a bug please fill this form and send it to
developers@windowmaker.org
You can also report a bug in the WWW bug tracker at
http://windowmaker.org/cgi-bin/bugs
You can also report a bug in the WWW bug tracker at
http://windowmaker.org/cgi-bin/bugs or by sending this report
to bugs@windowmaker.org
0. Before reporting this bug I already:
@@ -34,7 +36,7 @@ http://windowmaker.org/cgi-bin/bugs
[ ] --disable-shape
[ ] --disable-xpm
[ ] --disable-tiff
[ ] --disable-png
[ ] --disable-png
[ ] --enable-single-icon
[ ] Others: .......................
@@ -68,4 +70,6 @@ X Server Vendor: ...................... Color Depth: .................
WindowMaker Version (run "wmaker -version"): .........................
11. backtrace if the bug made Window Maker crash. The README file
has instructions to make one.

9
BUGS
View File

@@ -1,10 +1,13 @@
- the app menu does not update after a style/theme change without restart.
- the animation of shade puts ImageMagick/display in a weird state
- during startup, transient windows should be miniaturized with their owners
not in their own icons
- shaped windows don't resize very well
- stacking code is buggy (or XFree is buggy)
- WINGs has problems in some platforms (SGI, Sun etc.) Anyone on these
systems want to fix it?
- save session doesnt work on some platforms (Alpha and Sparc)
- GNUSTEP_WM_ATTR in WINGs has problems on Alpha boxes
- texture pixmaps are being incorrectly freed somewhere. Either
fix bug (to support broken MetroX servers) or remove all useless references
to the Pixmap (to save memory and drop bug compatibility).
- host information is not saved/honored by the dock or save session stuff.
It should at least check if the host is the local machine and only save it
in the session/allow docking it if yes.

View File

@@ -1,3 +1,57 @@
Changes since version 0.20.1:
.............................
- fixed timer bug
- removed NoWindowUnderDock
- error reporting mechanism has changed in wrlib. Instead of a writing
the message in a string, it will place the error code in RErrorCode
- smoother icon selection
- persistent client supplied icon pixmaps
- fixed yet another crash on emacs exit bug
- fixed portability prob in wrlib shm code
- fixed bug in DISPLAY variable setting in multiheads
- fixed a few more portability problems related to storing struct properties
- fixed damaged balloons on Suns/8bpp (I guess)
- better "one of" type option handling
- added a timeout for some animations
- support for large binary files in wxcopy/wxpaste
- fixed bug of losing focus when resizing/moving windows
- fixed bug in libproplist
- fixed focus with sloppy
- changed permissions of shm segments to 0666. Now, if someone has a shm
leak, we can know who it is.
- faster titlebar texture update
- faster icon kaboom
- added different undocking animation
- updated wmaker -version to output "Window Maker" instead of WindowMaker
- fixed crash bug with transient windows (gimp etc)
- fixed bug with popen()+wwarning() - problem opening cpp'ed menus
- added test for header files in configure for gfx libraries
- simplified building process, making libPropList be always built
- fixed crash with bad mgradient color entry
- docked appicons that are being edited/killed cant be moved (mutex fix)
- more features in wxcopy/wxpaste
- fixed bug with state file in multiheads
- selection retrieval moved to WINGs
- fixed workspacekey to switch workspaces in the current layer
- fixed workspacekey to not switch to inexisting workspace unless
AdvanceToNewWorkspace is YES
- fixed bug with disappearing windows if a workspace switch is made on startup
- fixed blocking of window creation/destroy events when opening menu with kbd
- fixed aspect ratio setting bug
- fixed crashing when miniaturized window is closed during animation
- added XDE support
- fixed stupid bug in shape stuff
- raised threshold for removing docked icons
- fixed HideOthers for windows with NoAppIcon=YES
- if Cancel is pressed in dialog box of %a in menu cmd lines, the command
will be canceled
- slightly better dithering for 8bpp
- apps menu will use $SHELL, instead of /bin/sh to run EXEC menu commands
- cleaned up some code (GetNormalHints(), wManageWindow(),
wGetWindowSavedState() et al, )
Changes since version 0.20.0:
.............................
@@ -36,7 +90,6 @@ Changes since version 0.19.3:
- AIX bug compatibility in XmbTextEntents()
- fixed jpeg loading bug
Changes since version 0.19.2:
.............................

119
FAQ
View File

@@ -5,6 +5,9 @@ http://www.dpo.uab.edu/~grapeape/wmfaq.html or
http://wm.gnu.net/wmfaq/
--------------------------
This version was slightly modified by me (Alfredo). Chris, I enclosed
my changes with "###". Please add the changes to your official version.
Summary of Contents:
Introduction
@@ -21,8 +24,10 @@ Installation
- How do I get libjpeg to work?
- How do I get libpng to work?
- Does wmsound work with 0.1x.x?
- How do I switch CDE's windowmanager to use WindowMaker?
- Can I use WindowMaker with KDE or GNOME or CDE?
- How do I switch CDE's windowmanager to use WindowMaker?
- Do I need to rerun wmaker.inst with every new version of WindowMaker?
- When I run wmaker it quits complaing about something __register_frame_info.
Usage
- What is an appicon?
@@ -76,10 +81,12 @@ Programming
Miscellaneous Questions
- Is there a pager for WindowMaker?
- Can I have folders like in AfterStep?
- Can I have folders like in AfterStep?
- What exactly are Themes?
- How do I install a Theme?
- How do I make a Theme?
- How do I make a Theme?
- Why don't you distribute {normal diff,xdelta} patches?
========================================================================
@@ -241,6 +248,32 @@ or at
http://wm.gnu.net/files.html#wmsound
### New, possibly with some errors
Can I use WindowMaker with KDE or GNOME or CDE?
----------------------------------
Contrary to a lot of people thinks, KDE is NOT a window manager. KDE is
a suite of various applications that includes a custom window manager.
The same is true for CDE.
Now, answering the question: Yes, you can use WindowMaker in these
environments. To use WindowMaker with GNOME, you don't need to do anything
special. To use it with CDE, read the answer for "How do I switch CDE's
windowmanager to use WindowMaker?"
To use it with KDE, read it's documentation to get rid of kwm (and possibly
kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
Preferences" and set the "Disable mouse actions" check box. You will need to
restart WindowMaker to make this change take effect. The "Disable mouse
actions" change is needed to allow you to use krootwm, wich enables you to
use kfm's desktop icons, but will prevent you from accessing WindowMaker's
Applications and Window List menus with the mouse.
###
How do I switch CDE's window-manager to use WindowMaker?
----------------------------------
Method 1:
@@ -321,6 +354,16 @@ The only problem I have at the moment is I seem to get multiple copies of
asclock running when I log in again.
### New
You can also use the normal "Exit Session" command from the WM root menu
and place additional commands required to shutdown CDE in
~/GNUstep/Library/WindowMaker/exitscript
So, if you add "dtaction ExitSession" in that file, the command to
shutdown CDE will be automatically executed when you exit WindowMaker.
###
Do I need to rerun wmaker.inst with every new version of WindowMaker?
----------------------------------
Dan Pascu reveals the answer:
@@ -337,7 +380,14 @@ So even if new options are added, they will reflect in the user configuration.
Only if user wishes to change the default behavior, he needs to add that option
to the config file.
### New
When I run wmaker it quits complaing about something __register_frame_info.
-----------------------------------------------------------
This seems to be related to pgcc, gcc-2.8.0 or something. Try using gcc
2.7.x to compile wmaker.
###
-=-=-=-
Usage:
@@ -361,7 +411,7 @@ indicating when it is close enough to dock, and where it will be placed. To make
sure this application will be there next time you start up windowmaker, exit
windowmaker with the "exit session" option.
### Obsoleted
What is the button in the middle of the Clip?
----------------------------------
Dan Pascu gives this insightful answer:
@@ -371,7 +421,7 @@ Dan Pascu gives this insightful answer:
In 0.15.x, the light now means that the Clip is in its expanded stateto show any
appicons attached to it. When collapsed, it expands when you drag an appicon
near it to dock.
###
What is the difference between the 'Exit' and 'Exit Session' Options?
----------------------------------
@@ -403,7 +453,9 @@ How do I rename workspaces?
Right click on the "desktop" (root window) to show the menu (don't hold the
button down). Go to the workspaces menu and hold the Control key down and
click on the workspace you would like to rename and type the name.
### New
If you use the clip, use the "Rename Workspace" command in the clip menu.
###
How can I resize a window if the window is larger than my currect
desktop?
@@ -430,7 +482,12 @@ You docked xyz using dockit. Dockit does not generate correct application
icons most of the time. The only way to get around it is to edit
~/GNUstep/Defaults/WMState and set ForcedDock = YES; in the entry for xyz.
If you use rxvt, upgrade to rxvt 2.4.6 or newer.
### New
There is another better way to dock applications that do not have an appicon,
wich is by using the "Emulate Application Icon" option in the
"Advanced Options" section of the attributes panel. If you turn this option
ON and restart that application, you should get a dockable application icon.
###
-=-=-=-=-=-=-=-
Configuration:
@@ -523,10 +580,13 @@ transparent parts of your icon.
How do you dock <insert program here> that doesn't have an appicon in
the new version of WindowMaker?
----------------------------------
Use the tcl script dockit which is included with WindowMaker 0.15.x. By default
you can run it by double clicking on the main dock icon. Note that dockit
can generate problematic appicons.
### Updated
Open the window commands menu for the main window of the application
(the first window that is opened by the app and also causes the whole
application to exit, when it is closed), choose "Attributes..." and
go to the "Advanced Options" section. Then, check ON the
"Emulate Application Icon" check box.
###
How do I get x11amp to not have a title bar? (or any other program for
that matter?)
@@ -776,8 +836,8 @@ For example:
rxvt -name foo -e irc
Then, go to the Attributes menu (right click on titlebar (or hit F10) and choose
'Attributes...')
Then, go to the Attributes menu (right click on titlebar (or hit Control+Esc
and choose 'Attributes...')
Then choose 'Advanced Options' from the listbox and enable 'Don't Bind
Keyboard shortcuts'.
Click 'Save' and 'Apply' and you should be able to run your session without the
@@ -905,3 +965,36 @@ To make a Theme.tar.gz, these are the steps I take:
4.Now give it to your friends!
### New
Why don't you distribute {normal diff,xdelta} patches?
------------------------------------------------------------
Whenever possible plain diff patches are distributed. If the new
version has new binary files, normal diff won't be able to handle
them, so a patch package is distributed, instead. We don't use
xdelta because:
- most systems do not have xdelta installed;
- xdelta is picky and require the file to be patched to be
exactly the same as the one used to make the patch. The patch package
scheme used is much more flexible.
We do not distribute a simple diff with the binary files separately
(and variations, like uuencoding the binary files) because:
- it is more complicated and error prone to require the user to manually
move the files to the correct places;
- the current patch package scheme *does* distribute the binary files
and diff files separately. If the user wants to install everything by
hand, nobody will object to that;
- sooner or later someone will certainly ask for a script to automate the
file moving stuff.
So we hacked a script (mkpatch) that automatically creates a patch package
with the normal text diff file, a list of removed files and the binary files
that have changed or been added, plus a script that does the patching
automatically. If you don't like the script, you can apply the patch and
move the files manually. Or download the whole distribution.
###

View File

@@ -8,6 +8,13 @@ If I18N support does not work for you, check these:
can check if your locale is supported by X's locale emulation.
See "/usr/X11R6/lib/X11/locale/locale.alias"
- Check if you're using appropriate fonts for the locale you
chose. If you're using a font set that has a different
encoding than the one used by Xlib or libc, bad things can
happen. Try specifically putting the encoding in the LANG
variable, like ru_RU.KOI8-R. Again, see
"/usr/X11R6/lib/X11/locale/locale.alias"
- if your OS doesn't support any locale or if your OS doesn't
support a locale for your language, you can use X Window System's
locale emulation feature instead of OS's locale. To use this

151
INSTALL
View File

@@ -1,5 +1,5 @@
Installation Instructions for WindowMaker
Installation Instructions for Window Maker
@@ -21,8 +21,10 @@ SUPPORTED PLATFORMS
- OSF/1
- HP-UX
- AIX 4.1.4 / IBM PowerPC
- AIX 5.3
- DEC Alpha/Digital UNIX 4.x
- XFree86 / OS/2
- Corel Netwinder
Patches to make it work on other platforms are welcome.
@@ -30,32 +32,33 @@ Patches to make it work on other platforms are welcome.
REQUIREMENTS:
=============
The following software is required to use WindowMaker
The following software is required to use Window Maker
- X11R6.x
WindowMaker can be compiled in older versions of X, like X11R5
Window Maker can be compiled in older versions of X, like X11R5
(Solaris) or X11R4 (OpenWindows) but it will not work 100% correctly.
In such servers there will not be application icons and you'll have
trouble using the dock.
trouble using the dock. Upgrading the client libraries (Xlib, Xt etc)
will help if you can't upgrade the server.
If you will build WindowMaker, make sure you have gcc and the X header files
If you will build Window Maker, make sure you have gcc and the X header files
installed. Specially for newbie Linux users: you must install all X development
packages and the gcc suite. Otherwise you won't be able to build any X program,
including WindowMaker.
including Window Maker.
OPTIONAL:
=========
These libraries are not required to make WindowMaker work, but they
These libraries are not required to make Window Maker work, but they
are supported in case you want to use them. Version numbers are those
that I have (and therefore, guraranteed to work), but other versions
might work too. Tell me if you made wmaker work with some library
with a version older than the stated here.
- libXPM 4.7
- libXPM 4.7 or newer
Older versions may not work!!!
Available at ftp://sunsite.unc.edu/pub/Linux/libs/X/
@@ -69,7 +72,7 @@ with a version older than the stated here.
For TIFF image support.
You can get it at ftp://ftp.sgi.com/graphics/tiff
- libjpeg 6.0.1
- libjpeg 6.0.1 or newer
For JPEG image support
- libgif 2.2 or libungif
@@ -87,13 +90,18 @@ CONFIGURE OPTIONS:
==================
These options can be passed to the configure script to enable/disable
some WindowMaker features. Example:
some Window Maker features. Example:
./configure --enable-kanji
will configure WindowMaker with kanji characters support compiled in.
will configure Window Maker with kanji (and other multi-byte) characters
support compiled in.
To get a list of other options, run ./configure --help
--enable-sound enable support of sound effects module
--disable-xpm disables use of the XPM library even if it is available on
your system.
@@ -108,7 +116,7 @@ will configure WindowMaker with kanji characters support compiled in.
--disable-shape disables shaped windows (for oclock, xeyes etc.)
--enable-debug adds extra debugging information. Do not use it
unless you're debugging WindowMaker.
unless you're debugging Window Maker.
--enable-kanji support to display Kanji characters, Korean, Chinese
and other languagues that require special characters.
@@ -118,6 +126,9 @@ will configure WindowMaker with kanji characters support compiled in.
supported at all by the developers. If you have some trouble with it,
contact it's author: Christopher Seawood <cls@seawood.org>
--disable-shm disable use of the MIT shared memory extension. This will
slow down texture generation.
PLATFORM SPECIFIC NOTES:
========================
@@ -128,8 +139,10 @@ PLATFORM SPECIFIC NOTES:
If you have gcc installed, after running configure, edit
src/config.h and change the #define CPP_PATH line to
#define CPP_PATH "gcc -E -x c"
Sun's cpp lacks some features needed by WindowMaker and it can
Sun's cpp lacks some features needed by Window Maker and it can
cause problems when parsing the config files.
You also might need to use the --with-gfx-libs and --with-gfx-incs
to supply the directory where libtiff is located.
- RedHat Linux
Make sure you don't have the LANG and LINGUAS environment variables
@@ -159,8 +172,8 @@ INSTALLATION:
Unpack WindowMaker-data.tar.gz and move the pixmaps directory in it
to /usr/local/share/pixmaps
You can get the file at ftp://ftp.windowmaker.org. This file is not strictly
necessary, but contains some additional nice icons and other things.
You can get the file at ftp://ftp.windowmaker.org. This file is optional
and only have a few icons.
autoconf and automake
@@ -172,34 +185,9 @@ an older version, disable them by temporarily renaming them to something
else or uninstalling them from your system.
Build libPropList
-----------------
Note: You only need to build libPropList if you don't have it installed
in your system.
libPropList is included with the distribution, so you don't
need to download it anywhere (some people have asked me this...)
But if you already have libPropList installed on you system you
can skip this step, since configure will detect that and use the
installed version first if available.
To build libPropList, simply type the following at the shell prompt:
gunzip -c libPropList.tar.gz | tar xf -
cd libPropList
./configure
make
then, login as root and type:
make install
Build WindowMaker
-----------------
If this is the first time you're building WindowMaker, you can
simply type:
Build Window Maker
------------------
For a quick start, type the following in your shell prompt:
./configure
make
@@ -208,12 +196,12 @@ then, login as root and type:
make install
or if you want to strip the binaries from debugging symbols and make them
or if you want to strip the debugging symbols from the binaries and make them
smaller, you can instead type:
make install-strip
This will build and install WindowMaker with default parameters.
This will build and install Window Maker with default parameters.
If you want to customize some compile-time options, you can do the
following.
@@ -225,9 +213,6 @@ following.
to get a complete listing of other options that are available.
Note that the WPrefs.app installation path is configured
in a different way. Look at WPrefs/README for information.
2. Run configure with the options you want. For example, if you
want to use the --enable-kanji option, type:
@@ -236,44 +221,38 @@ following.
3. (optional) Edit src/wconfig.h with your favorite text editor
and browse through it for some options you might want to change.
4. Compile WindowMaker. Just type:
4. Compile. Just type:
make
5. Login as root (if you can't do that, read the "I don't have the
root password :-(" section) and install WindowMaker in your system.
Again, type:
root password :-(" section) and install Window Maker in your system:
su root
make install
User specific configuration
---------------------------
These instructions do not need to be followed when upgrading WindowMaker
These instructions do not need to be followed when upgrading Window Maker
from an older version, unless stated differently in the NEWS file.
Every user on your system that wishes to run WindowMaker must do the
Every user on your system that wishes to run Window Maker must do the
following:
1. Install WindowMaker configuration files in your home directory.
1. Install Window Maker configuration files in your home directory.
Type:
wmaker.inst
wmaker.inst will install WindowMaker configuration files and will
setup X to automatically launch WindowMaker at startup.
wmaker.inst will install Window Maker configuration files and will
setup X to automatically launch Window Maker at startup.
That's it! The configuration file where you can edit your preferences
is $HOME/GNUstep/Defaults/WindowMaker.
The $HOME/GNUstep/Defaults/WMWindowAttributes file is where you assign
icons to applications and edit some other attributes for windows. This can
be also edited from the "Attributes Panel". To access it, click the titlebar
of the window with the Right mouse button and select "Attributes...".
That's it!
You can type "man wmaker" to get some general help for configuration
and other stuff.
The $HOME/GNUstep/Library/WindowMaker/menu file is the definition of
the root menu. Edit it according to the applications you have installed.
Read the User Guide for a more in depth explanation of WindowMaker.
The User Guide is avaiable at http://windowmaker.org
Read the User Guide for a more in-depth explanation of Window Maker.
You might want to take a look at the FAQ too.
@@ -283,14 +262,17 @@ I don't have the root password :(
If you can't get superuser privileges (can't be root) you can install
wmaker in your own home directory. For that, supply the --prefix option
when running configure in step 2 of building WindowMaker . Example:
when running configure in step 2 of building Window Maker. You will
also need to supply the --with-appspath option, to specify the path for
WPrefs.app Example:
./configure --prefix=/home/jshmoe
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps
If you use national language support, you must also supply the --with-nlsdir
option, as:
./configure --prefix=/home/jshmoe --with-nlsdir=/home/jshmoe/lib/locale
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps \
--with-nlsdir=/home/jshmoe/lib/locale
Then make /home/jshmoe/bin be included in your search path and run
bin/wmaker.inst
@@ -299,10 +281,10 @@ bin/wmaker.inst
UPGRADING
=========
If you are upgrading from an older version of WindowMaker:
If you are upgrading from an older version of Window Maker:
1. Configure and build WindowMaker as always
2. Install WindowMaker (but do not run wmaker.inst)
1. Configure and build Window Maker as always
2. Install Window Maker (but do not run wmaker.inst)
3. Read the NEWS file and update your configuration files,
if necessary.
@@ -314,12 +296,6 @@ like not being able to use a graphic format library you think you have
installed, look at the config.log file for clues of the problem.
== When I try to start X after installing wmaker, I get this:
exec: wmaker: not found
You probably are using a brain-damaged distribution. Add /usr/local/bin
into your path environment variable (editing .cshrc or .profile)
== Error during build of libPropList
make: *** No rule to make target `libPropList.a.c', needed by
@@ -332,8 +308,7 @@ automake 1.3
If you are using the RPM's that come with RedHat 4.x, don't use them.
It is broken. Uninstall the RPM and reinstall a fresh package from
You can get them from ftp://prep.ai.mit.edu or any mirror.
ftp://prep.ai.mit.edu or any mirror.
== configure doesn't detect libtiff, or other graphic libraries.
@@ -367,17 +342,18 @@ If you're not sure, try renaming ~/GNUstep to ~/GNUtmp and then run wmaker.inst
== The root menu contains only 2 entries. ("XTerm" and "Exit...")
* WindowMaker is not finding cpp (the C preprocessor). If your cpp is
* Window Maker is not finding cpp (the C preprocessor). If your cpp is
not located in /lib/cpp, edit src/config.h and correct the path in
CPP_PATH.
LOCALES/INTERNATIONALIZATION
============================
WindowMaker has national language support.
Window Maker has national language support.
To enable national language support, you must compile
WindowMaker with some additional parameters.
Window Maker with some additional parameters.
0 - You must have the GNU gettext package installed. It can be
obtained at ftp://prep.ai.mit.edu/pub/gnu/gettext-nnn.tar.gz
@@ -405,7 +381,7 @@ for other languages.
2 - Additionally, if your language uses multi-byte characters, such
as Japanese or Korean, you must supply the --enable-kanji flag to configure.
3 - Configure, build and install WindowMaker normally.
3 - Configure, build and install Window Maker normally.
4 - To select a particular locale at runtime you must set the LANG
environment variable to the locale you want. For example, if you want to set
@@ -422,7 +398,7 @@ in Bourne sh and similars
Note: If you have the LC_CTYPE environment variable set, you must
unset it before running wmaker.
For menu definition files, WindowMaker searches for them in the
For menu definition files, Window Maker searches for them in the
following order (for brazilian portuguese, in this case):
menu.pt_BR
@@ -452,4 +428,5 @@ and in ~/G/D/WMGLOBAL:
SystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
BoldSystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
The above 2 fonts are only used by applications that use WINGs (WindowMaker
and WPrefs.app)

95
Install
View File

@@ -19,21 +19,36 @@ perai() {
}
perform() {
result=
eval $*
if [ "$result" != 0 ]; then
echo
echo "Window Maker installation failed or aborted by user."
exit 1
fi
}
trap "echo Window Maker installation aborted. ; exit 1" 2 3
echo
echo "========================"
echo "WindowMaker Installation"
echo "========================"
echo "========================="
echo "Window Maker Installation"
echo "========================="
echo
echo "NOTE: If the installation procedure fails, read the INSTALL file and do"
echo "the installation manually."
echo "NOTE: If this script fails, read the INSTALL file and"
echo "install by hand."
echo
echo "Please read the INSTALL and FAQ files before e-mailing "
echo "questions."
perai
if test "$USER" != "root"; then
echo "Warning: you must run this script as the root user."
perai
echo
echo "Be sure to specify an installation path where you have"
echo "write persmission."
echo "Warning: you must run this script as root to install"
echo "Window Maker. Hit <Control>-<C> to quit this script."
perai
echo
fi
@@ -122,17 +137,18 @@ fi
done=0
while [ $done = 0 ]; do
echo
echo "Where do you want to install WindowMaker? [$PREFIX]"
echo "Where do you want to install Window Maker? [$PREFIX]"
echo "Don't change it if you don't know what you're doing."
echo "(The default path will install WindowMaker in "
echo "$PREFIX/bin, $PREFIX/lib etc.)"
if test $USER != root; then
echo "Make sure to specify a path where you have write permission."
fi
echo "(The default will put Window Maker in $PREFIX/bin, $PREFIX/lib etc.)"
echo -n "? "
read foo
if test "x$foo" != "x"; then
if [ "$foo" = "y" -o "$foo" = "n" ]; then
if test "x$foo" != "x"; then
if [ "$foo" = "y" -o "$foo" = "n" ]; then
echo
echo "Hmm... I don't think you really want to install WindowMaker into \"$foo\""
echo "Hmm... I don't think you really want to install Window Maker into \"$foo\""
echo
else
done=1
@@ -142,60 +158,41 @@ while [ $done = 0 ]; do
done=1
fi
echo
echo "$PREFIX/bin must be in the PATH environment variable of all users who use WindowMaker"
echo "$PREFIX/bin must be in the PATH environment variable of all users who use Window Maker"
perai
done
OPTIONS="$OPTIONS --prefix=$PREFIX"
###################### Build libPropList
if [ ! -d libPropList ]; then
gzip -d -c libPropList.tar.gz | tar xf -
fi
echo "-----------------------"
echo "Building libPropList..."
echo "-----------------------"
cd libPropList
if [ ! -f config.status ]; then
./configure
fi
make
cd ..
if [ ! -f libPropList/libPropList.a ]; then
echo "Build of libPropList was not successfull. "
exit
fi
##################### Configure
echo "--------------------------"
echo "Configuring WindowMaker..."
echo "Configuring Window Maker..."
echo "--------------------------"
if [ `uname -s` = "SCO_SV" ]; then
echo "CFLAGS=\"$CFLAGS -belf -DANSICPP\" ./configure $OPTIONS"
CFLAGS="$CFLAGS -belf -DANSICPP" ./configure $OPTIONS
perform CFLAGS=\"$CFLAGS -belf -DANSICPP\" ./configure $OPTIONS
else
echo "CFLAGS=\"$CFLAGS $GCCFLAGS\" ./configure $OPTIONS"
CFLAGS="$CFLAGS $GCCFLAGS" ./configure $OPTIONS
perform CFLAGS=\"$CFLAGS $GCCFLAGS\" ./configure $OPTIONS
fi
#################### Compile
echo "------------------------"
echo "Compiling WindowMaker..."
echo "------------------------"
(cd src; make clean)
make
echo "-------------------------"
echo "Installing WindowMaker..."
echo "Compiling Window Maker..."
echo "-------------------------"
perform (cd src; make clean)
perform make
make install
echo "--------------------------"
echo "Installing Window Maker..."
echo "--------------------------"
perform make install
echo
echo "Installation Finished!"

27
MIRRORS
View File

@@ -41,8 +41,16 @@ Contact: Adam Jacob <adam@cybertrails.com>
Third Party WindowMaker Distribution Packages
=============================================
RedHat/RPM
----------
Debian GNU/Linux (deb)
----------------------
Contact: Marcelo Magallon <mmagallo@efis.ucr.ac.cr>
Sites:
http://master.debian.org/~mmagallo/packages/wmaker/
RedHat Linux (RPM)
------------------
Contact: Jim Knoble <jmknoble@pobox.com>
Sites:
@@ -51,4 +59,19 @@ ftp://ftp.redhat.com/pub/contrib/SRPMS/
ftp://ftp.redhat.com/pub/contrib/i386/
HP-UX
-----
Sites:
UK: http://hpux.csc.liv.ac.uk/
Germany: http://hpux.ask.uni-karlsruhe.de/
US (WI): http://hpux.cae.wisc.edu/
France: http://hpux.cict.fr/
Netherlands: http://hpux.tn.tudelft.nl/
Canada: http://hpux.ee.ualberta.ca/
Italy: http://hpux.dsi.unimi.it/
South Africa: http://hpux.petech.ac.za/
Japan: http://hpux.u-aizu.ac.jp/
US (UT): http://hpux.cs.utah.edu/

View File

@@ -1,14 +1,7 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = wrlib WINGs src util po WindowMaker wmlib test WPrefs.app doc
SUBDIRS = libPropList wrlib WINGs src util po WindowMaker wmlib test WPrefs.app doc
EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N MIRRORS Install acconfig.h\
libPropList.tar.gz mkpatch
libPropList.tar.gz:
-(cd libPropList; $(MAKE) distclean)
-rm -f libPropList.tar.gz
tar cf libPropList.tar libPropList
gzip -9 libPropList.tar
mkpatch

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -91,10 +89,10 @@ X_LOCALE = @X_LOCALE@
pixmapdir = @pixmapdir@
wprefsdir = @wprefsdir@
SUBDIRS = wrlib WINGs src util po WindowMaker wmlib test WPrefs.app doc
SUBDIRS = libPropList wrlib WINGs src util po WindowMaker wmlib test WPrefs.app doc
EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N MIRRORS Install acconfig.h\
libPropList.tar.gz mkpatch
mkpatch
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ./src/config.h
@@ -311,12 +309,6 @@ installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
libPropList.tar.gz:
-(cd libPropList; $(MAKE) distclean)
-rm -f libPropList.tar.gz
tar cf libPropList.tar libPropList
gzip -9 libPropList.tar
# 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:

97
NEWS
View File

@@ -1,12 +1,103 @@
NEWS for veteran WindowMaker users
----------------------------------
NEWS for veteran Window Maker users
-----------------------------------
--- 0.20.2
The name of WindowMaker was changed to Window Maker.
Window creation animation disabled by default.
xdaliclock -shape
-----------------
If you use it edit src/wconfig.h and #define OPTIMIZE_SHAPE or disable the
titlebar and resizebar for the window. OPTIMIZE_SHAPE will remove the
flickering for xdaliclock and other programs that change their shapes often,
but will increase network traffic considerably. So, if you use xdaliclock
from a remote machine it can get slow.
Applications Menu
-----------------
The applications menu will now use the shell in the SHELL environment
variable to execute EXEC menu commands. If it is unset (I think it's always
automatically set by the shell program) it will use /bin/sh
Extra fancy icon kaboom :)
--------------------------
Edit src/wconfig.h and #define ICON_KABOOM_EXTRA to get
more effects for the icon undocking animation.
Options for superfluous stuff are even more superfluous, so this
will not become runtime.
XDE drag and drop support
-------------------------
Support for XDE drag and drop was added (by "]d" <id@maliwan.org>).
To enable, edit src/wconfig.h
The support works with gtk 1.1.2
libPropList
-----------
libPropList will now be built automatically by wmaker. Wich means
the (simplified) building process is now:
./configure
make
make install
instead of:
tar xzf libPropList.tar.gz
(cd libPropList; make)
make
make install
You also don't need to worry about GNOME libPropList incompatibilities
anymore.
Bug with focus lost in sloppy focus fixed
-----------------------------------------
The bug only occurs in sloppy or auto focus modes, with AutoFocus disabled
and Superfluous enabled. There is no easy/clean way to fix this, so Window
Maker will disable the animation of window creation if the focus mode is
either sloppy or auto AND AutoFocus=NO.
If you want the animation, enable AutoFocus or use manual focus mode
(prefered).
The NoWindowUnderDock option was removed
----------------------------------------
To obtain the same result, use the "Floating Dock" option in the dock menu.
Persistent Program Suplied Icons
--------------------------------
Application supplied icons are now stored, so that the dock will keep
showing them after the app is exited. The icons are stored at
~/GNUstep/.AppInfo/WindowMaker/
--- 0.20.0
Multihead support. wmaker will now manage all screens that are attached to the
display.
------------------------------------------------------------------------------
It does so from a single process (instead of spawning a new process for each
screen, like fvwm does). This keeps memory usage a lot lower than fvwm.
@@ -27,6 +118,7 @@ exitscript
~/G/L/W/exitscript will be called automatically when wmaker is exited.
New runtime options
-------------------
@@ -55,6 +147,7 @@ New theme
A new theme named Night, is available in this distribution.
--- 0.19.3
GIF support was added. You will need libgif 2.2 to use it.

214
README
View File

@@ -1,5 +1,5 @@
WindowMaker X11 Window Manager
Window Maker X11 Window Manager
<http://windowmaker.org>
<ftp://ftp.windowmaker.org>
@@ -14,108 +14,114 @@
Matthew Hawkins
<matt@windowmaker.org>
Description
===========
WindowMaker is a window manager designed to emulate the look and feel of
Window Maker is a window manager designed to emulate the look and feel of
part of the NEXTSTEP(tm) GUI. It's supposed to be relatively fast and small,
feature rich, easy to configure and easy to use, with a simple and elegant
appearance borrowed from NEXTSTEP(tm).
Window Maker was previously called WindowMaker.
User Guide
==========
Window Maker has no connection with Windowmaker, the software for
making windows and doors.
The WindowMaker User's Guide can be downloaded from the official ftp
Documentation
=============
* README files all over the source tree have info related to the stuff
in the directories.
* INSTALL has installation instructions and some troubleshooting tips.
* FAQ: Frequently Asked Questions. READ IT!!! FAQ.I18N is for
internationalization related questions.
* NEWS: list user visible changes from the previous version. Read it if
you are upgrading.
* MIRRORS: some alternative places where you can get Window Maker,
including platform specific packages of Window Maker.
* BUGFORM: use it to send bug reports. Please do use it.
* ChangeLog: what changed from the previous version?
* BUGS: list of known bugs
*** User Guide
The Window Maker User's Guide can be downloaded from the official ftp
or web sites.
It can also be viewed in HTML format in:
http://people.delphi.com/crc3419/WMUserGuide/index.htm
The User Guide explains how to use Window Maker, the configuration files
and options.
Directories & Files
===================
o INSTALL contains installation instructions and some troubleshooting tips.
*** man pages
o Install is a script for configuring and compiling WindowMaker in a easy
way.
Type "man wmaker" in the shell prompt to get general help about Window Maker
o ChangeLog contains the changes since the last version
o BUGS contains a list of the currently known bugs
o FAQ is a list of frequently asked questions. Read it. I won't answer
questions answered in it.
Directories & Files in the Source Tree
======================================
o NEWS is a list of user visible changes since the last version. Read it if
you are upgrading.
* Install is a script for configuring and compiling Window Maker in a easy
way (not that the normal way is difficult, but...).
o wmlib/ contains the library necessary to write applications that use
WindowMaker specific features, like application defined menus. This library
will be merged into WINGs in the future.
* AUTHORS: the credits
o WINGs/ contain the WINGs (WINGs Is Not GNUstep) tiny widget library. It is
used by wmaker, but can be used by standalone programs as well.
* TODO: plans for the future
o test/ contains a simple test program that shows some of the things that can
be done with WindowMaker and wmlib
* util/ has various utility programs.
o wrlib/ contains the library used to do image manipulation (loading,
dithering etc.) in WindowMaker. It can be used in other applications.
* WPrefs.app/ is the configuration program.
o util/ contains various utility programs.
* src/wconfig.h has compile time options you can change to select some
options/features and other stuff.
o WPrefs/ contains the source code for the WindowMaker Preferences utility.
Read the WPrefs/README file before using it.
* WINGs/ NEXTSTEP lookalike widget library
o Configuration options can be found in the ~/GNUstep/Defaults/* files
(after installation). The menus can be configured in
~/GNUstep/Library/WindowMaker/menu
* wrlib/ image processing library
o The default configuration files for the system are installed by default in
/usr/local/share/WindowMaker, along with some other data files.
* po/ has message catalogs wich are the translated versions of the messages
displayed by Window Maker.
o src/wconfig.h contains various compile time options you can change to
select some options/features and things like the path for configuration
directory.
o BUGFORM is a form you should fill to send a bugreport. Please use the
form. It makes things easier to me and ensures that you give me a reasonable
amount of information. This form should be sent to developers@windowmaker.org
Mailing List
============
There is a mailing list for discussing WindowMaker at
There is a mailing list for discussing Window Maker at
wmaker@linuxcenter.com To subscribe to it, send a message containing:
subscribe
in the subject and the body of the message to wmaker-request@linuxcenter.com
in the body of the message to wmaker-request@linuxcenter.com
If you have some problem installing or using wmaker, it would be advisable
to ask in the mailing list, as the probability of at least one of the 500+
users there having the same problem as you (and solving it) is bigger than
the three of us. The developers are subscribed to the mailing list, so we
will read your post anyway (no need for cc:). For bug reports, fill
the BUGFORM and send it to developers@windowmaker.org You can also use
the bug tracker page at http://windowmaker.org/cgi-bin/bugs
If you got a problem, ask there (after reading the docs, of course). The
people there is more likely to be able to answer your questions than we are.
For bug reports use the BUGFORM.
Important note: when asking for help (in the mailing list or to the
developerts, directly) always send information about the system you are
using. You can use the system information section at the end of BUGFORM
as a guideline. Another thing: please don't send HTML mail. You will
be risking having your mail deleted before being read. Not everybody
uses a browser to read email, wich makes your message an annoyance.
There should be an option in your mail app to disable it.
IMPORTANT NOTE: when asking for help (in the mailing list or to the
developerts, directly) *always* send information about the system you are
using. You can use the system information section at the end of BUGFORM as a
guideline. Another thing: please don't send HTML mail.
Running multiple instances of WindowMaker
=========================================
Running multiple instances of Window Maker
==========================================
It is not a good idea to run more than one instance of WindowMaker
It is not a good idea to run more than one instance of Window Maker
from the same user (so that wmaker will use the same configuration
files) at the same time. You might get unexpected behaviour when WindowMaker
files) at the same time. You might get unexpected behaviour when Window Maker
updates it's configuration files.
@@ -126,21 +132,20 @@ Sound is supported for Linux and FreeBSD systems with the use of a
separately distributed module. You can download it at:
http://www.frontiernet.net/~southgat/wmsound
Note that you must compile WindowMaker with the --enable-sound configure
Note that you must compile Window Maker with the --enable-sound configure
flag and set the DisableSound option to NO.
Performance Tuning
==================
If you want to diminish WindowMaker's memory usage and improve performance,
If you want to diminish Window Maker's memory usage and improve performance,
while keeping a nice appearance and good functionality, follow the items
bellow:
- use solid textures for everything, mainly titlebars and menus. If you
want a nice looking desktop, use the Traditional style.
- turn NewStyle and Superfluous off
- turn on DisableAnimations
- do not bind many shortcuts in the menu and keep only the essential items
in the menu
- turn on DisableClip
@@ -148,16 +153,91 @@ bellow:
don't use anyway (keep in mind that some of the #defines might not
work, as they are not fully supported). Make sure to always keep
NumLock and ScrollLock turned off.
- turn on DisableAnimations. You can also #undefine ANIMATIONS in wconfig.h
- strip down the default IconPath and PixmapPath entries to contain only
the paths that you really have in your system.
- do not use large images in the root background
- remove support for image formats you don't use
- to reduce memory usage, disable the icon cache, by setting the RIMAGE_CACHE
environment variable to 0. If you want to increase performance at the cost
of memory usage, set it's value to a value like the number of different
icons you use.
Keyboard Mouse Control
======================
Many people ask about adding keyboard control of mouse, like in fvwm,
but Window Maker will not have such feature. The XKB extension supports
mouse simulation from the keyboard, in a much more powerfull fashion than
any simulation done by a window manager.
To enable it, hit the Control+Shift+NumLock key combination. You should
hear the speaker beeping. To disable it, do the same thing.
To control the mouse the numeric keypad is used as follows:
- 4 (left arrow), 7 (Home), 8 (up arrow), 9 (PgUp), 6 (right arrow),
3 (PgDn), 2 (down arrow) and 1 (End) move the mouse to the corresponding
direction;
- holding one of the above keys and the holding the 5 key will move the
pointer faster;
- / will select the first mouse button (left button);
- * will select the second mouse button (middle button);
- - will select the third mouse button (right button);
- 5 will do a click with the currently selected mouse button;
- + will do a double-click with the currently selected button;
- 0 (Ins) will click and hold the currently selected button;
- . (Del) will release the currently selected button that was previously
clicked with the 0 (Ins) key.
The above key values work in a XFree86 3.2 (X11R6.1) X server but your
milleage may vary.
How to make a gdb backtrace
===========================
Backtraces can help us fix bugs that make Window Maker crash. If you
find a bug that crashes Window Maker, please send a backtrace with your
bug report.
To make a usefull backtrace, you need a core file with debugging
information produced by Window Maker when it crashes. The default
for Window Maker is to restart another window manager when it crashes,
so you will not get a core file. You need to edit the src/wconfig.h
file *after* running configure and change the line that looks like:
#undef NO_EMERGENCY_AUTORESTART
to:
#define NO_EMERGENCY_AUTORESTART
Then, in the src directory type:
make CFLAGS=-g
make install
and wait for Window Maker to be installed.
Once having Window Maker installed, start X and reproduce the bug so
that Window Maker crashes. When it does crash, type the following from
your shell:
script
gdb wmaker path_to_the_core_file
Then, in the gdb prompt type "bt". Quit from gdb by typing "quit"
and then, in the shell prompt, type "exit".
The file named typescript will contain the backtrace.
Copyrights
==========
WindowMaker is copyrighted by Alfredo K. Kojima and is licensed through the
Window Maker is copyrighted by Alfredo K. Kojima and is licensed through the
GNU General Public License. Read the COPYING file for the complete license.
NeXT, OpenStep and NEXTSTEP are a trademarks of NeXT Computer, Inc.
@@ -168,16 +248,16 @@ Authors
The AUTHORS file contains a list of the people who have contributed to the
project. The name of people who have helped with localization (translation)
can be found in po/README and WindowMaker/README
can be found in po/README and Window Maker/README
If you have any comments, fixes and bug reports (filled BUGFORMs) send them
to kojima@windowmaker.org
to developers@windowmaker.org
Musicware
=========
If you use WindowMaker and *really* like it, please consider making my day
If you use Window Maker and *really* like it, please consider making my day
by sending me a music CD (or a MiniDisc) of your favorite band, singer,
instrumentist, composer or whatever :^). I like listening to music and would
love to get new CDs, especially from other parts of the world. I like almost

27
TODO
View File

@@ -3,43 +3,44 @@ Do ASAP:
========
- fix bestvisual selection code. Broken.
- add a dialog to let user choose if we should restart, restart twm or continue crashing on crash. Do not forget to check if wmaker is already fully running.
- fix stacking. buggy again
+ ICCCM compliant stuff: find what is missing
- WM_COLORMAP_NOTIFY clientmessage
- fix stacking. buggy again (maybe XFree 3.2 bug)
- fix RemakeStackList() to account for transient windows
- change CommitStacking() on AddToStackingList() to more optimized thing
- differential update of appmenu
- make unhide app map windows in the same stacking order they were before
hiding
Need to do:
===========
- support for X11R6.4 extension for getting extra visual info in wrlib's
automatic best context guessing
- ICCCM 2.0 stuff (although nobody is 2.0 compliant, AFAIK. Not even twm)
- rewrite menu traversal code
- histeresys in menu item selection
- docklet to control AccessX (keyboard accessibility) functions
- rewrite all redundant stuff to use WINGs
- resizebartexture option
- add function to directly make a thumbnail of an image, using the
functionality provided by the image libraries to load a minimal
amount of data.
- clickonclientarearaisewindow
- edge resistance (with timer)
- save client supplied icons in ~/GNUstep/.AppInfo/ClientIcons/ and
use them by default
- GNUstepWMAttributes update in propertynotify
+ investigate memory leaks
- make Docked apps with WM_CLIENT_MACHINE be launched from respective
machines (also put a marking showing it's remote launched)
- handle change of CLIENT_LEADER property
- rewrite defaults/wdefaults stuff to use WINGs UD stuff. Search list:
~/G/D/WindowMaker /u/l/s/W/D/WindowMaker built-in-defaults
- remake internal string processing to use wc?
- -statefile cmd arg to specify path for WMState file (multiple instance
- remake internal string processing to use wchar? unicode?
- -stateprefix cmd arg to specify sufix for WMState domain (multiple instance
support)
- R6 style session management (or something to make wmaker compatible/aware
of it)
Maybe some day:
===============
- virtual desktop
- virtual workspace
- optimize for size
- make dithering in 8bpp better
Never: (so, dont even bother to ask)
======
- different themes for each workspace. Unless you give us a SGI/Power Onyx

View File

@@ -1,6 +1,13 @@
changes since wmaker 0.20.0:
............................
- added generic object field for WMListItem. This is for hanging generic
clientdata
changes since wmaker 0.20.0:
............................
- changed WMGetFilePanelFile() with WMGetFilePanelFileName()
- made SavePanel

View File

@@ -6,7 +6,7 @@ SUBDIRS = Resources
LIBLIST= -L$(top_builddir)/wrlib -lwraster @XLFLAGS@ @GFXLIBS@ @XLIBS@ \
-lm @LIBPL_LIBS@
-lm -L$(top_builddir)/libPropList -lPropList
lib_LIBRARIES = libWINGs.a
@@ -78,13 +78,13 @@ libWINGs_a_SOURCES = \
findfile.c \
hashtable.c \
memory.c \
usleep.c
usleep.c
##
## Find a better way than $(GFXFLAGS) to inform widgets.c wich of
## tiff or xpm images should be used
INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/src @XCFLAGS@ \
INCLUDES = @XCFLAGS@ -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
-DRESOURCE_PATH=\"$(datadir)/WINGs\" $(GFXFLAGS) -DDEBUG \
@LIBPL_INC_PATH@
-I$(top_srcdir)/libPropList

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -96,7 +94,7 @@ AUTOMAKE_OPTIONS = no-dependencies
SUBDIRS = Resources
LIBLIST= -L$(top_builddir)/wrlib -lwraster @XLFLAGS@ @GFXLIBS@ @XLIBS@ \
-lm @LIBPL_LIBS@
-lm -L$(top_builddir)/libPropList -lPropList
lib_LIBRARIES = libWINGs.a
@@ -165,11 +163,11 @@ libWINGs_a_SOURCES = \
findfile.c \
hashtable.c \
memory.c \
usleep.c
usleep.c
INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/src @XCFLAGS@ \
INCLUDES = @XCFLAGS@ -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
-DRESOURCE_PATH=\"$(datadir)/WINGs\" $(GFXFLAGS) -DDEBUG \
@LIBPL_INC_PATH@
-I$(top_srcdir)/libPropList
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../src/config.h
CONFIG_CLEAN_FILES =

View File

@@ -25,9 +25,9 @@ and faster than say, Motif or even Athena. Knowing Xlib will help you to
workaround some of it's limitations, although you'll probably be able to
write something like a trivial tic-tac-toe game without knowing much Xlib.
Some of it's functions are designed to support the WindowMaker window
Some of it's functions are designed to support the Window Maker window
manager (see http://windowmaker.org) In fact, it's primary role is to
support WindowMaker. All other uses of it are just an added bonus.
support Window Maker. All other uses of it are just an added bonus.
It will help you to understand the API if you read the ApplicationKit
reference manual, distributed as a PDF by Apple. The function names,

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -6,7 +6,7 @@
#include <wraster.h>
#include <X11/Xlib.h>
#define WINGS_H_VERSION 980922
#define WINGS_H_VERSION 980930
@@ -286,6 +286,7 @@ typedef struct W_FontPanel WMFontPanel;
/* item for WMList */
typedef struct WMListItem {
char *text;
void *clientData; /* ptr for user clientdata. */
struct WMListItem *nextPtr;
@@ -393,6 +394,12 @@ void WMScreenMainLoop(WMScreen *scr);
RContext *WMScreenRContext(WMScreen *scr);
Display *WMScreenDisplay(WMScreen *scr);
int WMScreenDepth(WMScreen *scr);
void WMSetApplicationIconImage(WMScreen *app, WMPixmap *icon);
WMPixmap *WMGetApplicationIconImage(WMScreen *app);
@@ -434,11 +441,11 @@ WMHandlerID WMAddInputHandler(int fd, int condition, WMInputProc *proc,
void WMDeleteInputHandler(WMHandlerID handlerID);
/* ....................................................................... */
/*
void WMDragImageFromView(WMView *view, WMPixmap *image, WMPoint atLocation,
WMSize mouseOffset, XEvent *event, Bool slideBack);
*/
/* ....................................................................... */
@@ -547,8 +554,6 @@ int WMWidthOfString(WMFont *font, char *text, int length);
WMScreen *WMWidgetScreen(WMWidget *w);
Display *WMScreenDisplay(WMScreen *scr);
void WMUnmapWidget(WMWidget *w);
void WMMapWidget(WMWidget *w);
@@ -898,6 +903,10 @@ WMScroller *WMGetScrollViewHorizontalScroller(WMScrollView *sPtr);
WMScroller *WMGetScrollViewVerticalScroller(WMScrollView *sPtr);
void WMSetScrollViewLineScroll(WMScrollView *sPtr, int amount);
void WMSetScrollViewPageScroll(WMScrollView *sPtr, int amount);
/* ....................................................................... */
WMSlider *WMCreateSlider(WMWidget *parent);
@@ -963,7 +972,7 @@ void WMDestroyInputPanel(WMInputPanel *panel);
/* ....................................................................... */
/* only 1 instance per WMScreen */
WMOpenPanel *WMGetOpenPanel(WMScreen *app);
WMOpenPanel *WMGetOpenPanel(WMScreen *scrPtr);
WMSavePanel *WMGetSavePanel(WMScreen *scrPtr);

View File

@@ -6,7 +6,7 @@
#include "WINGs.h"
#include "WUtil.h"
#if WINGS_H_VERSION < 980922
#if WINGS_H_VERSION < 980930
#error There_is_an_old_WINGs.h_file_somewhere_in_your_system._Please_remove_it.
#endif
@@ -234,8 +234,8 @@ typedef struct W_View {
#if 0
struct W_DragSourceProcs *dragSourceProcs;
struct W_DragDestinationProcs *dragDestinationProcs;
#endif
int helpContext;
#endif
struct {
unsigned int realized:1;

View File

@@ -5,6 +5,13 @@
#include <sys/types.h>
/* SunOS 4.x Blargh.... */
#ifndef NULL
#define NULL ((void*)0)
#endif
/*
* Warning: proplist.h #defines BOOL which will clash with the
* typedef BOOL in Xmd.h
@@ -65,7 +72,12 @@ typedef struct {
} WMHashTableCallbacks;
#if 0
typedef struct {
char character; /* the escape character */
char *value; /* value to place */
} WMSEscapes;
#endif
typedef void WMNotificationObserverAction(void *observerData,
@@ -105,6 +117,10 @@ char *wdefaultspathfordomain(char *domain);
void wusleep(unsigned int microsec);
#if 0
int wsprintesc(char *buffer, int length, char *format, WMSEscapes **escapes,
int count);
#endif
/*......................................................................*/

View File

@@ -1,5 +1,5 @@
/*
* WindowMaker miscelaneous function library
* Window Maker miscelaneous function library
*
* Copyright (c) 1997 Alfredo K. Kojima
*
@@ -53,7 +53,8 @@ wfatal(const char *msg, ...)
fputs(_WINGS_progname, stderr);
fputs(" fatal error: ",stderr);
fputs(buf, stderr);
fflush(NULL);
fflush(stdout);
fflush(stderr);
va_end(args);
}
@@ -79,7 +80,8 @@ wwarning(const char *msg, ...)
fputs(_WINGS_progname, stderr);
fputs(" warning: ",stderr);
fputs(buf, stderr);
fflush(NULL);
fflush(stdout);
fflush(stderr);
va_end(args);
}
@@ -109,7 +111,8 @@ wsyserror(const char *msg, ...)
strcat(buf, strerror(error));
strcat(buf,"\n");
fputs(buf, stderr);
fflush(NULL);
fflush(stderr);
fflush(stdout);
#else
perror(buf);
#endif

View File

@@ -1,5 +1,5 @@
/*
* WindowMaker miscelaneous function library
* Window Maker miscelaneous function library
*
* Copyright (c) 1997 Alfredo K. Kojima
*

View File

@@ -1,5 +1,5 @@
/*
* WindowMaker miscelaneous function library
* Window Maker miscelaneous function library
*
* Copyright (c) 1997 Alfredo K. Kojima
*

View File

@@ -7,17 +7,16 @@
# include <sys/time.h>
#endif
#ifdef _AIX
#include <sys/select.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if defined(HAVE_SELECT)
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
void
wusleep(unsigned int microsecs)

View File

@@ -435,9 +435,10 @@ paintItem(WMList *lPtr, Drawable d, char *text, int state, WMRect *rect)
width, height);
else
XClearArea(scr->display, d, x, y, width, height, False);
W_PaintText(view, d, scr->normalFont, x+4, y, width,
WALeft, W_GC(scr->black), False, text, strlen(text));
if (text)
W_PaintText(view, d, scr->normalFont, x+4, y, width,
WALeft, W_GC(scr->black), False, text, strlen(text));
if (state & WLDSIsBranch) {
XDrawLine(scr->display, d, W_GC(scr->darkGray), x+width-11, y+3,

View File

@@ -31,7 +31,7 @@ extern _WINGsConfiguration WINGsConfiguration;
typedef struct TimerHandler {
WMCallback *callback; /* procedure to call */
unsigned long msec; /* when to call the callback */
struct timeval when; /* when to call the callback */
void *clientData;
struct TimerHandler *next;
} TimerHandler;
@@ -114,22 +114,32 @@ static WMEventHook *extraEventHandler=NULL;
#define idlePending() (idleHandler)
/* return current time in milliseconds */
#ifdef HAVE_GETTIMEOFDAY
static unsigned long
rightNow(void) {
struct timeval tv;
gettimeofday(&tv, NULL);
return 1000L*(unsigned long)tv.tv_sec + (unsigned long)tv.tv_usec/1000L;
static void
rightNow(struct timeval *tv) {
gettimeofday(tv, NULL);
}
#else /* !HAVE_GETTIMEOFDAY */
# define rightNow() (1000*(unsigned long)time(NULL))
# define rightNow(tv) (tv)->tv_sec==time(NULL),(tv)->tv_usec=0
#endif /* !HAVE_GETTIMEOFDAY */
/* is t1 after t2 ? */
#define IS_AFTER(t1, t2) (((t1).tv_sec > (t2).tv_sec) || \
(((t1).tv_sec == (t2).tv_sec) \
&& ((t1).tv_usec > (t2).tv_usec)))
static void
addmillisecs(struct timeval *tv, int milliseconds)
{
tv->tv_usec += milliseconds*1000;
tv->tv_sec += tv->tv_usec/1000000;
tv->tv_usec = tv->tv_usec%1000000;
}
WMHandlerID
WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata)
{
@@ -139,17 +149,18 @@ WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata)
if (!handler)
return NULL;
handler->msec = rightNow()+milliseconds;
rightNow(&handler->when);
addmillisecs(&handler->when, milliseconds);
handler->callback = callback;
handler->clientData = cdata;
/* insert callback in queue, sorted by time left */
if (!timerHandler || timerHandler->msec >= handler->msec) {
if (!timerHandler || !IS_AFTER(handler->when, timerHandler->when)) {
/* first in the queue */
handler->next = timerHandler;
timerHandler = handler;
} else {
tmp = timerHandler;
while (tmp->next && tmp->next->msec < handler->msec) {
while (tmp->next && IS_AFTER(handler->when, tmp->next->when)) {
tmp = tmp->next;
}
handler->next = tmp->next;
@@ -341,12 +352,11 @@ static void
checkTimerHandlers()
{
TimerHandler *handler;
unsigned long now = rightNow();
struct timeval now;
rightNow(&now);
if (!timerHandler || (timerHandler->msec > now))
return;
while (timerHandler && timerHandler->msec <= now) {
while (timerHandler && IS_AFTER(now, timerHandler->when)) {
handler = timerHandler;
timerHandler = timerHandler->next;
handler->next = NULL;
@@ -357,22 +367,26 @@ checkTimerHandlers()
static unsigned long
msToNextTimerEvent()
static void
delayUntilNextTimerEvent(struct timeval *delay)
{
unsigned long now;
struct timeval now;
if (!timerHandler) {
/* The return value of this function is only valid if there _are_
timers active. */
return 0;
delay->tv_sec = 0;
delay->tv_usec = 0;
return;
}
now = rightNow();
if (timerHandler->msec < now) {
return 0;
rightNow(&now);
if (IS_AFTER(now, timerHandler->when)) {
delay->tv_sec = 0;
delay->tv_usec = 0;
} else {
return timerHandler->msec - now;
delay->tv_sec = timerHandler->when.tv_sec - now.tv_sec;
delay->tv_usec = timerHandler->when.tv_usec - now.tv_usec;
}
}
@@ -693,7 +707,6 @@ W_WaitForEvent(Display *dpy, unsigned long xeventmask)
#ifndef HAVE_SELECT
#error This_system_does_not_have_select(2)_and_is_not_supported
#endif
unsigned long milliseconds;
struct timeval timeout;
struct timeval *timeoutPtr;
fd_set rset, wset, eset;
@@ -730,9 +743,7 @@ W_WaitForEvent(Display *dpy, unsigned long xeventmask)
* next timer expires.
*/
if (timerPending()) {
milliseconds = msToNextTimerEvent();
timeout.tv_sec = milliseconds / 1000;
timeout.tv_usec = (milliseconds % 1000) * 1000;
delayUntilNextTimerEvent(&timeout);
timeoutPtr = &timeout;
} else {
timeoutPtr = (struct timeval*)0;
@@ -841,9 +852,7 @@ WMMaskEvent(Display *dpy, long mask, XEvent *event)
* next timer expires.
*/
if (timerPending()) {
milliseconds = msToNextTimerEvent();
timeout.tv_sec = milliseconds / 1000;
timeout.tv_usec = (milliseconds % 1000) * 1000;
delayUntilNextTimerEvent(&timeout);
timeoutOrInfty = &timeout;
} else {
timeoutOrInfty = (struct timeval*)0;

View File

@@ -243,6 +243,9 @@ WMGetSavePanel(WMScreen *scrPtr)
void
WMFreeFilePanel(WMFilePanel *panel)
{
if (panel == WMWidgetScreen(panel->win)->sharedSavePanel) {
WMWidgetScreen(panel->win)->sharedSavePanel = NULL;
}
if (panel == WMWidgetScreen(panel->win)->sharedOpenPanel) {
WMWidgetScreen(panel->win)->sharedOpenPanel = NULL;
}
@@ -501,8 +504,12 @@ getCurrentFileName(WMFilePanel *panel)
if (path[len-1]=='/') {
file = WMGetTextFieldText(panel->fileField);
tmp = wmalloc(strlen(path)+strlen(file)+8);
strcpy(tmp, path);
strcat(tmp, file);
if (file[0]!='/') {
strcpy(tmp, path);
strcat(tmp, file);
} else
strcpy(tmp, file);
free(file);
free(path);
return tmp;

View File

@@ -421,7 +421,8 @@ loadPixmaps(WMScreen *scr)
image = RLoadImage(scr->rcontext, WINGS_IMAGES_FILE, 0);
if (!image) {
wwarning("WINGs: could not load widget images file: %s", RErrorString);
wwarning("WINGs: could not load widget images file: %s",
RMessageForError(RErrorCode));
return False;
}
/* make it have a gray background */
@@ -653,6 +654,8 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
scrPtr->rootView = W_CreateRootView(scrPtr);
W_InitApplication(scrPtr);
return scrPtr;
}
@@ -886,6 +889,13 @@ WMScreenDisplay(WMScreen *scr)
}
int
WMScreenDepth(WMScreen *scr)
{
return scr->depth;
}
void
WMRedisplayWidget(WMWidget *w)
{

View File

@@ -424,7 +424,7 @@ int main(int argc, char **argv)
*
* Put the testSomething() function you want to test here.
*/
#if 0
#if 1
testOpenFilePanel(scr);
testFontPanel(scr);
testList(scr);

View File

@@ -573,9 +573,9 @@ handleEvents(XEvent *event, void *data)
#endif
paintTextField(tPtr);
WMPostNotificationName(WMTextDidBeginEditingNotification, tPtr, NULL);
WMPostNotificationName(WMTextDidBeginEditingNotification, tPtr, NULL);
tPtr->flags.notIllegalMovement = 0;
tPtr->flags.notIllegalMovement = 0;
break;
case FocusOut:
@@ -588,8 +588,8 @@ handleEvents(XEvent *event, void *data)
paintTextField(tPtr);
if (!tPtr->flags.notIllegalMovement) {
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
WMIllegalTextMovement);
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
(void*)WMIllegalTextMovement);
}
break;
@@ -614,7 +614,6 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
int count, refresh = 0;
int control_pressed = 0;
int changed;
WMNotification *notif;
WMScreen *scr = tPtr->view->screen;
changed = 0;
@@ -629,29 +628,27 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
switch (ksym) {
case XK_Tab:
if (event->xkey.state & ShiftMask) {
notif = WMCreateNotification(WMTextDidEndEditingNotification,
tPtr, (void*)WMBacktabTextMovement);
if (tPtr->view->prevFocusChain) {
W_SetFocusOfTopLevel(W_TopLevelOfView(tPtr->view),
tPtr->view->prevFocusChain);
tPtr->flags.notIllegalMovement = 1;
}
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
(void*)WMBacktabTextMovement);
} else {
notif = WMCreateNotification(WMTextDidEndEditingNotification,
tPtr, (void*)WMTabTextMovement);
if (tPtr->view->nextFocusChain) {
W_SetFocusOfTopLevel(W_TopLevelOfView(tPtr->view),
tPtr->view->nextFocusChain);
tPtr->flags.notIllegalMovement = 1;
}
WMPostNotificationName(WMTextDidEndEditingNotification,
tPtr, (void*)WMTabTextMovement);
}
WMPostNotification(notif);
WMReleaseNotification(notif);
break;
case XK_Return:
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
(void*)WMReturnTextMovement);
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
(void*)WMReturnTextMovement);
break;
case WM_EMACSKEY_LEFT:

View File

@@ -149,7 +149,6 @@ WMWindow*
WMCreateWindowWithStyle(WMScreen *screen, char *name, int style)
{
_Window *win;
static int initedApp = 0;
win = wmalloc(sizeof(_Window));
memset(win, 0, sizeof(_Window));
@@ -175,11 +174,6 @@ WMCreateWindowWithStyle(WMScreen *screen, char *name, int style)
W_ResizeView(win->view, DEFAULT_WIDTH, DEFAULT_HEIGHT);
if (!initedApp) {
W_InitApplication(screen);
initedApp = 1;
}
WMAddNotificationObserver(realizeObserver, win,
WMViewRealizedNotification, win->view);

View File

@@ -1,6 +1,6 @@
/* Configurations.c- misc. configurations
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -127,6 +127,7 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
{
RImage *icon;
char *path;
RColor gray = {0xae,0xaa,0xae};
*icon1 = NULL;
*icon2 = NULL;
@@ -148,10 +149,11 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
free(path);
return;
}
RCombineImageWithColor(icon, &gray);
if (xis) {
RCombineImages(icon, xis);
RCombineImagesWithOpaqueness(icon, xis, 180);
if (!(*icon2 = WMCreatePixmapFromRImage(scr, icon, 127)))
wwarning(_("could not process icon %s:"), file, RErrorString);
wwarning(_("could not process icon %s:"), file, RMessageForError(RErrorCode));
}
RDestroyImage(icon);
free(path);

View File

@@ -1,6 +1,6 @@
/* Expert.c- expert user options
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* Focus.c- input and colormap focus stuff
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* Icons.c- icon preferences
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* KeyboardSettings.c- keyboard options (equivalent to xset)
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* KeyboardShortcuts.c- keyboard shortcut bindings
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -12,7 +12,7 @@ wpdatadir = @wprefsdir@
wpdata_DATA = WPrefs.tiff WPrefs.xpm
EXTRA_DIST = $(wpdata_DATA)
EXTRA_DIST = $(wpdata_DATA) TexturePanel.icons
WPrefs_SOURCES = \
main.c \
@@ -31,6 +31,8 @@ WPrefs_SOURCES = \
Preferences.c \
Text.c \
TextureAndColor.c \
TexturePanel.c \
TexturePanel.h \
WindowHandling.c \
Workspace.c \
double.c \
@@ -48,14 +50,14 @@ INCLUDES = \
-I$(top_srcdir)/wrlib \
-I$(top_srcdir)/WINGs \
@XCFLAGS@ \
@LIBPL_INC_PATH@
-I$(top_srcdir)/libPropList
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.a
WPrefs_LDADD = \
-L$(top_builddir)/WINGs -lWINGs\
-L$(top_builddir)/wrlib -lwraster \
@LIBPL_LIBS@ \
-L$(top_builddir)/libPropList -lPropList \
@XLFLAGS@ \
@GFXLIBS@ \
@XLIBS@ \

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -105,7 +103,7 @@ wpdatadir = @wprefsdir@
wpdata_DATA = WPrefs.tiff WPrefs.xpm
EXTRA_DIST = $(wpdata_DATA)
EXTRA_DIST = $(wpdata_DATA) TexturePanel.icons
WPrefs_SOURCES = \
main.c \
@@ -124,6 +122,8 @@ WPrefs_SOURCES = \
Preferences.c \
Text.c \
TextureAndColor.c \
TexturePanel.c \
TexturePanel.h \
WindowHandling.c \
Workspace.c \
double.c \
@@ -140,14 +140,14 @@ INCLUDES = \
-I$(top_srcdir)/wrlib \
-I$(top_srcdir)/WINGs \
@XCFLAGS@ \
@LIBPL_INC_PATH@
-I$(top_srcdir)/libPropList
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.a
WPrefs_LDADD = \
-L$(top_builddir)/WINGs -lWINGs\
-L$(top_builddir)/wrlib -lwraster \
@LIBPL_LIBS@ \
-L$(top_builddir)/libPropList -lPropList \
@XLFLAGS@ \
@GFXLIBS@ \
@XLIBS@ \
@@ -169,7 +169,8 @@ X_PRE_LIBS = @X_PRE_LIBS@
WPrefs_OBJECTS = main.o WPrefs.o Configurations.o Expert.o Focus.o \
Icons.o KeyboardSettings.o KeyboardShortcuts.o Menu.o MenuPreferences.o \
MouseSettings.o Paths.o Preferences.o Text.o TextureAndColor.o \
WindowHandling.o Workspace.o double.o MenuGuru.o xmodifier.o
TexturePanel.o WindowHandling.o Workspace.o double.o MenuGuru.o \
xmodifier.o
WPrefs_LDFLAGS =
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)

View File

@@ -1,6 +1,6 @@
/* Menu.c- menu definition
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -1280,9 +1280,8 @@ showData(_Panel *panel)
strcat(menuPath, "/Defaults/WMRootMenu");
menu = PLGetProplistWithPath(menuPath);
free(menuPath);
if (!PLIsArray(menu)) {
if (!menu || !PLIsArray(menu)) {
sprintf(buffer, _("The format of the current menu in ~/G/D/WMRootMenu "
"is not supported by WPrefs. A new menu will be created.\n"
"You can also replace ~/G/D/WMRootMenu with ~/G/L/W/plmenu "
@@ -1303,8 +1302,11 @@ showData(_Panel *panel)
} else {
pmenu = preProcessMenu(menu, &hasWSMenu);
}
PLSetFilename(pmenu, PLGetFilename(menu));
PLRelease(menu);
PLSetFilename(pmenu, menuPath);
free(menuPath);
if (menu)
PLRelease(menu);
if (panel->itemClipboard) {
PLRelease(panel->itemClipboard);

View File

@@ -1,6 +1,6 @@
/* MenuGuru.c- OPEN_MENU definition "guru" assistant
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* MenuPreferences.c- menu related preferences
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* MouseSettings.c- mouse options (some are equivalent to xset)
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -738,8 +738,8 @@ createPanel(Panel *p)
WMSetFrameTitle(panel->grabF, _("Mouse Grab Modifier"));
panel->grabP = WMCreatePopUpButton(panel->grabF);
WMResizeWidget(panel->grabP, 120, 20);
WMMoveWidget(panel->grabP, 60, 25);
WMResizeWidget(panel->grabP, 160, 20);
WMMoveWidget(panel->grabP, 40, 25);
fillModifierPopUp(panel->grabP);

View File

@@ -1,6 +1,6 @@
/* Paths.c- pixmap/icon paths
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* Preferences.c- misc personal preferences
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -192,7 +192,7 @@ createPanel(Panel *p)
panel->raisB = WMCreateSwitchButton(panel->optF);
WMResizeWidget(panel->raisB, 440, 20);
WMMoveWidget(panel->raisB, 20, 25);
WMSetButtonText(panel->raisB, _("Raise window when switching focus with keyboard."));
WMSetButtonText(panel->raisB, _("Raise window when switching focus with keyboard (CirculateRaise)."));
WMMapSubwidgets(panel->optF);

View File

@@ -67,9 +67,8 @@ By default, WPrefs.app will be installed in the GNUstep applications
directory, which is /usr/local/GNUstep/Apps. If you want to install it
somewhere else, like in /some_weird_path/Apps, set the GNUSTEP_LOCAL_ROOT
environment variable to some_weird_path before running configure for
WindowMaker. Leave this variable always set (make it be set from your
.profile or .tcshrc or whatever), or WPrefs.app will not find it's resource
files (like icons).
WindowMaker. You can also configure Window Maker supplying the --with-appspath
option to configure, like ./configure --with-appspath=/usr/GNUstep/Apps
If you change your mind after installing, you can move the .app directory
to one of the following GNUstep/Apps directories:
@@ -91,6 +90,9 @@ Credits
User interface design, programming and a few icons:
Alfredo K. Kojima <kojima@windowmaker.org>
Additional programming:
James Thompson <jamest@math.ksu.edu>
Icon and image artwork:
Marco van Hylckama Vlieg <fatal@global.uibk.ac.at>
@@ -99,7 +101,7 @@ WindowMaker
-----------
If for some weird reason you end up with this preferences program and
don't have WindowMaker yet, you can get more information about it at
don't have Window Maker yet, you can get more information about it at
http://windowmaker.org and download it at ftp://ftp.windowmaker.org

View File

@@ -1,6 +1,6 @@
/* Text.c- text/font settings
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -1,6 +1,6 @@
/* TextureAndColor.c- color/texture for titlebar etc.
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -23,18 +23,20 @@
#include "WPrefs.h"
#include "TexturePanel.h"
typedef struct _Panel {
WMFrame *frame;
char *sectionName;
char *sectionName;
CallbackRec callbacks;
WMWindow *win;
WMPopUpButton *secP;
WMLabel *prevL;
/* window titlebar */
WMFrame *focF;
WMColorWell *focC;
@@ -42,14 +44,14 @@ typedef struct _Panel {
WMTextField *focT;
WMLabel *foc2L;
WMButton *focB;
WMFrame *unfF;
WMColorWell *unfC;
WMLabel *unfL;
WMTextField *unfT;
WMLabel *unf2L;
WMButton *unfB;
WMFrame *ownF;
WMColorWell *ownC;
WMLabel *ownL;
@@ -61,7 +63,7 @@ typedef struct _Panel {
WMFrame *backF;
WMTextField *backT;
WMButton *backB;
WMFrame *textF;
WMColorWell *textC;
@@ -80,7 +82,7 @@ typedef struct _Panel {
WMLabel *seltL;
WMColorWell *selbC;
WMLabel *selbL;
/* workspace/clip */
WMFrame *workF;
WMTextField *workT;
@@ -97,7 +99,7 @@ typedef struct _Panel {
WMTextField *iconT;
WMButton *iconB;
Pixmap preview;
Pixmap ftitle;
Pixmap utitle;
Pixmap otitle;
@@ -123,10 +125,53 @@ typedef struct _Panel {
#define EVERYTHING 0xff
static Pixmap
renderTexture(_Panel *panel, char *texture, int width, int height,
Bool bordered)
{
return None;
}
static void
updatePreviewBox(_Panel *panel, int elements)
{
WMScreen *scr = WMWidgetScreen(panel->win);
Display *dpy = WMScreenDisplay(scr);
/* RContext *rc = WMScreenRContext(scr);*/
int refresh = 0;
char *tmp;
if (!panel->preview) {
panel->preview = XCreatePixmap(dpy, WMWidgetXID(panel->win),
220-4, 185-4, WMScreenDepth(scr));
refresh = -1;
}
if (elements & FTITLE) {
if (panel->ftitle)
XFreePixmap(dpy, panel->ftitle);
tmp = WMGetTextFieldText(panel->focT);
panel->ftitle = renderTexture(panel, tmp, 180, 20, True);
free(tmp);
}
/* have to repaint everything to make things simple, eliminating
* clipping stuff */
if (refresh) {
}
if (refresh<0) {
WMPixmap *pix;
pix = WMCreatePixmapFromXPixmaps(scr, panel->preview, None,
220-4, 185-4, WMScreenDepth(scr));
WMSetLabelImage(panel->prevL, pix);
WMReleasePixmap(pix);
}
}

1027
WPrefs.app/TexturePanel.c Normal file

File diff suppressed because it is too large Load Diff

55
WPrefs.app/TexturePanel.h Normal file
View File

@@ -0,0 +1,55 @@
/* TexturePanel.h- texture editting panel
*
* WPrefs - WindowMaker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef TEXTUREPANEL_H_
#define TEXTUREPANEL_H_
typedef struct _TexturePanel TexturePanel;
TexturePanel *CreateTexturePanel(WMScreen *scr);
void DestroyTexturePanel(TexturePanel *panel);
void ShowTexturePanel(TexturePanel *panel);
void HideTexturePanel(TexturePanel *panel);
void SetTexturePanelTexture(TexturePanel *panel, char *texture);
char *GetTexturePanelTextureString(TexturePanel *panel);
RImage *RenderTexturePanelTexture(TexturePanel *panel, unsigned width,
unsigned height);
void SetTexturePanelOkAction(TexturePanel *panel, WMAction *action,
void *clientData);
void SetTexturePanelCancelAction(TexturePanel *panel, WMAction *action,
void *clientData);
#endif

View File

@@ -0,0 +1,601 @@
/* XPM */
static char * scaled_xpm[] = {
"32 32 174 2",
" c #000000000000",
". c #C71BBAEA8617",
"X c #CF3CBEFB8E38",
"o c #CF3CC30B8E38",
"O c #D75CC30B9658",
"+ c #D75CC71B9658",
"@ c #CF3CBEFB9658",
"# c #D75CC71B9E79",
"$ c #B6DAAEBA8617",
"% c #A6999E7971C6",
"& c #8E388A286185",
"* c #C71BC30B9E79",
"= c #618561854103",
"- c #5965596538E3",
"; c #71C675D65144",
": c #861782076185",
"> c #9E79A2898617",
", c #69A66DB65144",
"< c #59655D754103",
"1 c #5144555530C2",
"2 c #4924451428A2",
"3 c #410341032081",
"4 c #5144514430C2",
"5 c #6185618538E3",
"6 c #4924492428A2",
"7 c #C71BBEFB8E38",
"8 c #CF3CBAEA8E38",
"9 c #BEFBB2CA8E38",
"0 c #B6DAAAAA8617",
"q c #9E79965869A6",
"w c #9658924869A6",
"e c #8E388A2869A6",
"r c #86178A2869A6",
"t c #A699A2898617",
"y c #5144596538E3",
"u c #30C234D31861",
"i c #38E33CF31861",
"p c #79E775D65144",
"a c #69A669A64924",
"s c #CF3CC71BA699",
"d c #71C671C64924",
"f c #BEFBB6DA8E38",
"g c #C71BBAEA8E38",
"h c #CF3CC30B9E79",
"j c #A699A28979E7",
"k c #69A665954103",
"l c #596561854103",
"z c #9658965871C6",
"x c #BEFBBAEA9E79",
"c c #38E338E31861",
"v c #9E79965879E7",
"b c #71C671C65144",
"n c #BEFBB6DA9E79",
"m c #9E79965871C6",
"M c #5965555530C2",
"N c #CF3CC30BA699",
"B c #DF7DCB2B9E79",
"V c #AEBAAAAA8E38",
"C c #28A22CB21040",
"Z c #DF7DD75CBEFB",
"A c #96588E3871C6",
"S c #9E799A6979E7",
"D c #69A6618538E3",
"F c #BEFBBAEA9658",
"G c #D75CCB2BA699",
"H c #96588A285965",
"J c #C71BB6DA8617",
"K c #BEFBAEBA8617",
"L c #5965596530C2",
"P c #618565954924",
"I c #A699A6998E38",
"U c #30C230C21040",
"Y c #49244D3430C2",
"T c #EFBEEBADC71B",
"R c #B6DAB2CA8E38",
"E c #DF7DDB6CB6DA",
"W c #BEFBB2CA79E7",
"Q c #BEFBAAAA71C6",
"! c #861775D64924",
"~ c #C71BB2CA8617",
"^ c #CF3CC71B9E79",
"/ c #A6999A6971C6",
"( c #B6DAB2CA9658",
") c #5965555538E3",
"_ c #DF7DD34CAEBA",
"` c #6185596538E3",
"' c #8E3882075965",
"] c #B6DAA69971C6",
"[ c #59654D341861",
"{ c #9658924871C6",
"} c #38E334D31861",
"| c #79E779E75965",
" . c #79E775D65965",
".. c #8E3879E74924",
"X. c #C71BBAEA9658",
"o. c #86177DF76185",
"O. c #B6DAAEBA9658",
"+. c #71C669A64103",
"@. c #C71BBEFB9E79",
"#. c #AEBAA6998617",
"$. c #96588E3869A6",
"%. c #A6999E798617",
"&. c #BEFBB2CA9658",
"*. c #DF7DCF3CA699",
"=. c #BEFBB6DA9658",
"-. c #861782075965",
";. c #A6999E7979E7",
":. c #30C22CB21040",
">. c #C71BC30BA699",
",. c #8E38861769A6",
"<. c #9E799A6971C6",
"1. c #79E779E75144",
"2. c #8E3886176185",
"3. c #BEFBBEFBA699",
"4. c #9658965879E7",
"5. c #4103492428A2",
"6. c #79E76DB64103",
"7. c #AEBAAAAA79E7",
"8. c #38E33CF32081",
"9. c #4924514430C2",
"0. c #38E3410328A2",
"q. c #B6DAAAAA79E7",
"w. c #69A669A64103",
"e. c #69A675D65965",
"r. c #618569A64924",
"t. c #BEFBB2CA8617",
"y. c #BEFBBAEA8E38",
"u. c #CF3CC30B9658",
"i. c #AEBAAAAA8617",
"p. c #71C679E75965",
"a. c #69A675D65144",
"s. c #8E38924871C6",
"d. c #71C675D65965",
"f. c #96589A6979E7",
"g. c #410341031861",
"h. c #8E3882075144",
"j. c #C71BBEFB9658",
"k. c #492445142081",
"l. c #BEFBAAAA79E7",
"z. c #AEBAA28979E7",
"x. c #8617861769A6",
"c. c #5144555538E3",
"v. c #AEBAA28971C6",
"b. c #9E7992486185",
"n. c #D75CCB2B9E79",
"m. c #AEBAA69979E7",
"M. c #86177DF75965",
"N. c #61855D7538E3",
"B. c #618561854924",
"V. c #208118610000",
"C. c #41033CF31040",
"Z. c #514459654103",
"A. c #4924555538E3",
"S. c #186120810000",
"D. c #38E330C20820",
"F. c #96588E386185",
"G. c #186114510000",
"H. c #4103492430C2",
"J. c #28A224920000",
"K. c #38E338E31040",
"L. c #38E334D31040",
"P. c #618569A65144",
"I. c #61855D754103",
"U. c #492441032081",
"Y. c #D75CCF3CAEBA",
"T. c #30C22CB20820",
"R. c #492441031861",
"E. c #B6DAA69979E7",
"W. c #79E77DF76185",
"Q. c #71C66DB64924",
"!. c #861775D65144",
"~. c #51444D342081",
"^. c #D75CCF3CA699",
"/. c #8E388E3871C6",
" ",
" ",
" . X o o X X O + @ # @ $ % & * = - ; : > , < 1 2 3 4 5 6 ",
" . 7 X o o X 8 O X @ @ 9 0 q w & e = r t y u i p a & s d ",
" . . . . . . + + f g # h j k 6 l : z x 1 c v b n m M N j ",
" . . X o O O 8 B @ g @ h 0 p 4 ; : > V C 6 Z A S s D F G ",
" . o o O O O H J O f K f F % L P ; I e U Y Y T , , R 0 E ",
" 7 7 X J W Q ! ~ B # @ ^ h / p = ; ( < U ) _ n ` s h ' h ",
" . . X O . ] [ H @ g @ f h 0 m a e { } | ) .N . .E M % ",
" o . W . X o ] ..@ g ^ X.F h ( L - : 1 n o.} O.o.o.O.w +. ",
" . . . X o o B / O @ f h h @.#.5 b $.4 t %.u o.Z k &.v 6 ",
" W . o o X . o O X *.f @ s =.=.-.p & = ;.O.U :.>., ,.V = ",
" . 7 . J . O O O ~ f # 9 F h h <.p 1.2.m t U 2 3.4.L 5.c ",
" 7 . . X X o + W @ 6.@ X.9 h $ 7.w p $.p & 3 y 5.8.9.0.9. ",
" . . X o o J X ~ + ! q.h =.9 X.q.q w.w p & u 5.1 5.l e.r. ",
" g 7 ~ ~ X X X + J # t.f g y.u.$ i.k p P e i , - p.r a.s. ",
" q.t.K + Q X ~ . X X g 8 f g u.* $ d 3 ; d.C 0.r.f.r , : ",
" p R g g ~ 8 X o o ] + X . g =.9 &.& P P , Y C p.e s.& & ",
" g.h.# g f X X ] + *.X ] o $ y.$ j.j 2.6 < d.8.p.P P : & ",
" k.k.h @ K @ *.g q.l.t.# 9 u.X i.j.z.{ c Y x.c.< c.9.m F ",
" 2.6 % @.g K q.q.v.b.b.$ n.v.y.t.j.m.S g.3 , , l 9.c.{ : ",
" #.M.p h G q.j.b.q.h.$ R R n.f t.@ 0 i.N.2 1 c.B.8.< r 9. ",
" d.S k @.i.m./ 9 V.C.7.p q y.~ t.y.y.R -.- Y Z.P 8.5.A.S. ",
" u e a ( k / p D.m.F.G.9 d j g t.K y.R { a 1 < Z.< H.9.0. ",
" C ,.2 d -.$.C.M T @.C.1.F.w t.X K v.0 $. .U 9.Z.8.H.< u ",
" 3 ; m { J.K.@.% 4 9 * K.L.j g 7 X 0 z.V n 1 8.P.A.r.9.5. ",
" I.| & :.U.C.@.E k.M.Y.1.U.k.H t.@ i.<.{ t P H.< 9., < l ",
" P b 3 K.@.=.k.M.G % d Y.#.T.R.E.j.R @.,.e I W.9.8.8.9.1 ",
" - O.u Q.h =.!.k._ G ` h =.K.~.j 0 0 N { { I < 0.c.= l 1 ",
" b U #._ M !.^.0 M / s k D.F.h./ w 2.m /.v , r.A.3 6 u L ",
" ",
" "};
/* XPM */
static char * tiled_xpm[] = {
"32 32 109 2",
" c #000000000000",
". c #C71BBAEA8617",
"X c #CF3CBEFB8E38",
"o c #CF3CBEFB9658",
"O c #BEFBAEBA8E38",
"+ c #71C675D65144",
"@ c #79E77DF75965",
"# c #8E388E3871C6",
"$ c #618561854103",
"% c #61855D754103",
"& c #8E388A2869A6",
"* c #9E799A6971C6",
"= c #A6999E7971C6",
"- c #D75CC30B9658",
"; c #BEFBB2CA79E7",
": c #C71BB6DA8E38",
"> c #BEFBB6DA8E38",
", c #71C66DB64924",
"< c #9E799E798617",
"1 c #41033CF32081",
"2 c #BEFBBAEA9E79",
"3 c #A699A2898617",
"4 c #9E79965871C6",
"5 c #A6999A6971C6",
"6 c #965882075144",
"7 c #BEFBB2CA8617",
"8 c #C71BBEFB9658",
"9 c #71C671C65144",
"0 c #71C675D65965",
"q c #51444D3430C2",
"w c #AEBAA6998E38",
"e c #96588A2869A6",
"r c #9E79924871C6",
"t c #AEBAA28979E7",
"y c #C71BBEFB8E38",
"u c #B6DAA69971C6",
"i c #BEFBB6DA9658",
"p c #69A66DB64924",
"a c #9E799E7979E7",
"s c #96588E3871C6",
"d c #96588E3869A6",
"f c #861782075965",
"g c #79E779E75144",
"h c #38E334D31861",
"j c #410345142081",
"k c #BEFBB6DA8617",
"l c #9E7992486185",
"z c #C71BB6DA9658",
"x c #C71BBAEA8E38",
"c c #86177DF75965",
"v c #4103451428A2",
"b c #4103492428A2",
"n c #5144596538E3",
"m c #51445D754103",
"M c #C71BB6DA8617",
"N c #CF3CBAEA8E38",
"B c #B6DAB2CA8E38",
"V c #69A661854103",
"C c #861786176185",
"Z c #B6DAAAAA8617",
"A c #8E3886176185",
"S c #59655D754103",
"D c #49244D3430C2",
"F c #5965555530C2",
"G c #861779E75144",
"H c #B6DAAAAA79E7",
"J c #AEBAA28971C6",
"K c #A6999E7979E7",
"L c #410341032081",
"P c #69A66DB65144",
"I c #96589A6971C6",
"U c #8E3882075965",
"Y c #8E3886175965",
"T c #5144514438E3",
"R c #4924555538E3",
"E c #596561854103",
"W c #79E775D65144",
"Q c #69A665954103",
"! c #8E388A286185",
"~ c #AEBAA69979E7",
"^ c #B6DAAEBA8617",
"/ c #4924514430C2",
"( c #4103410328A2",
") c #861782076185",
"_ c #4924492428A2",
"` c #B6DAAEBA8E38",
"' c #96588A285965",
"] c #A699A6998617",
"[ c #514459654103",
"{ c #4924492430C2",
"} c #96588A286185",
"| c #BEFBBAEA9658",
" . c #41033CF31040",
".. c #8E388E3869A6",
"X. c #86178A2869A6",
"o. c #5144555538E3",
"O. c #69A669A64924",
"+. c #A699965871C6",
"@. c #A699965869A6",
"#. c #71C669A64924",
"$. c #96588E386185",
"%. c #9658924871C6",
"&. c #618569A64924",
"*. c #86177DF75144",
"=. c #5965596530C2",
"-. c #96589A6979E7",
";. c #49244D3428A2",
":. c #59655D7538E3",
">. c #71C671C64924",
" ",
" ",
" . X X o o O + @ # $ % & * = . . X X o o O + @ # $ % & * ",
" X - ; o : > , + < 1 2 3 4 5 . X - ; o : > , + < 1 2 3 4 ",
" . . 6 7 o 8 4 9 0 q w e r t y . . 6 7 o 8 4 9 0 q w e r ",
" . X X u o 8 i $ p a % s 3 d y . X X u o 8 i $ p a % s 3 ",
" X . X X o 8 8 f g 3 h 3 + j k X . X X o 8 8 f g 3 h 3 + ",
" . X X : l z x = c c v b n m . . X X : l z x = c c v b n ",
" 7 M N N X : 8 B V + v + @ C l 7 M N N X : 8 B V + v + @ ",
" Z : X N X . > > A S D 0 @ * F Z : X N X . > > A S D 0 @ ",
" G x : H J 8 > > K L P n + I f G x : H J 8 > > K L P n + ",
" c 8 Z U Y = 8 : O % T R E E + c 8 Z U Y = 8 : O % T R E ",
" 9 f W Y Q ! ~ 7 ^ c D R / n ( 9 f W Y Q ! ~ 7 ^ c D R / ",
" ) _ G U ` _ ' x ~ ] D [ E E { ) _ G U ` _ ' x ~ ] D [ E ",
" Q A } 4 d | .Z i ..X.b o.p { Q A } 4 d | .Z i ..X.b o. ",
" O.3 +.@.} #.f $.A %.&.( j $ O.O.3 +.@.} #.f $.A %.&.( j ",
" X X X X o 5 *.=.O.-.$ ;.:.>.. X X X X o 5 *.=.O.-.$ ;.:. ",
" . X X o o O + @ # $ % & * = . . X X o o O + @ # $ % & * ",
" X - ; o : > , + < 1 2 3 4 5 . X - ; o : > , + < 1 2 3 4 ",
" . . 6 7 o 8 4 9 0 q w e r t y . . 6 7 o 8 4 9 0 q w e r ",
" . X X u o 8 i $ p a % s 3 d y . X X u o 8 i $ p a % s 3 ",
" X . X X o 8 8 f g 3 h 3 + j k X . X X o 8 8 f g 3 h 3 + ",
" . X X : l z > 5 f c v b n m . . X X : l z > 5 f c v b n ",
" 7 M N N X : 8 B V + v + @ C l 7 M N N X : 8 B V + v + @ ",
" Z : X N X M > > A S D 0 @ * F Z : X N X M > > A S D 0 @ ",
" G x : H J 8 > > K L P n + -.f G x : H J 8 > > K L P n + ",
" c 8 Z U Y = x : O % T R S E + c 8 Z U Y = x : O % T R S ",
" 9 f W Y Q ! ~ 7 ^ c D R / n ( 9 f W Y Q ! ~ 7 ^ c D R / ",
" ) _ G U ` _ ' x ~ ] D [ E E { ) _ G U ` _ ' x ~ ] D [ E ",
" Q A } 4 d | .Z i ..X.b o.p D Q A } 4 d | .Z i ..X.b o. ",
" ",
" "};
/* XPM */
static char * pixmap_xpm[] = {
"32 32 79 1",
" c #000000000000",
". c #E79DCF3C8E38",
"X c #E79DBEFB9E79",
"o c #DF7DAEBAA699",
"O c #D75CA289A699",
"+ c #CF3C9A699E79",
"@ c #BEFB86179658",
"# c #E79DBAEAA699",
"$ c #D75C9248C71B",
"% c #CF3C8207C71B",
"& c #C71B75D6BEFB",
"* c #AEBA5965AEBA",
"= c #9E7941039658",
"- c #B6DA6DB69658",
"; c #D75C8617CF3C",
": c #C71B79E7C71B",
"> c #BEFB6DB6B6DA",
", c #A69949249E79",
"< c #96583CF39658",
"1 c #A6994D349E79",
"2 c #CF3C96589E79",
"3 c #BEFBCB2B8E38",
"4 c #B6DACB2B8E38",
"5 c #D75C9E79AEBA",
"6 c #B6DA6595B6DA",
"7 c #A6995144A699",
"8 c #B6DA6185AEBA",
"9 c #DF7DBEFB9658",
"0 c #C71BCB2B8E38",
"q c #69A6C30B8617",
"w c #9658C71B8617",
"e c #CF3C8E38AEBA",
"r c #9E7945149658",
"t c #CF3C8617B6DA",
"y c #DF7DCF3C8E38",
"u c #AEBA5555A699",
"i c #DF7DB2CAA699",
"p c #8617C71B8617",
"a c #B6DAB6DA8E38",
"s c #9E7949249E79",
"d c #BEFB69A6B6DA",
"f c #DF7D9E79B6DA",
"g c #A699C71B8617",
"h c #9E79B2CA8E38",
"j c #C71B8A28A699",
"k c #CF3C8A28B6DA",
"l c #DF7DAAAAAEBA",
"z c #71C6C30B8617",
"x c #79E7C30B8617",
"c c #DF7DCB2B8E38",
"v c #AEBAC71B8E38",
"b c #CF3CCB2B8E38",
"n c #9E79C71B8617",
"m c #8E38C71B8617",
"M c #D75CCB2B8E38",
"N c #DF7DBAEA8E38",
"B c #AEBA5D759E79",
"V c #C71B8E389E79",
"C c #E79DCB2B9658",
"Z c #E79DC71B9658",
"A c #A69951449E79",
"S c #BEFB75D6A699",
"D c #D75CA699AEBA",
"F c #AEBA5D75AEBA",
"G c #C71B75D6B6DA",
"H c #DF7DBAEA9E79",
"J c #D75C9A69B6DA",
"K c #96583CF38E38",
"L c #CF3C8207BEFB",
"P c #D75C9A69BEFB",
"I c #C71B71C6BEFB",
"U c #DF7DA289BEFB",
"Y c #B6DA5D75AEBA",
"T c #965838E38E38",
"R c #CF3C8617C71B",
"E c #E79DCF3C9658",
"W c #DF7DB6DAAEBA",
"Q c #CF3C7DF7C71B",
"! c #DF7DCF3C9658",
" ",
" ",
" ............................ ",
" ............................ ",
" ............................ ",
" .............XoO+@.......... ",
" ...........#$%&*=-.......... ",
" ..........X;:>,<12.......... ",
" ....34....5&6=<789.......... ",
" ....0qw...e8r=78t........... ",
" ....yqq4..2,=u6:i........... ",
" .....pqp..asud:f............ ",
" .....4qq.gqhjkl............4 ",
" ......pqgzxqxc.............x ",
" .......vq3wqqw............bq ",
" .......wn.3qqqc...........4q ",
" ......cqb..4zq4...........nm ",
" ......4z....Mgg...........y. ",
" ......gp.................... ",
" ......wp.................... ",
" ......mm.................... ",
" ......b..................... ",
" ...........N................ ",
" ...........BVC.............. ",
" ..........ZA,S9............. ",
" ..........DF=uGH............ ",
" ..........J>K16LZ........... ",
" ..........P&,=*If........... ",
" ..........U:YT76RE.......... ",
" ..........WQdsrFt!0430...... ",
" ",
" "};
/* XPM */
static char * gradient_xpm[] = {
"32 32 57 1",
" c #000000000000",
". c #E79DEBADE79D",
"X c #E79DE79DE79D",
"o c #DF7DE38DDF7D",
"O c #DF7DDF7DDF7D",
"+ c #D75CDB6CD75C",
"@ c #D75CD75CD75C",
"# c #CF3CCF3CCF3C",
"$ c #CF3CCB2BCF3C",
"% c #C71BC71BC71B",
"& c #C71BC30BC71B",
"* c #BEFBBEFBBEFB",
"= c #B6DAB6DAB6DA",
"- c #B6DAB2CAB6DA",
"; c #AEBAAEBAAEBA",
": c #AEBAAAAAAEBA",
"> c #A699A699A699",
", c #A699A289A699",
"< c #9E799E799E79",
"1 c #9E799A699E79",
"2 c #965896589658",
"3 c #965892489658",
"4 c #8E388E388E38",
"5 c #8E388A288E38",
"6 c #861786178617",
"7 c #79E77DF779E7",
"8 c #71C675D671C6",
"9 c #861782078617",
"0 c #79E779E779E7",
"q c #71C671C671C6",
"w c #69A669A669A6",
"e c #BEFBBAEABEFB",
"r c #69A66DB669A6",
"t c #618565956185",
"y c #618561856185",
"u c #59655D755965",
"i c #596559655965",
"p c #514455555144",
"a c #514451445144",
"s c #49244D344924",
"d c #492449244924",
"f c #492445144924",
"g c #410341034103",
"h c #41033CF34103",
"j c #38E338E338E3",
"k c #38E334D338E3",
"l c #30C230C230C2",
"z c #30C22CB230C2",
"x c #28A228A228A2",
"c c #28A2249228A2",
"v c #208120812081",
"b c #20811C712081",
"n c #186118611861",
"m c #104014511040",
"M c #104010401040",
"N c #08200C300820",
"B c #082008200820",
" ",
" ",
" .XoO+@#$%&**=-;:>,<123456778 ",
" XoO+@#$%&**=-;:>,<1235567788 ",
" oO+@#$%&**==;:>,<123456900qq ",
" O+@#$%&**=-;:>,<123456970qqw ",
" +@#$%&&ee--:>,<1234569788rrt ",
" @#$%&&e=-;:>,<1234569708rrty ",
" #$%&&e==;;>,<123456970qqwwyu ",
" $%&&ee-;:>,<1234569708qwwyui ",
" %&&ee-;;>,<1234569708rrttuip ",
" &&ee=-:>><1234569708qrttuipa ",
" &ee=;:>><1234569708qwwyyipas ",
" ee--::,<1234569708qrwyyipasd ",
" e=-:>,<1234569708qrwyyiiasdf ",
" =;;>><<234569708qrwyyipasdfg ",
" -;>,<1234569708qrwtuuppsdfgh ",
" ::,,1134559708qrwtuipasdfghj ",
" :><1234569708qrwtyiiaadfghjk ",
" ><<224566708qrwtyipasdfghjkl ",
" ,1234559708qrwtyuppssfghjklz ",
" 1224469708qrwtyupasdfghjklzx ",
" 224569908qrwtyupaaddghjklzxc ",
" 34466708qrwtyiipsdfghjklzxcv ",
" 3559700qrwtyuipsddghjklzxcvb ",
" 559778qrwtyuppssfggjklzxcvbn ",
" 59708qrwtyuipadfggjklzxcvbnm ",
" 9900qqwtyuppssffhjklzxcvbnmM ",
" 908qrwtyuipasfghjklzxcvbnmMN ",
" 00qqwtyuiaaddggjjlzxcvbnmMNB ",
" ",
" "};
/* XPM */
static char * solid_xpm[] = {
"32 32 2 1",
" c #000000000000",
". c #38E369A69658",
" ",
" ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ............................ ",
" ",
" "};

View File

@@ -1,6 +1,6 @@
/* WPrefs.c- main window and other basic stuff
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -193,7 +193,7 @@ createMainWindow(WMScreen *scr)
WPrefs.win = WMCreateWindow(scr, "wprefs");
WMResizeWidget(WPrefs.win, 520, 390);
WMSetWindowTitle(WPrefs.win, _("WindowMaker Preferences"));
WMSetWindowTitle(WPrefs.win, _("Window Maker Preferences"));
WMSetWindowCloseAction(WPrefs.win, quit, NULL);
WMSetWindowMaxSize(WPrefs.win, 520, 390);
WMSetWindowMinSize(WPrefs.win, 520, 390);
@@ -252,14 +252,14 @@ createMainWindow(WMScreen *scr)
WMResizeWidget(WPrefs.nameL, FRAME_WIDTH-20, 30);
WMMoveWidget(WPrefs.nameL, 10, 25);
WMSetLabelFont(WPrefs.nameL, font);
WMSetLabelText(WPrefs.nameL, "WindowMaker Preferences Utility");
WMSetLabelText(WPrefs.nameL, "Window Maker Preferences Utility");
WMReleaseFont(font);
WPrefs.versionL = WMCreateLabel(WPrefs.banner);
WMResizeWidget(WPrefs.versionL, FRAME_WIDTH-20, 20);
WMMoveWidget(WPrefs.versionL, 10, 65);
WMSetLabelTextAlignment(WPrefs.versionL, WACenter);
sprintf(buffer, _("Version %s for WindowMaker %s"), WVERSION, WMVERSION);
sprintf(buffer, _("Version %s for Window Maker %s"), WVERSION, WMVERSION);
WMSetLabelText(WPrefs.versionL, buffer);
WPrefs.statusL = WMCreateLabel(WPrefs.banner);
@@ -269,11 +269,12 @@ createMainWindow(WMScreen *scr)
WMSetLabelText(WPrefs.statusL, _("Starting..."));
WPrefs.creditsL = WMCreateLabel(WPrefs.banner);
WMResizeWidget(WPrefs.creditsL, FRAME_WIDTH-20, 40);
WMMoveWidget(WPrefs.creditsL, 10, FRAME_HEIGHT-40);
WMResizeWidget(WPrefs.creditsL, FRAME_WIDTH-20, 60);
WMMoveWidget(WPrefs.creditsL, 10, FRAME_HEIGHT-60);
WMSetLabelTextAlignment(WPrefs.creditsL, WACenter);
WMSetLabelText(WPrefs.creditsL, _("Programming/Design: Alfredo K. Kojima\n"
"Artwork: Marco van Hylckama Vlieg"));
"Artwork: Marco van Hylckama Vlieg\n"
"More Programming: James Thompson"));
WMMapSubwidgets(WPrefs.win);
@@ -465,7 +466,8 @@ Initialize(WMScreen *scr)
tmp = RLoadImage(WMScreenRContext(scr), path, 0);
if (!tmp) {
wwarning("could not load image file %s:%s", path, RErrorString);
wwarning("could not load image file %s:%s", path,
RMessageForError(RErrorCode));
} else {
icon = WMCreatePixmapFromRImage(scr, tmp, 0);
RDestroyImage(tmp);
@@ -483,7 +485,7 @@ Initialize(WMScreen *scr)
WMRealizeWidget(WPrefs.win);
WMMapWidget(WPrefs.win);
XFlush(WMScreenDisplay(scr));
WMSetLabelText(WPrefs.statusL, _("Loading WindowMaker configuration files..."));
WMSetLabelText(WPrefs.statusL, _("Loading Window Maker configuration files..."));
XFlush(WMScreenDisplay(scr));
loadConfigurations(scr, WPrefs.win);
@@ -540,11 +542,11 @@ loadConfigurations(WMScreen *scr, WMWindow *mainw)
if (!PLIsDictionary(db)) {
PLRelease(db);
db = NULL;
sprintf(mbuf, _("WindowMaker domain (%s) is corrupted!"), path);
sprintf(mbuf, _("Window Maker domain (%s) is corrupted!"), path);
WMRunAlertPanel(scr, mainw, _("Error"), mbuf, _("OK"), NULL, NULL);
}
} else {
sprintf(mbuf, _("Could not load WindowMaker domain (%s) from defaults database."),
sprintf(mbuf, _("Could not load Window Maker domain (%s) from defaults database."),
path);
WMRunAlertPanel(scr, mainw, _("Error"), mbuf, _("OK"), NULL, NULL);
}
@@ -552,32 +554,33 @@ loadConfigurations(WMScreen *scr, WMWindow *mainw)
file = popen("wmaker -version", "r");
if (!file || !fgets(buffer, 1023, file)) {
wsyserror(_("could not extract version information from WindowMaker"));
wfatal(_("Make sure WindowMaker is in your search path."));
wsyserror(_("could not extract version information from Window Maker"));
wfatal(_("Make sure Window Maker is in your search path."));
WMRunAlertPanel(scr, mainw, _("Error"),
_("Could not extract version from WindowMaker. Make sure it is correctly installed."),
_("Could not extract version from Window Maker. Make sure it is correctly installed."),
_("OK"), NULL, NULL);
exit(1);
}
if (file)
pclose(file);
if (sscanf(buffer, "WindowMaker %i.%i.%i",&v1,&v2,&v3)!=3) {
if (sscanf(buffer, "Window Maker %i.%i.%i",&v1,&v2,&v3)!=3
&& sscanf(buffer, "WindowMaker %i.%i.%i",&v1,&v2,&v3)!=3) {
WMRunAlertPanel(scr, mainw, _("Error"),
_("Could not extract version from WindowMaker. Make sure it is correctly installed."),
_("Could not extract version from Window Maker. Make sure it is correctly installed."),
_("OK"), NULL, NULL);
exit(1);
}
if (v1 == 0 && (v2 < 18 || v3 < 0)) {
sprintf(mbuf, _("WPrefs only supports WindowMaker 0.18.0 or newer.\n"
sprintf(mbuf, _("WPrefs only supports Window Maker 0.18.0 or newer.\n"
"The version installed is %i.%i.%i\n"), v1, v2, v3);
WMRunAlertPanel(scr, mainw, _("Error"), mbuf, _("OK"), NULL, NULL);
exit(1);
}
if (v1 > 1 || (v1 == 1 && (v2 > 0))) {
sprintf(mbuf, _("WindowMaker %i.%i.%i, which is installed in your system, is not fully supported by this version of WPrefs."),
sprintf(mbuf, _("Window Maker %i.%i.%i, which is installed in your system, is not fully supported by this version of WPrefs."),
v1, v2, v3);
WMRunAlertPanel(scr, mainw, _("Warning"), mbuf, _("OK"), NULL, NULL);
}
@@ -595,11 +598,11 @@ loadConfigurations(WMScreen *scr, WMWindow *mainw)
if (!PLIsDictionary(gdb)) {
PLRelease(gdb);
gdb = NULL;
sprintf(mbuf, _("WindowMaker domain (%s) is corrupted!"), buffer);
sprintf(mbuf, _("Window Maker domain (%s) is corrupted!"), buffer);
WMRunAlertPanel(scr, mainw, _("Error"), mbuf, _("OK"), NULL, NULL);
}
} else {
sprintf(mbuf, _("Could not load global WindowMaker domain (%s)."),
sprintf(mbuf, _("Could not load global Window Maker domain (%s)."),
buffer);
WMRunAlertPanel(scr, mainw, _("Error"), mbuf, _("OK"), NULL, NULL);
}

View File

@@ -1,6 +1,6 @@
/* WPrefs.h- general definitions
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -194,7 +194,7 @@ static char * image_name[] = {
". . . . . . ",
". . . . . . ",
". . . . . . ",
". . X o X O + @ # # # # # # $ % X X . . ",
". . o X O + @ # # # # # # $ % X . . ",
". . & * $ = - . X X X X X X X X . ; ; o . . ",
". . : > - , X X . X X X X X X X X . X o O , X . . ",
". . < 1 , X X X X . X X X X X X X X . X X X o X 2 . . ",

View File

@@ -1,6 +1,6 @@
/* WindowHandling.c- options for handling windows
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -44,7 +44,6 @@ typedef struct _Panel {
WMFrame *maxiF;
WMButton *miconB;
WMButton *mdockB;
WMFrame *opaqF;
WMButton *opaqB;
@@ -99,11 +98,11 @@ getPlacement(char *str)
if (strcasecmp(str, "auto")==0 || strcasecmp(str, "smart")==0)
return 0;
else if (strcasecmp(str, "random")==0)
return 3;
return 1;
else if (strcasecmp(str, "manual")==0)
return 2;
else if (strcasecmp(str, "cascade")==0)
return 1;
return 3;
else
wwarning(_("bad option value %s in WindowPlacement. Using default value"),
str);
@@ -145,8 +144,6 @@ showData(_Panel *panel)
WMSetButtonSelected(panel->opaqB, GetBoolForKey("OpaqueMove"));
WMSetButtonSelected(panel->miconB, GetBoolForKey("NoWindowOverIcons"));
WMSetButtonSelected(panel->mdockB, GetBoolForKey("NoWindowUnderDock"));
}
@@ -157,7 +154,6 @@ storeData(_Panel *panel)
char x[16], y[16];
SetBoolForKey(WMGetButtonSelected(panel->miconB), "NoWindowOverIcons");
SetBoolForKey(WMGetButtonSelected(panel->mdockB), "NoWindowUnderDock");
SetBoolForKey(WMGetButtonSelected(panel->opaqB), "OpaqueMove");
SetBoolForKey(WMGetButtonSelected(panel->tranB), "OnTopTransients");
SetStringForKey(placements[WMGetPopUpButtonSelectedItem(panel->placP)],
@@ -296,15 +292,10 @@ createPanel(Panel *p)
WMSetFrameTitle(panel->maxiF, _("When maximizing..."));
panel->miconB = WMCreateSwitchButton(panel->maxiF);
WMResizeWidget(panel->miconB, 185, 20);
WMResizeWidget(panel->miconB, 185, 35);
WMMoveWidget(panel->miconB, 10, 20);
WMSetButtonText(panel->miconB, _("...do not resize over icons"));
panel->mdockB = WMCreateSwitchButton(panel->maxiF);
WMResizeWidget(panel->mdockB, 185, 20);
WMMoveWidget(panel->mdockB, 10, 40);
WMSetButtonText(panel->mdockB, _("...do not resize over dock"));
WMMapSubwidgets(panel->maxiF);
/**************** Transients On Top ****************/

View File

@@ -1,6 +1,6 @@
/* Workspace.c- workspace options
*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*
@@ -64,6 +64,7 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
WMPixmap **icon1, WMPixmap **icon2)
{
RImage *icon;
RColor gray = {0xae,0xaa,0xae};
*icon1 = WMCreatePixmapFromFile(scr, file);
if (!*icon1) {
@@ -77,10 +78,11 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
*icon2 = NULL;
return;
}
RCombineImageWithColor(icon, &gray);
if (xis) {
RCombineImages(icon, xis);
RCombineImagesWithOpaqueness(icon, xis, 180);
if (!(*icon2 = WMCreatePixmapFromRImage(scr, icon, 127))) {
wwarning(_("could not process icon %s:"), file, RErrorString);
wwarning(_("could not process icon %s:"), file, RMessageForError(RErrorCode));
*icon2 = NULL;
}
}

View File

@@ -1,5 +1,5 @@
/*
* WPrefs - WindowMaker Preferences Program
* WPrefs - Window Maker Preferences Program
*
* Copyright (c) 1998 Alfredo K. Kojima
*

View File

@@ -4,7 +4,7 @@ CATALOGS = @WPMOFILES@
CLEANFILES = $(CATALOGS)
EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po
EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po ja.po
POTFILES = \
$(top_builddir)/WPrefs/Configurations.c \

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -97,7 +95,7 @@ CATALOGS = @WPMOFILES@
CLEANFILES = $(CATALOGS)
EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po
EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po ja.po
POTFILES = \
$(top_builddir)/WPrefs/Configurations.c \

View File

@@ -9,3 +9,4 @@ hr.po Croatian Toni Bili
fr.po French Bastien NOCERA <hadess@writeme.com>
ko.po Korean Byeong-Chan, Kim <redhands@linux.sarang.net>
cs.po Czech 3 David <20>auer <xsauer@hwlab.felk.cvut.cz>
ja.po Japanese Kazuhide Takahashi <kazu@dgra.ne.jp>

View File

@@ -681,7 +681,7 @@ msgstr "Cr
#: ../../WPrefs/MouseSettings.c:756
msgid "could not rename file %s to %s\n"
msgstr "Changement de nom de %s <20> %s impossible"
msgstr "Changement de nom de %s <20> %s impossible\n"
#: ../../WPrefs/MouseSettings.c:839
msgid "Mouse Preferences"

1169
WPrefs.app/po/ja.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -18,7 +18,7 @@ WindowMaker: $(srcdir)/WindowMaker.in ./Makefile
sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in > WindowMaker
chmod 644 WindowMaker
WMState: $(srcdir)/WMState.in ./Makefile
WMState: $(srcdir)/WMState.in $(srcdir)/Makefile
-rm -f WMState
sed -e "s:#wprefs#:$(wprefsdir)/WPrefs:" $(srcdir)/WMState.in > WMState
chmod 644 WMState

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -218,7 +216,7 @@ WindowMaker: $(srcdir)/WindowMaker.in ./Makefile
sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in > WindowMaker
chmod 644 WindowMaker
WMState: $(srcdir)/WMState.in ./Makefile
WMState: $(srcdir)/WMState.in $(srcdir)/Makefile
-rm -f WMState
sed -e "s:#wprefs#:$(wprefsdir)/WPrefs:" $(srcdir)/WMState.in > WMState
chmod 644 WMState

View File

@@ -2,8 +2,8 @@
Dock = {
Applications = (
{
Command = dockit;
Name = dockit.Dockit;
Command = "";
Name = Logo.WMDock;
AutoLaunch = No;
Forced = No;
Position = "0,0";

View File

@@ -2,8 +2,8 @@
Dock = {
Applications = (
{
Command = dockit;
Name = dockit.Dockit;
Command = "";
Name = Logo.WMDock;
AutoLaunch = No;
Forced = No;
Position = "0,0";

View File

@@ -1,4 +1,6 @@
{
EdgeResistance = 5;
IconificationStyle = Zoom;
IconPath = (
"~/GNUstep/Library/Icons",
"/usr/local/share/WindowMaker/Icons",
@@ -17,7 +19,6 @@
"/usr/local/share/pixmaps",
"/usr/share/pixmaps"
);
IconificationStyle = Zoom;
WindowTitleBalloons = YES;
IconSize = 64;
FocusMode = manual;
@@ -36,7 +37,6 @@
SaveSessionOnExit = NO;
ColormapMode = auto;
RaiseDelay = 0;
EdgeResistance = 0;
AutoFocus = YES;
WindowPlacement = auto;
WindowPlaceOrigin = (64, 64);
@@ -48,7 +48,7 @@
AdvanceToNewWorkspace = NO;
CycleWorkspaces = NO;
ResizeDisplay = line;
MoveDisplay = corner;
MoveDisplay = floating;
OpaqueMove = YES;
OnTopTransients = YES;
IconPosition = "blh";
@@ -59,7 +59,6 @@
ShadeSpeed = medium;
DoubleClickTime = 250;
AlignSubmenus = NO;
NoWindowUnderDock = YES;
NoWindowOverIcons = NO;
IgnoreFocusClick = NO;
CloseKey = None;

View File

@@ -1,4 +1,6 @@
{
EdgeResistance = 5;
IconificationStyle = Zoom;
IconPath = (
"~/GNUstep/Library/Icons",
"#pkgdatadir#/Icons",
@@ -17,7 +19,6 @@
"/usr/local/share/pixmaps",
"/usr/share/pixmaps"
);
IconificationStyle = Zoom;
WindowTitleBalloons = YES;
IconSize = 64;
FocusMode = manual;
@@ -36,7 +37,6 @@
SaveSessionOnExit = NO;
ColormapMode = auto;
RaiseDelay = 0;
EdgeResistance = 0;
AutoFocus = YES;
WindowPlacement = auto;
WindowPlaceOrigin = (64, 64);
@@ -48,7 +48,7 @@
AdvanceToNewWorkspace = NO;
CycleWorkspaces = NO;
ResizeDisplay = line;
MoveDisplay = corner;
MoveDisplay = floating;
OpaqueMove = YES;
OnTopTransients = YES;
IconPosition = "blh";
@@ -59,7 +59,6 @@
ShadeSpeed = medium;
DoubleClickTime = 250;
AlignSubmenus = NO;
NoWindowUnderDock = YES;
NoWindowOverIcons = NO;
IgnoreFocusClick = NO;
CloseKey = None;

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -1,11 +1,11 @@
SUBDIRS = Defaults Styles Themes Icons Pixmaps Backgrounds IconSets Sounds
SUBDIRS = Defaults Styles Themes Icons Pixmaps Backgrounds IconSets
prefsdatadir = $(pkgdatadir)
prefsdata_DATA = wmmacros README menu plmenu autostart.sh \
prefsdata_DATA = wmmacros README menu plmenu autostart.sh exitscript.sh \
menu.cz menu.de menu.fr menu.gl menu.ja menu.ko menu.nl menu.pt \
menu.it menu.no menu.he menu.es menu.ru menu.tr menu.el menu.se \
menu.fi menu.hr menu.dk
menu.fi menu.hr menu.dk menu.sl
EXTRA_DIST = $(prefsdata_DATA) wmmacros.in plmenu.in

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -91,14 +89,14 @@ X_LOCALE = @X_LOCALE@
pixmapdir = @pixmapdir@
wprefsdir = @wprefsdir@
SUBDIRS = Defaults Styles Themes Icons Pixmaps Backgrounds IconSets Sounds
SUBDIRS = Defaults Styles Themes Icons Pixmaps Backgrounds IconSets
prefsdatadir = $(pkgdatadir)
prefsdata_DATA = wmmacros README menu plmenu autostart.sh \
prefsdata_DATA = wmmacros README menu plmenu autostart.sh exitscript.sh \
menu.cz menu.de menu.fr menu.gl menu.ja menu.ko menu.nl menu.pt \
menu.it menu.no menu.he menu.es menu.ru menu.tr menu.el menu.se \
menu.fi menu.hr menu.dk
menu.fi menu.hr menu.dk menu.sl
EXTRA_DIST = $(prefsdata_DATA) wmmacros.in plmenu.in

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -19,6 +19,13 @@ Instructions for editing the plain text menus can be found in the menu
file itself, kindly translated to your tongue for your convenience, by
the translation contributors.
There is a script to convert plain text menus to property list menus
in the utils directory, named wm-oldmenu2new.
If you are unsure to wich format to use, stick with the plain text menus
as they are more flexible. If for some psychological reason you are
scared by text based configuration, use the property list menu.
Localized menu file translators:
--------------------------------
@@ -46,3 +53,5 @@ menu.hr Croatian Toni Bilic <tbilic@efos.hr>
menu.el Greek Nikolaos Papagrigoriou <papanikos@usa.net>
menu.dk Danish John M. Lockard <jlockard@math.lsa.umich.edu>
Jacob Sparre Andersen <sparre@cats.nbi.dk>
menu.sl Slovene Alen Salamun <snowman@hal9000.medinet.si>

View File

@@ -1,6 +0,0 @@
defsdatadir = $(pkgdatadir)/Sounds
defsdata_DATA =
EXTRA_DIST = $(defsdata_DATA)

View File

@@ -1,210 +0,0 @@
# Makefile.in generated automatically by automake 1.3 from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997, 1998 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.
SHELL = /bin/sh
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DISTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
CC = @CC@
CPP_PATH = @CPP_PATH@
DFLAGS = @DFLAGS@
GFXFLAGS = @GFXFLAGS@
GFXLIBS = @GFXLIBS@
I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
NLSDIR = @NLSDIR@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
REDUCE_APPICONS = @REDUCE_APPICONS@
SHAPE = @SHAPE@
SOUND = @SOUND@
VERSION = @VERSION@
WPMOFILES = @WPMOFILES@
XCFLAGS = @XCFLAGS@
XGETTEXT = @XGETTEXT@
XLFLAGS = @XLFLAGS@
XLIBS = @XLIBS@
XSHM = @XSHM@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LOCALE = @X_LOCALE@
pixmapdir = @pixmapdir@
wprefsdir = @wprefsdir@
defsdatadir = $(pkgdatadir)/Sounds
defsdata_DATA =
EXTRA_DIST = $(defsdata_DATA)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../src/config.h
CONFIG_CLEAN_FILES =
DATA = $(defsdata_DATA)
DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP = --best
all: Makefile $(DATA)
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps WindowMaker/Sounds/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
install-defsdataDATA: $(defsdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(defsdatadir)
@list='$(defsdata_DATA)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(defsdatadir)/$$p"; \
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(defsdatadir)/$$p; \
else if test -f $$p; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(defsdatadir)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(defsdatadir)/$$p; \
fi; fi; \
done
uninstall-defsdataDATA:
@$(NORMAL_UNINSTALL)
list='$(defsdata_DATA)'; for p in $$list; do \
rm -f $(DESTDIR)$(defsdatadir)/$$p; \
done
tags: TAGS
TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = WindowMaker/Sounds
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \
done
info:
dvi:
check: all
$(MAKE)
installcheck:
install-exec:
@$(NORMAL_INSTALL)
install-data: install-defsdataDATA
@$(NORMAL_INSTALL)
install: install-exec install-data all
@:
uninstall: uninstall-defsdataDATA
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
installdirs:
$(mkinstalldirs) $(DATADIR)$(defsdatadir)
mostlyclean-generic:
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(DISTCLEANFILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean: mostlyclean-generic
clean: clean-generic mostlyclean
distclean: distclean-generic clean
-rm -f config.status
maintainer-clean: maintainer-clean-generic distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
.PHONY: uninstall-defsdataDATA install-defsdataDATA tags distdir info \
dvi installcheck install-exec install-data install uninstall all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# 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:

View File

@@ -23,7 +23,6 @@ defsdata_DATA = \
Pink\
Pumpkin\
Purple\
Rainbow\
Red\
RednBlue\
ShinyBrown\

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@
@@ -116,7 +114,6 @@ defsdata_DATA = \
Pink\
Pumpkin\
Purple\
Rainbow\
Red\
RednBlue\
ShinyBrown\

View File

@@ -1,15 +0,0 @@
{
HighlightColor = white;
HighlightTextColor = black;
FTitleColor = black;
PTitleColor = gray60;
UTitleColor = white;
FTitleBack = (mhgradient, yellow, red, yellow, green, blue, purple);
PTitleBack = (mhgradient, yellow3, red3, yellow3, green3, blue3, purple3);
UTitleBack = (mhgradient, yellow4, red4, yellow4, green4, blue4, purple4);
MenuTitleColor = black;
MenuTextColor = white;
MenuDisabledColor = gray60;
MenuTitleBack = (mhgradient, yellow, red, yellow, green, blue, purple);
MenuTextBack = (mhgradient, yellow4, red4, yellow4, green4, blue4, purple4);
}

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

6
WindowMaker/exitscript.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Place commands to be executed when WindowMaker is exited here.
# This file must be executable.
#

View File

@@ -148,7 +148,6 @@
"Magnify" EXEC xmag
"Colormap" EXEC xcmap
"XKill" EXEC xkill
"ASClock" EXEC asclock -shape
"Clipboard" EXEC xclipboard
"Utils" END
@@ -185,8 +184,14 @@
"Wine" WS_BACK '(solid, "#400020")'
"Solid" END
"Gradient" MENU
"Flag" WS_BACK '(mdgradient, green, red, white, green)'
"Sunset" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
"Sky" WS_BACK '(vgradient, blue4, white)'
"Blue Shades" WS_BACK '(vgradient, "#7080a5", "#101020")'
"Indigo Shades" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
"Purple Shades" WS_BACK '(vgradient, "#654c66", "#151426")'
"Wheat Shades" WS_BACK '(vgradient, "#a09060", "#302010")'
"Grey Shades" WS_BACK '(vgradient, "#636380", "#131318")'
"Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")'
"Gradient" END
"Images" OPEN_MENU BACKGROUNDS_DIR ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
"Background" END

View File

@@ -19,39 +19,39 @@
* MENU - <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD>)<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* END - <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD>)<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* OPEN_MENU - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, pipe <EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<EFBFBD><EFBFBD>) <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
* WORKSPACE_MENU - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> workspace_menu <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<EFBFBD><EFBFBD>) <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
* WORKSPACE_MENU - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> workspace_menu <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
* EXEC <program> - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* EXIT - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> window manager
* RESTART [<window manager>] - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> WindowMaker <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> window manager
* REFRESH - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* ARRANGE_ICONS - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* RESTART [<window manager>] - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> Window Maker <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> window manager
* REFRESH - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* ARRANGE_ICONS - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* SHUTDOWN - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> clients (<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> X window
* session)
* SHOW_ALL - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* HIDE_OTHERS - "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" (<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
* SAVE_SESSION - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* session)
* SHOW_ALL - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* HIDE_OTHERS - "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" (<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
* SAVE_SESSION - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, Dock <EFBFBD>
* Clip <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>). <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>). <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> WindowMmaker <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SAVE_SESSION <EFBFBD>
* CLEAR_SESSION <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> WindowMaker <EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> Window Maker <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SAVE_SESSION <EFBFBD>
* CLEAR_SESSION <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Window Maker <EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "~/GNUstep/Defaults/" <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
* "SaveSessionOnExit = Yes;", <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> WindowMaker,
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> Window Maker,
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* SAVE_SESSION <EFBFBD> CLEAR_SESSION (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
* CLEAR_SESSION - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* SaveSessionOnExit=Yes.
* INFO - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> WindowMmaker
* INFO - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> Window Mmaker
*
* OPEN_MENU <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
* 1. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
@@ -109,8 +109,8 @@
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..." INFO_PANEL
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..." LEGAL_PANEL
"Info..." INFO_PANEL
"Legal..." LEGAL_PANEL
"System Console" EXEC xconsole
"System Load" EXEC xosview || xload
"Process List" EXEC xterm -e top
@@ -118,7 +118,7 @@
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"XTerm" EXEC xterm -sb
"Rxvt" EXEC rxvt -bg black -fg white -fn fixed
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WORKSPACE_MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WORKSPACE_MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"Gimp" EXEC gimp >/dev/null
@@ -130,8 +130,8 @@
"OffiX Files" EXEC files
"LyX" EXEC lyx
"Netscape" EXEC netscape
"Ghostview" EXEC ghostview %a(Enter file to view)
"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
"Ghostview" EXEC ghostview %a(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
"TkDesk" EXEC tkdesk
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
@@ -149,7 +149,7 @@
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xcalc
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xprop | xmessage -center -title 'xprop' -file -
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xprop | xmessage -center -title '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' -file -
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xfontsel
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xminicom
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xmag
@@ -166,15 +166,15 @@
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC MANUAL_SEARCH(%s)
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" HIDE_OTHERS
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SHOW_ALL
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" ARRANGE_ICONS
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" REFRESH
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC xlock -allowroot -usefirst
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SAVE_SESSION
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" CLEAR_SESSION
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SAVE_SESSION
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" CLEAR_SESSION
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OPEN_MENU THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
@@ -192,21 +192,20 @@
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WS_BACK '(solid, "#400020")'
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WS_BACK '(mdgradient, blue, white, blue, white)'
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WS_BACK '(mdgradient, green, red, white, green)'
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WS_BACK '(vgradient, blue4, white)'
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OPEN_MENU BACKGROUNDS_DIR ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC getstyle -t ~/GNUstep/Library/WindowMaker/Themes/"%a(Theme name)"
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC geticonset ~/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name)"
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC getstyle -t ~/GNUstep/Library/WindowMaker/Themes/"%a(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" EXEC geticonset ~/GNUstep/Library/WindowMaker/IconSets/"%a(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" MENU
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" RESTART
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> AfterStep" RESTART afterstep
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..." EXIT
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..." SHUTDOWN
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..." SHUTDOWN
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" END

203
WindowMaker/menu.sl Normal file
View File

@@ -0,0 +1,203 @@
/*
* Root Menu definition for WindowMaker in Slovenian language
*
* Syntax is:
*
* <Title> [SHORTCUT <Shortcut>] <Command> <Parameters>
*
* <Title> is any string to be used as title. Must be enclosed with " if it
* has spaces
*
* SHORTCUT specifies a shortcut for that item. <Shortcut> has the
* same syntax of the shortcuts key options in the
* ~/GNUstep/Defaults/WindowMaker file, such as RootMenuKey or MiniaturizeKey.
*
* You can't specify a shortcut for a MENU or OPEN_MENU entry.
*
* <Command> one of the valid commands:
* MENU - starts (sub)menu definition
* END - end (sub)menu definition
* OPEN_MENU - opens a menu from a file, pipe or directory(ies) contents
* and eventually precede each with a command.
* WORKSPACE_MENU - adds a submenu for workspace operations. Only one
* workspace_menu is allowed.
* EXEC <program> - executes an external program
* EXIT - exits the window manager
* RESTART [<window manager>] - restarts WindowMaker or start another
* window manager
* REFRESH - refreshes the desktop
* ARRANGE_ICONS - rearranges the icons on the workspace
* SHUTDOWN - kills all clients (and close the X window session)
* SHOW_ALL - unhides all windows on workspace
* HIDE_OTHERS - hides all windows on the workspace, except the
* focused one (or the last one that received focus)
* SAVE_SESSION - saves the current state of the desktop, which include
* all running applications, all their hints (geometry,
* position on screen, workspace they live on, the dock
* or clip from where they were launched, and
* if minimized, shaded or hidden. Also saves the current
* workspace the user is on. All will be restored on every
* start of windowmaker until another SAVE_SESSION or
* CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
* WindowMaker domain file, then saving is automatically
* done on every windowmaker exit, overwriting any
* SAVE_SESSION or CLEAR_SESSION (see below).
* CLEAR_SESSION - clears any previous saved session. This will not have
* any effect if SaveSessionOnExit is True.
* INFO - shows the Info Panel
*
* OPEN_MENU syntax:
* 1. File menu handling.
* // opens file.menu which must contain a valid menu file and inserts
* // it in current position
* OPEN_MENU file.menu
* 2. Pipe menu handling.
* // opens command and uses it's stdout to construct menu.
* // Command's output must be a valid menu description.
* // The space between '|' and command itself is optional.
* OPEN_MENU | command
* 3. Directory handling.
* // Opens one or more directories and construct a menu with all
* // the subdirectories and executable files in them sorted
* // alphabetically.
* OPEN_MENU /some/dir [/some/other/dir ...]
* 4. Directory handling with command.
* // Opens one or more directories and construct menu with all
* // subdirectories and readable files in them sorted alphabetically,
* // preceding each of them with command.
* OPEN_MENU /some/dir [/some/other/dir ...] WITH command -options
*
*
* <Parameters> is the program to execute.
*
* ** Options for command line in EXEC:
* %s - substitute with current selection
* %a(message) - opens a input box with the message and do substitution with
* what you typed
* %w - substitute with XID for the current focused window
*
* You can override special characters (as % and ") with the \ character:
* ex: xterm -T "\"Hello World\""
*
* You can also use character escapes, like \n
*
* Each MENU statement must have one mathching END statement at the end.
*
* Example:
*
* "Test" MENU
* "XTerm" EXEC xterm
* // creates a submenu with the contents of /usr/openwin/bin
* "XView apps" OPEN_MENU "/usr/openwin/bin"
* // some X11 apps in different directories
* "X11 apps" OPEN_MENU /usr/X11/bin ~/bin/X11
* // set some background images
* "Background" OPEN_MENU ~/images /usr/share/images WITH wmsetbg -u -t
* // inserts the style.menu in this entry
* "Style" OPEN_MENU style.menu
* "Test" END
*/
#include "wmmacros"
"Aplikacije" MENU
"Informacije" MENU
"Informacije o programu..." INFO_PANEL
"Licenca..." LEGAL_PANEL
"Sistemska konzola" EXEC xconsole
"Obremenitev sistema" EXEC xosview || xload
"Seznam procesov" EXEC xterm -e top
"Pomo<6D> (Iskalec man strani)" EXEC xman
"Informacije" END
"XTerm" EXEC xterm -sb
"Rxvt" EXEC rxvt -bg black -fg white -fn fixed
"Delovni prostori" WORKSPACE_MENU
"Aplikacije" MENU
"Grafika" MENU
"Gimp" EXEC gimp >/dev/null
"XV" EXEC xv
"XPaint" EXEC xpaint
"XFig" EXEC xfig
"Grafika" END
"X File Manager" EXEC xfm
"OffiX Files" EXEC files
"LyX" EXEC lyx
"Netscape" EXEC netscape
"Ghostview" EXEC ghostview %a(Enter file to view)
"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
"TkDesk" EXEC tkdesk
"Aplikacije" END
"Urejevalniki besedil" MENU
"XFte" EXEC xfte
"XEmacs" EXEC xemacs || emacs
"XJed" EXEC xjed
"NEdit" EXEC nedit
"Xedit" EXEC xedit
"VI" EXEC xterm -e vi
"Urejevalniki besedil" END
"Drugo" MENU
"Xmcd" EXEC xmcd 2> /dev/null
"Xplaycd" EXEC xplaycd
"Xmixer" EXEC xmixer
"Drugo" END
"Uporabi programi" MENU
"Kalkulator" EXEC xcalc
"Lastnosti oken" EXEC xprop | xmessage -center -title 'xprop' -file -
"Pregled pisav" EXEC xfontsel
"Terminal emulator" EXEC xminicom
"Povecevalno steklo" EXEC xmag
"Barvna lestvica" EXEC xcmap
"XKill" EXEC xkill
"ASClock" EXEC asclock -shape
"Odlagali<6C><69>e (clipboard)" EXEC xclipboard
"Uporabni programi" END
"Izbira" MENU
"Kopiraj" EXEC echo '%s' | wxcopy
"Po<50>lji po po<70>ti" EXEC xterm -name mail -T "Pine" -e pine %s
"Odpri WEB stran" EXEC netscape %s
"Poi<6F><69>i v navodilih" EXEC MANUAL_SEARCH(%s)
"Izbira" END
"Delovni prostor" MENU
"Skrij druge" HIDE_OTHERS
"Poka<6B>i vse" SHOW_ALL
"Poravnaj ikone" ARRANGE_ICONS
"Obnovi" REFRESH
"Zakleni" EXEC xlock -allowroot -usefirst
"Shrani session" SAVE_SESSION
"Izbri<72>i shranjen session" CLEAR_SESSION
"Delovni prostor" END
"Izgled" MENU
"Teme" OPEN_MENU THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
"Stili" OPEN_MENU STYLES_DIR ~/GNUstep/Library/WindowMaker/Styles WITH setstyle
"Zbirke ikon" OPEN_MENU ICON_SETS_DIR ~/GNUstep/Library/WindowMaker/IconSets WITH seticons
"Odzadje" MENU
"Barva" MENU
"<22>rna" WS_BACK '(solid, black)'
"Modra" WS_BACK '(solid, "#505075")'
"Indigo" WS_BACK '(solid, "#243e6c")'
"Temno modra" WS_BACK '(solid, "#180090")'
"Violi<6C>na" WS_BACK '(solid, "#554466")'
"P<>eni<6E>na" WS_BACK '(solid, "wheat4")'
"Temno siva" WS_BACK '(solid, "#333340")'
"Vinsko rde<64>a" WS_BACK '(solid, "#400020")'
"Barva" END
"Preliv" MENU
"Zastava" WS_BACK '(mdgradient, green, red, white, green)'
"Nebo" WS_BACK '(vgradient, blue4, white)'
"Preliv" END
"Slike" OPEN_MENU BACKGROUNDS_DIR ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
"Odzadje" END
"Shrani temo" EXEC getstyle -t ~/GNUstep/Library/WindowMaker/Themes/"%a(Theme name)"
"Shrani zbirko ikon" EXEC geticonset ~/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name)"
"Izgled" END
"Izhod" MENU
"Ponovno za<7A>eni" RESTART
"Po<50>eni AfterStep" RESTART afterstep
"Izhod..." EXIT
"Izhod iz session..." SHUTDOWN
"Izhod" END
"Aplikacije" END

View File

@@ -80,8 +80,14 @@
("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
),
("Gradient",
("Flag", EXEC, "wdwrite WindowMaker WorkspaceBack '(mdgradient, green, red, white, green)'"),
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'")
("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
),
("Images", OPEN_MENU, "/usr/local/share/WindowMaker/Backgrounds ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
),

View File

@@ -80,8 +80,14 @@
("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
),
("Gradient",
("Flag", EXEC, "wdwrite WindowMaker WorkspaceBack '(mdgradient, green, red, white, green)'"),
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'")
("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
),
("Images", OPEN_MENU, "#pkgdatadir#/Backgrounds ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
),

978
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,27 @@
dnl
dnl WindowMaker autoconf input.
dnl
dnl
dnl Window Maker autoconf input.
dnl
dnl Process with: aclocal; autoconf; automake
dnl
dnl
dnl Shared library generation stuff taken from configure script from zlib
dnl
AC_INIT(src/WindowMaker.h)
AM_INIT_AUTOMAKE(WindowMaker, 0.20.1)
AM_INIT_AUTOMAKE(WindowMaker, 0.20.2)
dnl Shared Library Versions
WINGS_VER=0.0.1
WRASTER_VER=0.0.1
dnl configure/build bundled libraries
dnl ===================================
AC_CONFIG_SUBDIRS(libPropList)
AM_CONFIG_HEADER(src/config.h)
@@ -118,8 +131,8 @@ dnl ==================
dnl List of supported locales
dnl -------------------------
supported_locales="cs de es fr gl it ja ko nl no pt ru se tr fi hr el"
supported_wprefs_locales="pt hr fr ko"
supported_locales="cs de es fr gl it ja ko nl no pt ru se tr fi hr el pl ro"
supported_wprefs_locales="pt hr fr ko ja"
for lang in $LINGUAS; do
ok=0
@@ -184,17 +197,14 @@ fi
dnl Put it back once we have some real gnome support...
dnl
dnl AC_ARG_WITH(gnome,
dnl [ --with-gnome enable support for GNOME extensions ],
dnl [with_gnome=$withval], [with_gnome=yes])
dnl AC_MSG_CHECKING([for GNOME support])
dnl if test "x$with_gnome" = "xyes"; then
dnl HAVE_GNOME="#define MWM_HINTS"
dnl AC_MSG_RESULT(yes)
dnl [ --enable-gnome enable support for GNOME extensions ],
dnl [enable_gnome=$withval], [enable_gnome=yes])
dnl if test "$enable_gnome" = yes; then
dnl GNOME="#define GNOME"
dnl else
dnl HAVE_GNOME="#undef MWM_HINTS"
dnl AC_MSG_RESULT(no)
dnl GNOME="#undef GNOME"
dnl fi
dnl AC_SUBST(HAVE_GNOME)
dnl AC_SUBST(GNOME)
AC_SUBST(I18N)
AC_SUBST(INTLIBS)
@@ -267,6 +277,7 @@ dnl ==============================================
dnl Graphic Format Libraries
dnl ==============================================
dnl
dnl Specify paths to look for graphic format libraries
dnl ==================================================
@@ -292,8 +303,17 @@ AC_ARG_ENABLE(xpm,
if test "$xpm" = yes; then
AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData,
[GFXFLAGS="$GFXFLAGS -DUSE_XPM" GFXLIBS="$GFXLIBS -lXpm"],,
my_libok=yes, my_libok=no,
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS)
if test "$my_libok" = yes; then
my_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GFX_INC_PATH $XCFLAGS"
AC_CHECK_HEADER(X11/xpm.h,
[GFXFLAGS="$GFXFLAGS -DUSE_XPM" GFXLIBS="$GFXLIBS -lXpm"
supported_gfx="XPM"], supported_gfx="XPM (builtin)")
CPPFLAGS=$my_old_cppflags
fi
fi
@@ -317,17 +337,23 @@ AC_CHECK_LIB(z, gzread, zlib=yes, zlib=no, $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS)
dnl PNG Support
dnl ===========
png=yes
AC_ARG_ENABLE(png,
[ --disable-png disable PNG support through libpng],
png=$enableval, png=yes)
# assume libz is present...
#AC_ARG_ENABLE(png,
#[ --disable-png disable PNG support through libpng],
# png=$enableval, png=yes)
if test "$png" = yes; then
if test "$zlib" = yes; then
AC_CHECK_LIB(png, png_get_valid,
[GFXLIBS="$GFXLIBS -lpng -lz" GFXFLAGS="$GFXFLAGS -DUSE_PNG"
supported_gfx="$supported_gfx PNG"],,
if test "$png" = yes -a "$zlib" = yes ; then
AC_CHECK_LIB(png, png_get_valid, my_libok=yes, my_libok=no,
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS -lz -lm)
if test "$my_libok" = yes; then
my_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GFX_INC_PATH"
AC_CHECK_HEADER(png.h,
[GFXLIBS="$GFXLIBS -lpng -lz" GFXFLAGS="$GFXFLAGS -DUSE_PNG"
supported_gfx="$supported_gfx PNG"], )
CPPFLAGS=$my_old_cppflags
fi
fi
@@ -340,10 +366,17 @@ AC_ARG_ENABLE(jpeg,
jpeg=$enableval, jpeg=yes)
if test "$jpeg" = yes; then
AC_CHECK_LIB(jpeg, jpeg_destroy_compress,
[GFXLIBS="$GFXLIBS -ljpeg" GFXFLAGS="$GFXFLAGS -DUSE_JPEG"
supported_gfx="$supported_gfx JPEG"],,
AC_CHECK_LIB(jpeg, jpeg_destroy_compress, my_libok=yes, my_libok=no,
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS)
if test "$my_libok" = yes; then
my_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GFX_INC_PATH"
AC_TRY_CPP(jpeglib.h,
[GFXLIBS="$GFXLIBS -ljpeg" GFXFLAGS="$GFXFLAGS -DUSE_JPEG"
supported_gfx="$supported_gfx JPEG"], )
CPPFLAGS=$my_old_cppflags
fi
fi
@@ -359,19 +392,28 @@ AC_ARG_ENABLE(gif,
if test "$gif" = yes; then
retry=no
AC_CHECK_LIB(ungif, DGifOpenFileName,
[GFXLIBS="$GFXLIBS -lungif" GFXFLAGS="$GFXFLAGS -DUSE_GIF"
supported_gfx="$supported_gfx GIF"],retry=yes,
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS)
AC_CHECK_LIB(ungif, DGifOpenFileName,
[my_libok=yes my_libname=ungif],
[retry=yes my_libok=no],
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS)
dnl
dnl libungif is the same thing as libgif for all practical purposes.
dnl
if test "$retry" = yes; then
AC_CHECK_LIB(gif, DGifOpenFileName,
[GFXLIBS="$GFXLIBS -lgif" GFXFLAGS="$GFXFLAGS -DUSE_GIF"
supported_gfx="$supported_gfx GIF"],,
AC_CHECK_LIB(gif, DGifOpenFileName,
[my_libok=yes my_libname=gif],
my_libok=no,
$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS)
fi
if test "$my_libok" = yes; then
my_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GFX_INC_PATH"
AC_CHECK_HEADER(gif_lib.h,
[GFXLIBS="$GFXLIBS -l$my_libname" GFXFLAGS="$GFXFLAGS -DUSE_GIF"
supported_gfx="$supported_gfx GIF"], )
CPPFLAGS=$my_old_cppflags
fi
fi
@@ -393,28 +435,35 @@ ICONEXT="xpm"
#
if test "$tif" = yes; then
my_libname=""
AC_CHECK_LIB(tiff, TIFFGetVersion,
[GFXFLAGS="$GFXFLAGS -DUSE_TIFF" GFXLIBS="-ltiff $GFXLIBS"
ICONEXT="tiff"],,
[my_libok=yes my_libname="-ltiff"], my_libok=no,
[$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm])
dnl
dnl Retry with zlib
dnl
if test ! "$ICONEXT" = "tiff"; then
if test "$my_libok" = no; then
if test "$zlib" = "yes"; then
AC_CHECK_LIB(tiff, TIFFGetVersion,
[GFXFLAGS="$GFXFLAGS -DUSE_TIFF" GFXLIBS="-ltiff -lz $GFXLIBS"
ICONEXT="tiff"],,
AC_CHECK_LIB(tiff, TIFFGetVersion,
[my_libok=yes my_libname="-ltiff -lz"], my_libok=no,
[$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lz -lm])
fi
fi
if test ! "$ICONEXT" = "tiff"; then
if test "$my_libok" = no; then
AC_CHECK_LIB(tiff34, TIFFGetVersion,
[GFXFLAGS="$GFXFLAGS -DUSE_TIFF" GFXLIBS="-ltiff34 $GFXLIBS"
ICONEXT="tiff"],,
[my_libok=yes my_libname="-ltiff34"], my_libok=no,
[$GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm])
fi
if test "$my_libok" = yes; then
my_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GFX_INC_PATH"
AC_CHECK_HEADER(tiffio.h,
[GFXFLAGS="$GFXFLAGS -DUSE_TIFF" GFXLIBS="$my_libname $GFXLIBS"
ICONEXT="tiff" supported_gfx="$supported_gfx TIFF"], )
CPPFLAGS=$my_old_cppflags
fi
fi
@@ -430,70 +479,76 @@ dnl ==============================================
dnl =====================================================
dnl Check for libPropList
dnl Always use the included libPropList, even if it is
dnl already installed.
dnl =====================================================
PLPATH=`pwd`/libPropList
#LIBPL_LIBS="-L${top_builddir}/libPropList -lPropList"
#LIBPL_INC_PATH="-I${top_srcdir}/libPropList"
#
#
#PLPATH=`pwd`/libPropList
#
#if test -f $PLPATH/libPropList.a; then
# echo "using bundled libPropList, already compiled."
# needtobuild=no
# LIBPL_LIBS="-L$PLPATH -lPropList"
# LIBPL_INC_PATH="-I$PLPATH"
#else
# AC_CHECK_LIB(PropList, PLGetString,
# [LIBPL_LIBS=-lPropList LIBPL_INC_PATH="" needtobuild=no],
# [LIBPL_LIBS="-L$PLPATH -lPropList"
# LIBPL_INC_PATH="-I$PLPATH"
# needtobuild=yes])
#fi
#
#
#if test "$needtobuild" = yes; then
# if test -f libPropList/libPropList.a; then
# echo "using included libPropList"
# else
# echo "********** WARNING *************"
# echo "libPropList is not installed in your system."
# echo "You need to build it before building Window Maker (if you already"
# echo "did that, remove config.cache and rerun configure)."
# echo "Please read the INSTALL file for detailed instructions."
# echo "Press <Return> to continue configuring Window Maker or"
# echo "type b and <Return> to build it now."
# read foo
# if test "$foo" = b; then
# echo
# echo "Building libPropList..."
# echo
# if test ! -d libPropList; then
# gzip -d -c libPropList.tar.gz | tar xf -
# fi
# ok=no
# if (cd libPropList; ./configure); then
# if (cd libPropList; make); then
# ok=yes
# fi
# fi
# if test "$ok" = no; then
# echo "********** WARNING **********"
# echo "An error occurred while building libPropList"
# echo "Please build it manually."
# echo "Press <Return> to continue."
# read foo
# fi
# echo
# echo "resuming Window Maker configuration..."
# echo
# fi
# fi
#fi
#
#AC_SUBST(LIBPL_LIBS)
#AC_SUBST(LIBPL_INC_PATH)
if test -f $PLPATH/libPropList.a; then
echo Using compiled libPropList
needtobuild=no
LIBPL_LIBS="-L$PLPATH -lPropList"
LIBPL_INC_PATH="-I$PLPATH"
else
AC_CHECK_LIB(PropList, PLGetString,
[LIBPL_LIBS=-lPropList LIBPL_INC_PATH="" needtobuild=no],
[LIBPL_LIBS="-L$PLPATH -lPropList"
LIBPL_INC_PATH="-I$PLPATH"
needtobuild=yes])
fi
if test "$needtobuild" = yes; then
if test -f libPropList/libPropList.a; then
echo "using included libPropList"
else
echo "********** WARNING *************"
echo "libPropList is not installed in your system."
echo "You need to build it before building WindowMaker (if you already"
echo "did that, remove config.cache and rerun configure)."
echo "Please read the INSTALL file for detailed instructions."
echo "Press <Return> to continue configuring WindowMaker or"
echo "type b and <Return> to build it now."
read foo
if test "$foo" = b; then
echo
echo "Building libPropList..."
echo
if test ! -d libPropList; then
gzip -d -c libPropList.tar.gz | tar xf -
fi
ok=no
if (cd libPropList; ./configure); then
if (cd libPropList; make); then
ok=yes
fi
fi
if test "$ok" = no; then
echo "********** WARNING **********"
echo "An error occurred while building libPropList"
echo "Please build it manually."
echo "Press <Return> to continue."
read foo
fi
echo
echo "resuming WindowMaker configuration..."
echo
fi
fi
fi
AC_SUBST(LIBPL_LIBS)
AC_SUBST(LIBPL_INC_PATH)
dnl Paranoia setup
dnl ==============
dnl Debugging setup
dnl ===============
AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging ],, enable_debug=no)
@@ -544,15 +599,22 @@ AC_SUBST(pixmapdir)
dnl Support for GNUSTEP_LOCAL_ROOT, for WPrefs.app
dnl ==============================================
gnustepdir="${prefix}/GNUstep"
appspath=""
if test "x$GNUSTEP_LOCAL_ROOT" != "x" ; then
AC_ARG_WITH(appspath,
[ --with-appspath=PATH specify the path of the GNUstep applications directory ])
if test "x$appspath" = "x"; then
gnustepdir="${prefix}/GNUstep"
if test "x$GNUSTEP_LOCAL_ROOT" != "x" ; then
gnustepdir=`echo "$GNUSTEP_LOCAL_ROOT" | sed -e "s%${prefix}%\${prefix}%"`
fi
appspath=$gnustepdir/Apps
fi
appsdir=$gnustepdir/Apps
wprefsdir=$appsdir/WPrefs.app
wprefsdir=$appspath/WPrefs.app
AC_SUBST(wprefsdir)
@@ -560,7 +622,8 @@ AC_SUBST(wprefsdir)
dnl Enable single appicon per wm instance+class combo -cls
dnl =====================================================
AC_ARG_ENABLE(single-icon,
[ --enable-single-icon use single application icon per WM_INSTANCE+WM_CLASS (unsupported) ],
[ --enable-single-icon use single application icon per WM_INSTANCE+WM_CLASS
],
if test "$enableval" = yes; then
REDUCE_APPICONS="#define REDUCE_APPICONS"
else
@@ -601,6 +664,75 @@ if test "$GCC" = "yes"; then
fi
dnl Shared Library Support (unfinished)
dnl ===================================
enable_shared=no
#AC_ARG_ENABLE(shared,
#[ --enable-shared build libraries as shared ], enable_shared=yes,
# enable_shared=no)
if test "$enable_shared" = yes; then
if test "$GCC" = yes; then
_CFLAGS="-fPIC"
LDSHARED='$CC -shared'
else
# find system name and corresponding cc options
case `(uname -sr || echo unknown) 2>/dev/null` in
SunOS\ 5*)
_CFLAGS="-fast -xcg89 -KPIC -R."
LDSHARED='$CC -G';;
SunOS\ 4*)
_CFLAGS="-PIC"
LDSHARED="ld";;
IRIX*)
_CFLAGS="-ansi -rpath ."
LDSHARED='$CC -shared';;
SCO_SV\ 3.2*)
_CFLAGS="-dy -KPIC "
LDSHARED='$CC -dy -KPIC -G';;
HP-UX*)
_CFLAGS="+z"
LDSHARED="ld -b"
SHAREDLIBS='libz.sl';;
*)
_CFLAGS=""
LDSHARED='$CC -shared';;
esac
fi
AC_MSG_CHECKING([for shared library support])
test=tmptest$$
cat > $test.c <<EOF
int hello() { printf("hello\n"); }
EOF
# we must test in two steps (cc then ld), required at least on SunOS 4.x
if test "`($CC -c $_CFLAGS $test.c) 2>&1`" = "" &&
test "`($LDSHARED -o $test.so $test.o) 2>&1`" = ""; then
CFLAGS="$CFLAGS $_CFLAGS"
WRASTERLIB='libwraster.so.$(WRASTER_VER)'
WINGSLIB='libWINGs.so.$(WINGS_VER)'
AC_MSG_RESULT([yes, building shared])
else
LDSHARED='$CC'
WRASTERLIB='libwraster.a'
WINGSLIB='libWINGs.a'
AC_MSG_RESULT([no, building static])
fi
rm -f $test.[co] $test.so
fi
#AC_SUBST(WRASTER_VER)
#AC_SUBST(WINGS_VER)
#AC_SUBST(WRASTERLIB)
# AC_SUBST(WINGSLIB)
# AC_SUBST(LDSHARED)
dnl
dnl Nicolai: Program tests for Documentation Section
dnl =================================================
@@ -633,7 +765,6 @@ AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile wmlib/Makefile \
WindowMaker/Themes/Makefile WindowMaker/Backgrounds/Makefile \
WindowMaker/Pixmaps/Makefile WindowMaker/Icons/Makefile \
WindowMaker/IconSets/Makefile \
WindowMaker/Sounds/Makefile \
WPrefs.app/Makefile WPrefs.app/tiff/Makefile WPrefs.app/xpm/Makefile \
WPrefs.app/po/Makefile )
@@ -653,32 +784,15 @@ dnl
dnl Spit out the configuration
dnl ==========================
formats="XPM PPM"
a=0
for i in $GFXFLAGS; do
case "$i" in
-DUSE_GIF)
formats="$formats GIF"
;;
-DUSE_TIFF)
formats="$formats TIFF"
;;
-DUSE_PNG)
formats="$formats PNG"
;;
-DUSE_JPEG)
formats="$formats JPEG"
;;
esac
done
supported_gfx="$supported_gfx PPM (built-in)"
echo
echo "WindowMaker was configured as follows:"
echo "Window Maker was configured as follows:"
echo
echo "Installation path prefix: $prefix"
echo "Installation path prefix for binaries: $exec_prefix"
echo "Installation path for WPrefs.app: $wprefsdir"
echo "Graphic format libraries: $formats"
echo "Graphic format libraries: $supported_gfx"
if test "x$MOFILES" = "x"; then
mof=none
else
@@ -689,9 +803,6 @@ if test "x$MOFILES" != "x"; then
echo "Installation path of translated messages: $NLSDIR"
fi
echo "What!? WPrefs.app won't be installed where you want it?"
echo "May I point to you to the INSTALL file?"
dnl This is for Emacs. I'm lazy, I know... (nicolai)
dnl ================================================

View File

@@ -68,8 +68,6 @@ I18N = @I18N@
I18N_MB = @I18N_MB@
ICONEXT = @ICONEXT@
INTLIBS = @INTLIBS@
LIBPL_INC_PATH = @LIBPL_INC_PATH@
LIBPL_LIBS = @LIBPL_LIBS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MOFILES = @MOFILES@

View File

@@ -1,7 +1,7 @@
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.TH geticonset 1x "March 1998"
.SH NAME
geticonset \- gets the current WindowMaker iconset
geticonset \- gets the current Window Maker iconset
.SH SYNOPSIS
.B geticonset
.I [iconsetfile]
@@ -24,4 +24,4 @@ is the actual file that's read.
.SH AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
.PP
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>.

View File

@@ -1,7 +1,7 @@
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.TH getstyle 1x "March 1998"
.SH NAME
getstyle \- dumps the current WindowMaker style related configuration
getstyle \- dumps the current Window Maker style related configuration
.SH SYNOPSIS
.B getstyle
[style file]
@@ -30,4 +30,4 @@ This is the actual file that's written.
.SH AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
.PP
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>.

View File

@@ -1,7 +1,7 @@
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.TH seticons 1x "March 1998"
.SH NAME
seticons \- sets the WindowMaker icons
seticons \- sets the icon images used in Window Maker
.SH SYNOPSIS
.B seticons
.I iconsfile
@@ -10,7 +10,7 @@ seticons \- sets the WindowMaker icons
reads
.I iconsfile
and writes its contents to the WMWindowAttributes domain, efectively
setting the icons WindowMaker uses for a given class (for example,
setting the icons Window Maker uses for a given class (for example,
XTerm, "xterm.XTerm", "rxvt.XTerm", "pine.XTerm", etc)
.SH ENVIRONMENT
.IP GNUSTEP_USER_ROOT
@@ -26,4 +26,4 @@ This is the actual file that's written.
.SH AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
.PP
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>.

View File

@@ -1,7 +1,7 @@
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.TH setstyle 1x "March 1998"
.SH NAME
setstyle \- set style related options for WindowMaker
setstyle \- set style related options for Window Maker
.SH SYNOPSIS
.B setstyle
.I stylefile
@@ -10,7 +10,7 @@ setstyle \- set style related options for WindowMaker
reads
.I stylefile
and writes its contents to the WindowMaker domain, efectively setting
the WindowMaker style.
the Window Maker style.
.SH ENVIRONMENT
.IP GNUSTEP_USER_ROOT
specifies the initial path for the Defaults directory. "Defaults/" is
@@ -25,4 +25,4 @@ This is the actual file that's written.
.SH AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
.PP
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>.

View File

@@ -27,4 +27,4 @@ The domains reside in GNUSTEP_USER_ROOT/Defaults/
.SH AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
.PP
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>.

View File

@@ -1,12 +1,12 @@
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.TH WindowMaker 1x "August 1998"
.TH Window\ Maker 1x "August 1998"
.SH NAME
wmaker \- X11 window manager with a NEXTSTEP look
.SH SYNOPSIS
.B wmaker
.I "[-options]"
.SH "DESCRIPTION"
WindowMaker is a X11 window manager with a NEXTSTEP look. It tries to
Window Maker is a X11 window manager with a NEXTSTEP look. It tries to
emulate NeXT's look as much as possible, but it deviates from it as
necessary.
.SH "OPTIONS"
@@ -22,11 +22,11 @@ do not show the workspace Clip
.TP
.B \-display host:display.screen
specify display to use.
On multiheaded machines, WindowMaker will automatically manage all screens.
If you want WindowMaker to manage only a specific screen, you must supply
On multiheaded machines, Window Maker will automatically manage all screens.
If you want Window Maker to manage only a specific screen, you must supply
the screen number you want to have managed with the
.B \-display
command line argument. For example, if you want WindowMaker to manage only
command line argument. For example, if you want Window Maker to manage only
screen 1, start it as:
.B wmaker -display :0.1
.TP
@@ -41,14 +41,15 @@ for a list of visuals available in your display.
.SH FILES
.TP
.B ~/GNUstep/Defaults/WindowMaker
general WindowMaker defaults.
general Window Maker defaults.
.TP
.B ~/GNUstep/Defaults/WMState
information about the Dock and Clip. DON'T edit this while running
WindowMaker. It will be overwritten.
Window Maker. It will be overwritten.
.TP
.B ~/GNUstep/Defaults/WMRootMenu
Contains the name of the file to read the root menu from.
Contains the name of the file to read the root menu from or the
menu itself, in property list format.
.TP
.B ~/GNUstep/Defaults/WMWindowAttributes
Attributes for different application classes and instances. Use the
@@ -56,34 +57,44 @@ Attribute Editor (right drag the application's title bar, select
Attributes) instead of modifying this file directly. There are just a
few options not available using the Attributes Editor.
.TP
.B /etc/GNUstep/Defaults/
.B /usr/share/WindowMaker/Defaults/
All the above-mentioned files are READ from here if not found except
for WMState, which is COPIED from here. No matter where they are read
from, if it's necesary to write configuration changes back into this
files, user's files will be written to.
.TP
.B ~/GNUstep/Library/WindowMaker/autostart
This script is automatically executed when WindowMaker is started.
This script is automatically executed when Window Maker is started.
.TP
.B ~/GNUstep/Library/WindowMaker/exitscript
This script is automatically executed immediately before Window Maker is
exited.
.B Note:
If you need to run something that requires the X server to be running
from this script, make sure you do not use the
.I SHUTDOWN
command from the root menu to exit Window Maker. Otherwise, the X server
might be shut down before the script is executed.
.TP
.B ~/GNUstep/Library/WindowMaker/
The menu file indicated in WMRootMenu is looked for here...
.TP
.B /etc/X11/WindowMaker/
and here, in that order.
and here, in that order. Unless, the indicated path is an absolute path.
.TP
.B ~/GNUstep/Library/WindowMaker/Pixmaps/
WindowMaker looks for pixmaps here
Window Maker looks for pixmaps here
.TP
.B ~/GNUstep/Library/WindowMaker/Backgrounds/
WindowMaker looks for backgrounds here
Window Maker looks for backgrounds here
.TP
.B ~/GNUstep/Library/WindowMaker/Styles/
WindowMaker looks for style files here (not true... it looks like it
Window Maker looks for style files here (not true... it looks like it
does, but you have to specify the full path anyway, it's just a place
to keep things nicely ordered)
.TP
.B ~/GNUstep/Library/WindowMaker/Themes/
WindowMaker looks for theme files here (ibid)
Window Maker looks for theme files here (ibid)
.TP
.B /usr/share/WindowMaker/Pixmaps/
System wide pixmaps are located here...
@@ -110,12 +121,11 @@ variable is empty, GNUSTEP_SYSTEM_ROOT is looked for.
specifies the location of the system-wide GNUstep directory. If this
variable is empty, it defaults to /etc/GNUstep
.SH SEE ALSO
The WindowMaker User Guide
The Window Maker User Guide
.PP
The WindowMaker FAQ
The Window Maker FAQ
.PP
.BR X (1x),
.BR convertstyle (1),
.BR wdwrite (1x),
.BR wxcopy (1x),
.BR geticonset (1x),
@@ -126,8 +136,9 @@ The WindowMaker FAQ
.BR setstyle (1x),
.BR wmsetbg (1x)
.SH AUTHOR
WindowMaker was written by Alfredo K. Kojima <kojima@windowmaker.org>
with help from many contributors.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.org>,
Dan Pascu <dan@windowmaker.org> with contributions from many people around
the Internet.
.PP
This manual page was written by Marcelo E. Magallon, <mmagallo@debian.org>.

Some files were not shown because too many files have changed in this diff Show More