Commit Graph

566 Commits

Author SHA1 Message Date
oga
f062e958e0 Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc
respectively.

ok okan.
2008-04-16 13:38:09 +00:00
oga
9aedc9e805 Remove screen_infomsg(), nothing uses it.
ok okan.
2008-04-16 13:35:37 +00:00
oga
8a66857b72 kill an unused struct member.
ok okan
2008-04-16 13:33:26 +00:00
oga
8b3d596db5 make the argument parser for commands accept quoted strings, while i'm
there make u_spawn use exec_wm (renamed to u_exec) for it's execution to
remove duplicated code.

This means constructs like this work in .cwmrc:

bind CM-t "ssh -Y 192.168.1.2 \"xterm -e top\""

or alternatively:

bind CM-t "ssh -Y 192.168.1.2 'xterm -e top'"

"in it goes" okan@.
2008-04-15 21:20:56 +00:00
oga
5559ba08b3 Kill dirent_isdir() and dirent_islink() nothing used them since the new
parser went in.

ok okan.
2008-04-15 20:26:50 +00:00
oga
26beb05af2 hit it with the knf stick. 2008-04-15 20:24:41 +00:00
oga
a101e9a0c8 Add "gap" support to .cwmrc. The options put in here make gaps on the edge
of the screen where an application won't be {,vert}maximized over. used for
placing a statusbar or something like xclock.

Patch from Edd Barrett, with input from myself and okan. Thanks!

ok okan@.
2008-04-15 18:46:58 +00:00
okan
36cf099f9d - add vi keybindings to search
- allow for ctrl-h as well

discussion with and ok oga@
2008-04-15 18:33:13 +00:00
okan
e588092d97 malloc -> calloc
suggested by and ok oga@
2008-04-15 18:22:08 +00:00
matthieu
766b9c6928 regen 2008-04-12 17:57:53 +00:00
matthieu
fd01a78b07 mkfontscale 1.0.4 2008-04-12 17:52:43 +00:00
matthieu
58b18c30eb regen 2008-04-12 17:51:44 +00:00
matthieu
b8c22531e6 mkfontdir 1.0.4 2008-04-12 17:49:58 +00:00
okan
3174a0bb47 remove alt-tab menu
discussed with a few

ok oga@
2008-04-09 18:10:47 +00:00
oga
edd5ee518b No cookie for okan.
fix use-after-free that broke exec's path getting stuff.

``paths'' isn't used anymore, but pointers to within that array are still
used in the next loop. delay freeing it until after then.
2008-04-08 17:38:27 +00:00
okan
fdb2248a19 better 'quit' keybinding default (CMS-q)
feedback from oga@ and simon@

ok oga@ simon@
2008-04-08 14:12:28 +00:00
simon
2fc4faf28a Make _xev_quit "volatile sig_atomic_t" for proper correctness.
Noticed by oga@, thanks!
2008-04-08 00:09:50 +00:00
simon
8797c69ac9 Add quit function, bind it per default to CM-q and change exec_wm
binding to CM-w.

Inital diff from Gleydson Soares
Feedback from oga@ and okan@

ok oga@
2008-04-07 23:47:09 +00:00
okan
33d3a7edf1 - use $PATH before _PATH_DEFPATH, from Tim van der Molen
- plug leak, noticed by oga

feedback and ok oga@
2008-04-05 21:09:19 +00:00
simon
3bf9d124cf Sync usage() with reality and manpage.
"ok, but no cookie" oga@
2008-04-03 13:58:57 +00:00
matthieu
84ff75cce6 Clear the password as early as possible in the BSD auth case. ok deraadt@ 2008-04-02 20:08:52 +00:00
oga
da6f5be7c3 Fix a couple of issues with the maximization code.
If a window is vertically maximized, then resized, before the MAXIMIZED
flag wasn't removed, now it is. so doing a resize then does the right
thing.

Also, separate flags are needed for vertical and normal maximziation,
else when you do vertical-maximize, followed by maximize, the window
returns to it's original size.

ok simon@, okan@
2008-03-26 15:45:42 +00:00
matthieu
bbc31bf586 Introduce bsd.xconf.mk to set default config variables used
at several places in the Xenocara build in a central place instead
of duplicating the checks all over the place. ok oga@.
2008-03-25 23:41:50 +00:00
matthieu
d00d2dd896 msg_controllen has to be CMSG_SPACE so that the kernel can account for
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis. From deraadt@
2008-03-24 21:24:52 +00:00
simon
0141485332 Replace the symlink configuration scheme with a simple yacc parser as
found in other places of the tree.  Remove sticky and font commandline
options and add another one for alternative config locations.
Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there.

tested by various kind people, feedback from oga@ and okan@ - thanks!
ok oga@, jasper@, okan@
2008-03-23 15:09:21 +00:00
okan
f8bcc1f10d allow autogrouping and sticky mode to work together
ok oga@
2008-03-22 21:34:07 +00:00
oga
d8e2d259e2 Rip out, burn, and dance around the grave of group-edit mode.
I've yet to speak to anyone who uses it, so just kill it.

You can still add/remove from groups using the mouse binding.  Groups
may get a re-work sometime soon if i have a stroke of genius.

knocks about 4k off the i386 binary for me.

ok okan@, todd@.
2008-03-22 15:09:45 +00:00
oga
420d083afc Remove a bunch of unused variables and incorrect comments.
"ok with me" okan@.
2008-03-22 14:09:02 +00:00
merdely
68bd73c06e Make xterm(1) and resize(1) correctly refer to X(7) instead of X(1).
ok matthieu@
2008-03-22 12:40:02 +00:00
matthieu
b3afb49cf6 Get rid of strcat() and strcpy(), fixing a potential stack overflow.
With help and ok deraadt@, millert@, oga@.
2008-03-20 20:45:10 +00:00
matthieu
ffca1db806 update to xterm 234. tested by merdely@, 'looks ok' deraadt@. 2008-03-19 21:15:46 +00:00
matthieu
dd869f4ed4 Remove a useless use of cat pointed by espie@ some time ago. 2008-03-19 20:31:09 +00:00
oga
4685ce9dbc As mentioned in my last commit, there was an issue where the switching
code would always assume that the number of windows to switch to was
three if there were more windows hidden. Check for CLIENT_HIDDEN when we
count. Now it counts correctly.

ok simon@.
2008-03-19 00:18:28 +00:00
oga
92c71b48a2 client_{,r}cycle() doens't need a client. so get rid of KBFUNC_NEEDSCLIENT.
this prevents the issue where you close or hide a window, and end up
with no client selected (you're on the root window). When that happened
alt-tab failed.  This, however, exposed to me a few more issues in the
alt-tabbing code:

-the code to detect how many lines we need looks bogus (you always get
three)

-alt-tabbing when everything is hidden always reawakes the most recent
window.

Fixes for these will be forthcoming.

ok simon@.
2008-03-18 00:48:56 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
matthieu
16236de311 Repair msg_controllen. In those cases it should just be
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment. Based on fixes in base system.
2008-03-15 17:14:11 +00:00
sthen
4756cae49c typo fix. ok oga 2008-03-14 14:38:10 +00:00
matthieu
f0623845fe Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system.
ok deraadt@
2008-03-13 06:53:06 +00:00
matthieu
6da4224300 use explicit path to openssl. Reported by Dave Del Debbio. Thanks. 2008-03-07 07:48:10 +00:00
matthieu
d5cb652a3f Change the default for XSRCDIR to /usr/xenocara. ok deraadt@ 2008-03-03 07:01:44 +00:00
matthieu
ef3b0a0644 Fix initialization of vmin. This has caused script(1) to exit immediatly
when started inside an xterm that started with vmin=0 (because it had
no tty to inherit the correct value from). ok kettenis@, krw@, oga@.
2008-02-24 22:22:48 +00:00
oga
e2e723ac91 Fix a build race in ssh-askpass. This shouldn't happen, so XXX it.
ok matthieu@.

xenocara is now locked.
2008-02-22 11:35:22 +00:00
todd
655aabf8b5 puffy 4.3 2008-02-21 08:10:52 +00:00
todd
f076f9f5f7 no dri/GL apps for landisk; ok matthieu@ 2008-02-21 08:04:44 +00:00
oga
43f7e32207 add exec_wm to calmwm.h, it was missing (bad ian@!)
Also, exec_wm() currenty err()s out if something failed with the exec,
killing the currently running wm. This is bad. Replace the err() with
warn() instead.


from Gleydson Soares, thanks!
2008-02-20 13:00:18 +00:00
oga
95429f5a28 Typo: s/supression/suppression
from Pierre Riteau, thanks!
2008-02-20 12:56:10 +00:00
miod
1d9ffcbd8d Disable a few more binaries on m88k due to static linking. 2008-02-16 21:41:37 +00:00
matthieu
e8985d1d21 Change the default pointerMode for real now. 2008-02-16 09:49:28 +00:00
matthieu
3d2000e90b Merge xterm 232.
New local change: default value for pointerMode is 0.
2008-02-16 09:40:00 +00:00
matthieu
065d15d7f3 Import xterm version 232. tested by many. 2008-02-16 09:34:45 +00:00
oga
5683e22512 usage never returns, and thus should be __dead.
ok jasper@.
2008-02-13 21:48:03 +00:00
oga
0f28b15cb7 add usage() for when an unknown option is given.
from Gleydson Soares <gsoares@gmail.com>, thanks!

ok jasper@
2008-02-13 21:04:19 +00:00
oga
10cf0b3574 Make cwm print the XDisplayName() if it fails to open the display,
instead of an error message that'll be gibberish to most people.

from Gleydson Soares. Thanks!

ok simon@.
2008-02-13 12:09:47 +00:00
mcbride
696e2f3de3 Run the program if xidle recieves a SIGUSR1.
ok matthieu jmc
2008-02-10 10:57:05 +00:00
ian
3e0ea9a7e9 Trivial typo in recent "exec windowmanager" addition 2008-01-22 17:35:23 +00:00
oga
225642aa5e All of the 9wm code in cwm has been removed or re-written. Edit LICENSE
and the manpage to reflect this. While i'm here remove the note in todo
about cleaning up the menu code; it's been done.

ok ian@, okan@ (he also provided most of the manpage rework)
2008-01-16 16:14:55 +00:00
oga
78d222002b huge amount of cleanup and dead code removal.
full description of changes:
-remove fontlist, and all associated structures/calls, it's not needed.
 this also removes any doubt about leftover 9wm code (the list was
 borrowed from it). Since cwm now uses Xft for everything, the legacy
 font handling is just not needed.
-add /* FALLTHROUGH */ comments into grab_{label,menu}. I actually
 didn't intend grab_menu to be a fallthrough, but it actually works quite
 well there, so remove the extra rectangle drawing. I love it when that
 happens.
-remove a couple of unused prototypes that were obviously missed
 before.
-remove a bunch of commented out or if 0ed out code. It doesn't look to
 be coming back anytime soon.
-several functions returned an int, but this was never checked. most of
 them only failed if they failed to grab the pointer (thus the internal
 state didn't change), so just make them void and return early if this is
 the case.
-remove several unused functions and some useless variables.

knocks something like 200bytes off the stripped binary size for me.

ok marc@, tested by several others.
2008-01-16 11:39:20 +00:00
oga
7153b9f746 Rewrite most of grab_menu in grab.c (it was partly 9wm code).
This should work functionally the same, with a few simplifications.

Changes:
- we don't care if you're holding another button when you release the
  menu key if you don't want to select anything, move off the menu.
- remove the hysteresis from the menu selection (before you had to move
  more than three pixels onto a new menu entry before it selected it)
- simplify a lot of the selection code
- kill dead code.
- do what the XXX comment said and cache the screensize (i may tweak
  this later).

As far as I can tell, the only code remaining from 9wm is the list of
fonts in calmwm.c. Others appear to concur.

ok marc@, looked over and tested by a few others. Reminders from okan@.
2008-01-14 15:21:10 +00:00
matthieu
f55efa314e More __foo__ substitutions for xterm manual pages. From
Tim van der Molen, Thanks.
2008-01-13 17:22:58 +00:00
matthieu
c8a36eb115 regen 2008-01-12 14:20:50 +00:00
matthieu
a80a36f4ed On OpenBSD use 'openssl rand 16 -hex' to generate the cookie.
This avoids the quoting hell needed for 'dd /dev/arandom |
 hexdump' that confuses cpp from gcc 2.95.
2008-01-12 14:20:27 +00:00
oga
1385b56548 - Remove the "all rights reserved" tag at the top of most of the source
files, and replace them with the actual ISC license.

- add license to the manpage (it was lacking before)

- correct license statement in the README

Permission given by Marius (copyright holder):
"1. please replace with the standard ISC license
2. you may add the ISC license to the man page
3. feel free to replace the information in the README as well"

and Dros (copyright holder for group.c):
"Please switch group.c to the ISC License."

ok ian@
2008-01-11 16:06:44 +00:00
oga
0e2ef8a148 Kill some more dead code, cursor.c goes away.
ok marc@
2008-01-08 20:21:43 +00:00
matthieu
27a404c4f3 cleandir needs clean 2008-01-06 18:13:58 +00:00
matthieu
2249aa4d17 "fix" make distclean 2008-01-06 10:56:10 +00:00
matthieu
a6465035d9 Remove a generated file. 2008-01-06 10:11:42 +00:00
matthieu
bf3696e31a Set the resolution at which fonts in the login widget are rendered.
Switch to Luxi TrueType fonts which look more like helvetica.
Tested by bernd@.
2008-01-05 17:23:14 +00:00
marc
1545e483a5 Adjust initial window placement with any geometry that would place
the window at or over the right or bottom edge.
OK oda@
2008-01-03 20:20:20 +00:00
oga
ee4e50a6e2 Kill draw.c, nothing uses the code in it.
More dead code removals to come.

ok marc@
2008-01-03 01:58:16 +00:00
oga
52cb71d16c Kill some warnings intoduced with the execwm feature.
ok marc@
2008-01-03 01:56:25 +00:00
marc
1b1b4fdaa3 remove declaration of removed function
Reminded by matthieu@  (thanks!)
2008-01-02 20:54:32 +00:00
marc
535778c84f remove unused code
OK oga@
2008-01-02 20:47:11 +00:00
marc
296e93a651 Only use the x,y values from the XSizeHints structure when they are greater
than zero.   The fields are obsolete and not always used.
OK jasper@
2008-01-01 22:28:59 +00:00
matthieu
53c3762283 Fix the computed width of the rectangle to clear when no
error message is present and Xft is used.
2008-01-01 21:26:57 +00:00
okan
66ad53aad5 allow the search feature to work in the root window, like other similar ones.
ok todd@
2007-12-31 02:49:45 +00:00
ian
bb9a96e5b3 Add a "restart wm" function. ok oga@ 2007-11-28 16:35:52 +00:00
oga
cd016f1192 Another messed up keybinding.
I blame todd...

ok okan@
2007-11-28 16:02:37 +00:00
okan
b017f68352 re-add a lost group keybinding
ok oga@ todd@
2007-11-27 17:17:08 +00:00
matthieu
36c8394511 Fix logic inversion in geometry computation in norender digital mode.
patch from millert@, who's apparently to shy to commit to xenocara.
2007-11-27 11:30:33 +00:00
matthieu
787f23118b enable xbacklight 2007-11-24 17:07:52 +00:00
matthieu
381e02cb6f BSD makefile plus regen autotools stuff 2007-11-24 17:07:03 +00:00
matthieu
b48b541785 xbacklight 1.1 2007-11-24 17:04:53 +00:00
matthieu
4604f50a51 merge xrandr 1.2.2 2007-11-24 17:01:24 +00:00
matthieu
7f9b9fc892 xrandr 1.2.2 2007-11-24 16:58:12 +00:00
oga
cc56ce7a75 Make cwm default keybindings always exist. Additional keybindings now
overlap with the new ones, overriding them. Also a new "unmap" keyword
in binding definitions now unmaps a binding without adding a new one.

This seriously shrinks the ~/.calmwm/.keys directory of anyone who defines
their own bindings whilst wanting some of the defaults.

Looked over, liked and ok todd@
2007-11-19 22:18:16 +00:00
jmc
98e3c06118 fix a pasto: documentation/5639 from viq
while i'm at it:
- fix an .El botch up
- kill trailing whitespace
- new sentence, new line
2007-11-16 23:04:56 +00:00
todd
f18f596ede introduce conf_bindname() to drastically simplify conf.c
really liked by oga@
2007-11-13 23:26:04 +00:00
todd
87e41b32a9 enable pointer movement in cwm via C-<arrowkeys>
looked over by oga@
2007-11-13 23:08:49 +00:00
oga
b8e78047f2 Small manpage nit.
From Okan Demirmen, thanks!
2007-11-08 13:03:22 +00:00
oga
2651bb08ad Change MOVE_AMOUNT in kbfunc.c to 1 from 10. This allows more fine tuning when
moving and resizing windows using the keyboard.

Future diffs might make this value configurable.

ok jasper@, todd@.
2007-11-07 22:02:04 +00:00
oga
d65837aad5 Document cwm's keybinding support. It was already there, but not in the manpage.
While I'm here add support for extra modifier keys.

"commit commit!" jasper@, ok todd@.
2007-11-07 22:00:26 +00:00
oga
7732ed6345 Add support to cwm for resizing the windows using Control-Meta-[hjkl].
Please note that this remaps Control-Meta-L (label) to Control-Meta-N (name).

ok jasper@, todd@.
2007-11-07 21:58:03 +00:00
ian
877d86684f wording 2007-10-07 16:56:21 +00:00
matthieu
f0133a7a00 merge xfs 1.0.5. This version contains security fixes for heap overflow
and corruption vulnerabilites. CVE-2007-4568.
2007-10-02 19:21:11 +00:00
matthieu
e79e53bbfb xfs 1.0.5 2007-10-02 19:15:44 +00:00
jasper
8974a1ab8d When cycling, only the end of the window names will be printed if the
name is too long. so show the beginning instead.

from Pierre Riteau <pierre.riteau at free.fr>

"looks correct" matthieu@
2007-10-02 18:01:45 +00:00
matthieu
3af148660f regen 2007-09-28 20:23:21 +00:00
matthieu
0e83804bba use /dev/arandom to generate the cookie. Problem noticed by
Joerg Sonnenberger. Thanks.
2007-09-28 20:23:04 +00:00
matthieu
4798ec43f3 revert previous. This is not the good place to patch. 2007-09-28 20:22:10 +00:00
matthieu
23feae05f5 use /dev/arandom to generate the cookie. Problem noticed
by Joerg Sonnenberger. Thanks.
2007-09-28 20:12:18 +00:00
matthieu
7bf5786e70 Fix the commented out way to disable root logins.
Reported by Iruata Souza.
2007-09-27 19:21:13 +00:00
matthieu
17cb7ede6c merge xwininfo 1.0.3 2007-09-16 17:31:43 +00:00
matthieu
9977061927 xwininfo 1.0.3 2007-09-16 17:30:15 +00:00
matthieu
7387f85bf1 merge xvinfo 1.0.2 2007-09-16 17:28:15 +00:00
matthieu
835b00790e xvinfo 1.0.2 2007-09-16 17:26:07 +00:00
matthieu
0ff179393d merge xsetroot 1.0.2 2007-09-16 17:23:32 +00:00
matthieu
58c489655b xsetroot 1.0.2 2007-09-16 17:21:49 +00:00
matthieu
fec256451c merge xset 1.0.3 2007-09-16 17:19:11 +00:00
matthieu
37f8d7274f xet 1.0.3 2007-09-16 17:17:35 +00:00
matthieu
9878bac117 merge xrdb 1.0.4 2007-09-16 17:16:13 +00:00
matthieu
0ff6d88dfa xrdb 1.0.4 2007-09-16 17:14:29 +00:00
matthieu
f3c6326df7 merge xprop 1.0.3 2007-09-16 17:11:49 +00:00
matthieu
a0a1a73a3a AC_CHECK_HEADERS_ONCE -> AC_CHECK_HEADERS to keep compatibility
with autoconf 2.59 for now.
2007-09-16 17:11:21 +00:00
matthieu
623309c577 xprop 1.0.3 2007-09-16 17:05:26 +00:00
matthieu
fbff1ef522 merge xmodmap 1.0.3 2007-09-16 17:03:32 +00:00
matthieu
7d60ff45b2 xmodmap 1.0.3 2007-09-16 17:02:03 +00:00
matthieu
bd9d60ad55 merge xmessage 1.0.2 2007-09-16 16:59:47 +00:00
matthieu
29e2756ff0 xmessage 1.0.2 2007-09-16 16:57:45 +00:00
matthieu
8aee380437 merge xman 1.0.3 2007-09-16 16:55:45 +00:00
matthieu
02a3dd2824 xman 1.0.3 2007-09-16 16:51:46 +00:00
matthieu
ee39ea4354 merge xmag 1.0.2 2007-09-15 17:23:05 +00:00
matthieu
fa2ab941bd xmag 1.0.2 2007-09-15 17:20:36 +00:00
matthieu
532e51aa57 merge xload 1.0.2 2007-09-15 17:16:52 +00:00
matthieu
9c3899b537 xload 1.0.2 2007-09-15 17:14:49 +00:00
matthieu
59ec33559d merge xinit 1.0.6 2007-09-15 17:12:01 +00:00
matthieu
7fd4ac2fb1 xinit 1.0.6 2007-09-15 17:05:29 +00:00
matthieu
fa21c3270a merge xhost 1.0.2 2007-09-15 16:00:30 +00:00
matthieu
d6759afeab xhost 1.0.2 2007-09-15 15:58:47 +00:00
matthieu
f020cfcb46 merge xgamma 1.0.2 2007-09-15 15:52:21 +00:00
matthieu
18d423ef4b xgamma 1.0.2 2007-09-15 15:49:35 +00:00
matthieu
9aab5a6490 merge xdriinfo 1.0.2 2007-09-15 15:39:51 +00:00
matthieu
3d61dd3fc4 xdriinfo 1.0.2 2007-09-15 15:35:32 +00:00
matthieu
06bf462789 merge xdm 1.1.6 2007-09-15 15:22:59 +00:00
matthieu
b55ce0c285 xdm 1.1.6 2007-09-15 15:13:04 +00:00
matthieu
62f469b3bf merge xconsole 1.0.3 2007-09-13 21:15:15 +00:00
matthieu
f6734f3c2a xconsole 1.0.3 2007-09-13 21:10:16 +00:00
matthieu
ccf5c8c675 merge xclock 1.0.3 2007-09-12 11:55:22 +00:00
matthieu
4f7a0beba6 xclock 1.0.3 2007-09-12 11:52:32 +00:00
matthieu
9f5d7767a1 merge xcalc 1.0.2 2007-09-12 11:38:09 +00:00
matthieu
ba1c346bf4 xcalc 1.0.2 2007-09-12 11:34:14 +00:00
matthieu
ca718b24b2 merge setxkbmap 1.0.4 2007-09-12 11:12:18 +00:00
matthieu
58e8aa09a2 setxkbmap 1.0.4 2007-09-12 11:08:59 +00:00
matthieu
b004e47bf8 merge sessreg 1.0.3 2007-09-11 14:29:16 +00:00
matthieu
f9d2a33fbd sessreg 1.0.3 2007-09-11 14:26:27 +00:00
matthieu
9f945fbaef merge mkfontdir 1.0.3 2007-09-11 13:58:31 +00:00
matthieu
fdeb77034e mkfontdir 1.0.3 2007-09-11 13:56:17 +00:00
matthieu
44d4697efa merge ico 1.0.2 2007-09-11 11:31:58 +00:00
matthieu
498643624b ico 1.0.2 2007-09-11 11:28:37 +00:00
matthieu
e5591833f2 merge iceauth 1.0.2 2007-09-11 11:24:39 +00:00
matthieu
3960c21118 iceauh 1.0.2 2007-09-11 11:19:35 +00:00
jasper
3bbf519bbb fix buffer overflow, as sizeof(paths) won't fit inside the array.
from Stefan Kempf

"looks right to me" matthieu@
2007-09-06 06:01:14 +00:00
matthieu
3f0bef6b35 Add some usage notes describing the current limitations. 2007-08-31 22:02:51 +00:00
matthieu
7c79bd957e - Make the draw_text() function more generic.
- Display an error message on the screen when the calibration error
  is too high before re-starting.
2007-08-31 21:53:55 +00:00
matthieu
69e64ab313 Switch to Xft/Xrender rendering. Welcome to the 21st century. 2007-08-31 21:17:33 +00:00
matthieu
f45e8d18fc Normally, rawmode should not be selected in the output of xtsscale. 2007-08-31 21:14:04 +00:00
matthieu
954f29d459 Remove the useless ts structure, and fix the setting
of the new calibration values.
2007-08-31 20:59:33 +00:00
matthieu
63b35455d7 Fix error computation, in the case where one axis is inverted. 2007-08-31 20:28:18 +00:00
matthieu
bd8915f09a First round of bug fixes/enhancements.
- fix arithmetic errors.
- auto-detect swapxy.
2007-08-30 19:45:25 +00:00
matthieu
0a2bda0266 Install new xterm icons. 2007-08-25 19:17:16 +00:00
matthieu
f3e9bf06bc update to xterm 229. Tested on various architectures by aanriot@ 2007-08-25 18:58:42 +00:00
matthieu
bb994eccf4 import xterm 229 2007-08-25 18:53:27 +00:00
matthieu
9b62700738 Enable Xft support in xdm. X resources for greeter will probably need
some tweaks for low resolution/low colors displays.
2007-08-22 18:45:09 +00:00
matthieu
b46e07479c Nick@ reported that Shift-F1 to Shift-F4 behaviour changed in
xterm-225. This is now controlled by a resource. So force it to the
legacy mode.
2007-08-08 14:35:12 +00:00
matthieu
39d2de7893 Disable xdmcp over IPv6 for now, like it was in XF4 because the
current code listens to IPv6 only by default.
tested and ok mbalmer@
2007-08-06 13:48:50 +00:00
matthieu
a462491a05 Fix quoting for cpp processing 2007-08-05 20:01:48 +00:00
matthieu
ce9833d5cb bring OpenBSD local diffs back in 2007-08-05 19:54:19 +00:00
matthieu
0fbe2a53f3 merge xdm 1.1.4 2007-08-05 19:37:39 +00:00
matthieu
9ab55f74d2 Import xdm 1.1.4 2007-08-05 19:00:25 +00:00
todd
3540f26824 crank to 4.2
puffy v4.2 courtesy Ty Semaka, thanks!
2007-08-03 03:46:18 +00:00
mbalmer
6fa4e46eb4 Typo, it's xsetroot, not setroot.
ok matthieu.
2007-07-30 12:38:19 +00:00
matthieu
9be58eca1a regen 2007-07-29 11:34:29 +00:00
matthieu
46796a2b84 preprocess man page with tbl 2007-07-05 22:20:55 +00:00
matthieu
678c0fa793 the xterm manual page needs to be pre-processed by tbl. 2007-07-05 22:09:06 +00:00
jmc
76c5c60953 Okan Demirmen sent me a diff to kill some silly Fa macros, then persuaded
me to clean this page up;

jasper and bernd gave oks for the Fa removal;
2007-06-29 21:10:37 +00:00
matthieu
2b69aaee49 mkfontscale now have a workaround to build on sh. So re-enable it.
Remainded by todd@.
2007-06-28 18:48:49 +00:00
todd
4253076c6b implement keyboard initiated movement of windows
enhanced version of diff originally from niallo@
man bits from niallo@
ok niallo@ japser@
2007-06-27 13:28:22 +00:00
niallo
b321a79f63 modify "exec" dialog so that it auto-completes based on executables in
_PATH_DEFPATH

add an "ssh-to" dialog which auto-completes based on contents of
 ~/.ssh/known_hosts (M-.)

testing and eyeballing by Simon Kuhnle <simonkuhnle at web.de>, todd@, pedro@
mk@ and David Cathcart <david at cathcart.cx>

ok todd@
2007-06-26 19:34:26 +00:00
matthieu
b3161bf821 Fix static linking. 2007-06-20 21:46:22 +00:00
matthieu
ac30841897 pretty SRCS list. 2007-06-15 19:43:57 +00:00
matthieu
53c7172c05 Merge xterm version 225 2007-06-15 19:34:50 +00:00
matthieu
06d70fc7d7 import xterm 225 2007-06-15 19:29:55 +00:00
jasper
9805442434 don't map hidden windows on re-start.
from aon@iki.fi
2007-06-08 16:29:19 +00:00
jasper
4869cf83ca document the autogroup functionality.
with aon@iki.fi
2007-06-06 22:08:02 +00:00
jasper
f1ac24d0ea make it possible to cycle through the windows when non are selected.
(eg. when they're hidden, now you can cycle through them)

from aon@iki.fi
2007-06-05 19:03:20 +00:00
jasper
a60196d67f draw window borders when redrawing a window
from aon@iki.fi
2007-06-05 18:57:03 +00:00
matthieu
816b8a79ef use make install-strip for the real install. 2007-05-31 15:55:45 +00:00
matthieu
204aa41af3 merge bdftopcf 1.0.1 2007-05-31 05:02:23 +00:00
matthieu
3af72200d7 import bdftopcf version 1.0.1 2007-05-31 04:43:46 +00:00
matthieu
4cf94bad7a fix switching to UTF-8 mode. tested and ok naddy@, msf@. 2007-05-30 21:39:16 +00:00
jasper
4f2fd05371 show hidden windows when they should (eg. when the pointer is warped to them)
from aon@iki.fi via bernd@
2007-05-29 22:38:44 +00:00
jasper
a2e344b05f don't give borderless windows a border, when they're inactive
from aon@iki.fi via bernd@
2007-05-29 22:35:04 +00:00
jasper
4c01ca1125 add two missing closedir()'s
from Antti Nykänen <aon at iki.fi> via bernd@

ok pedro@
2007-05-28 21:11:39 +00:00
pedro
357754d976 Remove files that shouldn't be there, okay matthieu@ 2007-05-28 20:29:25 +00:00
jasper
857d1a8dab convert globals from G_foo to Foo, as per TODO.
"looks good" pedro@, ok matthieu@
2007-05-28 18:34:27 +00:00
matthieu
ff940966b4 Fix installation phase to not overwrite existing /etc/X11/xdm/.
Based on an initial patch by kili@. ok kili@
2007-05-28 17:36:57 +00:00
jasper
c3fa8832ed full screen sized windows
ok matthieu@
2007-05-27 09:23:12 +00:00
jasper
8326dc8ba6 autoconf junk was zapped, so no need for HAVE_CONFIG_H 2007-05-22 22:14:42 +00:00
jasper
1706741235 remove useless #ifdef
ok pedro@
2007-05-22 17:59:17 +00:00
jasper
c79e190087 remove bogus entry (shortcut for xlock) which has been taken care of (C-M-DEL)
ok pedro@
2007-05-22 17:38:51 +00:00
robert
6f6554cb81 more information about passing scale values to wsconsctl(8) 2007-05-22 09:43:22 +00:00
robert
12bf0133a6 hook xtsscale(4) to the build 2007-05-22 09:23:09 +00:00
jasper
9f4c24c2df we don't use this file on openbsd, so zap it.
ok matthieu@ pedro@
2007-05-21 19:24:46 +00:00
jasper
620c663fe1 fix optind
ok ray@
2007-05-21 07:53:11 +00:00
robert
22432ec2e5 add xtsscale(1), an application that can be used to
calibrate touchscreens driven by the uts(4) driver.
it is not linked to the build yet; discussed with matthieu@
2007-05-20 14:43:12 +00:00
matthieu
97b0c49761 use ${INSTALL_DATA} to install pixmaps. From Tim van der Molen. Thanks. 2007-05-16 19:59:15 +00:00
matthieu
0485d9744a resize doesn't need X libs. 2007-05-11 06:54:20 +00:00
matthieu
e4a722ff69 libXaw needs libXpm. 2007-05-11 06:42:50 +00:00
matthieu
3209d0529b regen 2007-05-10 21:38:25 +00:00
matthieu
16e2433edc Work-around gcc segfault on landisk 2007-05-10 21:37:15 +00:00
jasper
a9c22dfab1 - new sentence, new line.
- use .Pp instead of just a newline
- no empty lines between sections.

ok jmc@ matthieu@
2007-05-10 21:28:23 +00:00
jasper
275aee2374 - add a "-d" option, to specify the display cwm should be started on
- adjust argc/argv by optind
- add an ENVIRONMENT section to the manpage

ok matthieu@ ray@
2007-05-10 17:23:49 +00:00
matthieu
8c005bdc41 Disable xfs on landisk and vax for now. 2007-05-09 06:19:30 +00:00
matthieu
0c8fca2585 wm2 is going to ports... 2007-04-27 18:27:54 +00:00
bernd
7b0c14c612 Connect cwm. ok matthieu@ 2007-04-27 18:19:00 +00:00
bernd
6f6ac0afb1 Apply cwm-3-input_shift.diff from http://aon.iki.fi/cwm/. 2007-04-27 18:10:39 +00:00
bernd
7065381a5a Apply cwm-3-exec.diff from http://aon.iki.fi/cwm/. Document the new
key binding.
2007-04-27 18:08:14 +00:00
bernd
7e895a0aca Remove autoconf crap and other stuff we don't need. 2007-04-27 18:04:40 +00:00
bernd
6c8a95a45f Simple Makefile to build cwm. 2007-04-27 18:01:38 +00:00
bernd
1d12f3d8c4 Initial import of cwm-3.
tested by sturm@, ok matthieu@
2007-04-27 17:58:48 +00:00
jmc
0624b3c21b defintion -> definition; ok matthieu 2007-04-16 16:32:01 +00:00
jmc
1434ad26ad desciption -> description; ok matthieu 2007-04-16 16:31:11 +00:00
matthieu
220aba5953 regen 2007-04-15 14:09:29 +00:00
matthieu
d0f11da262 remove extra white space 2007-04-14 16:11:13 +00:00
matthieu
78e84685c7 BSD make based build infrastructure for xterm. The autoconf based
one was too painful to get working on landisk (static only).
2007-04-09 19:11:43 +00:00
matthieu
9a4d745922 Fix libraries list for static architectures 2007-04-09 18:59:57 +00:00
matthieu
103d933d37 fix libraries list for static architectures 2007-04-09 15:48:56 +00:00
matthieu
e46fbfffa8 fix library list for static architectures 2007-04-09 15:47:23 +00:00
matthieu
dfd79f109e Fix libraries list for static architectures 2007-04-09 15:43:48 +00:00
matthieu
e8f770056e redefine realinstall, not install here. Fixes existing afterinstall targets. 2007-04-09 11:23:29 +00:00
matthieu
28973488c0 Fix libraries list for static architectures 2007-04-09 11:14:25 +00:00
matthieu
a6580ebfdf Fix libraries for static architectures. 2007-04-09 10:43:05 +00:00
matthieu
5d45273a48 Fix libraries list for static arches 2007-04-09 10:33:47 +00:00
matthieu
8c469d8056 Complete list of libraries for static architectures 2007-04-08 21:53:14 +00:00
matthieu
01c8e24d13 regen 2007-04-08 21:42:21 +00:00
matthieu
8d3e37cbf4 Build xfs with fontcache support. 2007-04-08 21:41:40 +00:00
matthieu
4dd3c5cd04 regen 2007-04-07 18:00:10 +00:00
matthieu
18ce9e9e14 Re-enable bsdauth support. Reported and tested by ajacoutot@ 2007-04-07 17:58:02 +00:00
matthieu
40441dfe2a pass CFLAGS to configure 2007-04-07 15:45:13 +00:00
matthieu
a9b60c64cf Strip programs installed by automake. 2007-04-07 15:10:35 +00:00
matthieu
be0175017e regen 2007-04-05 20:47:08 +00:00
matthieu
c38612e0f6 Fix library ordering for static arches 2007-04-05 20:29:27 +00:00
tedu
e917930990 disable the alt-arrow combos by default. alt-left/right seems
much more useful controlling firefox history than bouncing the screen
around.  ok marco
2007-04-05 02:30:07 +00:00
david
417e49cb7f more $Xenocara$ -> $OpenBSD$; ok matthieu@ 2007-04-04 22:33:46 +00:00
david
8eda1a96a2 do_exit must be called before exiting so ssh-agent can be killed
matches XF4 version; ok matthieu
2007-04-04 22:29:12 +00:00
matthieu
ca57eb7602 XENOCARA_TOP -> XSRCDIR and now defaults to /usr/src/xenocara
XENOCARA_OBJDIR -> XOBJDIR  and now defaults to /usr/xobj
suggested by espie@ ok krw@ mbalmer@
2007-03-31 20:25:53 +00:00
aanriot
9618db6f9c - add an INSTALL_DATA target in bsd.xorg.mk (inspired by bsd.port.mk).
- start using it in fvwm, ssh-askpass and xsystrace (more to come).

ok matthieu@
2007-03-30 17:24:12 +00:00
matthieu
4bf984ced2 We now need an obj dir here. Spotted by bernd@ thanks. 2007-03-27 19:49:43 +00:00
matthieu
3d6760b7f5 Use ttyC1 for xdm on zaurus. 2007-03-26 12:15:47 +00:00
aanriot
8da46d9539 automatically fill in the currently used release of OpenBSD before
installing .fvmwrc (it's affecting the pager).

help & ok matthieu@
2007-03-25 19:35:56 +00:00
matthieu
00a847b3f8 regen with libtool 1.5.22p9 2007-03-25 13:02:54 +00:00