okan
1f1b40b2c2
- merge grab_sweep() into mousefunc_window_resize().
...
- merge grab_drag() into mousefunc_window_move().
- properly name, proto and static private functions.
- since we already do XMoveResizeWindow() and XMoveWindow() in (now)
mousefunc_window_resize() and mousefunc_window_move() respectively,
client_resize() and client_move() calls are unnecessary.
ok oga@
2009-01-11 18:34:46 +00:00
okan
343413a720
FcNameParse() manpage lies, cast here.
...
found with pcc.
ok oga@
2009-01-11 18:32:08 +00:00
okan
7b276c6791
remove unused variables
...
ok oga@
2009-01-11 18:25:49 +00:00
matthieu
52d6539f3c
xterm 239
...
correct a cast in input.c, which broke translation of numeric
keypad codes to pageup, pagedown, etc., on 64-bit platform (Debian
#511138 , report by Larry Doolittle).
2009-01-10 18:08:42 +00:00
oga
d6ad440728
If the mousebutton is unknown when we go to grab, don't just print a
...
warning, but also skip the XGrabButton call. Noticed by code inspection
by okan@, but we agreed my fix was cleaner.
ok okan.
2009-01-08 21:35:19 +00:00
matthieu
7a43c97042
Disable allowFontOps, allowTcapOps and allowWindowOps by default
...
on OpenBSD.
2009-01-06 20:31:59 +00:00
matthieu
7d6f399c75
xterm 238. includes fix for CVE-2008-2383.
2009-01-06 20:10:20 +00:00
okan
32b6a0bc15
remove "search should ignore the current window" from list, for the
...
current behavior is better...
ok oga@
2009-01-06 00:41:09 +00:00
okan
4d0c216b55
HasXinerama is an int
...
ok oga@
2009-01-06 00:19:55 +00:00
okan
f7e5fe5537
remove unused code
...
ok oga@
2009-01-06 00:18:07 +00:00
matthieu
ea3c465f2e
Avoid infinit loop on make clean. Problem found by mglocker@.
2009-01-03 17:55:00 +00:00
matthieu
6cc8d9324a
xedit 1.1.2
2009-01-01 15:30:40 +00:00
matthieu
6e75710066
mkfontscale 1.0.6
2009-01-01 15:24:14 +00:00
matthieu
1533e1e5e4
Disable build of deprecated proxymngr and xfindprox applications.
2008-12-23 09:02:50 +00:00
matthieu
696c509e89
Remove obsolete applications (replaced by xinput).
2008-12-23 08:59:21 +00:00
oga
d4dd2359ac
Kill obviously dead variable.
2008-12-04 23:55:04 +00:00
oga
15161fba13
Don't ignore sigpipe. Everytime cwm forks it execs anyway (so it
...
shouldn't get that signal), and this causes problems for our children
since they inherit the ignore.
Pointed out by Jacek Masiulani in pr 6010; thanks!
2008-12-03 23:55:46 +00:00
matthieu
b44ff0aad7
xedit 1.1.1
2008-10-13 20:53:31 +00:00
matthieu
2712cbe1e6
luit 1.0.3
2008-10-13 20:34:11 +00:00
oga
eb02c0fb7a
Xinerama and XRandR dual head support for cwm(1). Now we detect the xrandr
...
reconfiguration events and change our sizes depending on that. We also detect
the xinerama screens for maximize, vertmaximize and initial window placement.
This could be improved by automatically resizing maximized windows when
the screen resolution changes and by moving windows that would be hidden
into visible space. Said changes will come shortly.
Tested by many. matthieu@ didn't oppose.
2008-09-29 23:16:46 +00:00
matthieu
215beda67c
xterm 237. tested by krw@ oga@ and others.
2008-09-23 19:08:55 +00:00
oga
f5db6743c6
.Bl needs a matching .El. From Martin Toft a while ago, thanks!
2008-09-22 14:37:12 +00:00
oga
a31ba9ca46
Improve wording of the ``ignore'' directive. From Martin Toft a while
...
ago, ok okan@ from similar amount of time ago.
2008-09-22 14:35:16 +00:00
oga
9e7ba1fa24
*sigh* Revert the diff that wasn't meant to go in yet.
...
note to self: When you mean to type cvs commit search.c, don't forget
the filename.
2008-09-22 14:28:04 +00:00
oga
0f0542ace1
Display the current window title not a previous one in the case of
...
``show all'' in the window search dialogue. Noticed and diff from Tim
van der Molen, thanks!
2008-09-22 14:15:03 +00:00
matthieu
20301d4446
Remove deprecated applications (have been disabled for several month).
2008-09-14 13:18:28 +00:00
matthieu
c274ccee10
build xcompmgr.
2008-09-13 16:36:52 +00:00
matthieu
15769b01aa
Patch from X.Org -current: Make usage() report the current version.
2008-09-13 16:22:25 +00:00
matthieu
dd8896a496
Xenocara build infrastructure and regen autotools files.
2008-09-13 16:19:05 +00:00
matthieu
8f60c8493e
Import xcompmgr 1.1.4.
...
It will replace the version in ports now that its license has been
clarified. ok ajacoutot@ balmer@ oga@.
2008-09-13 16:15:43 +00:00
matthieu
f7acc14330
Enable xinput, disable xsetmode & xsetpointer.
2008-09-07 21:09:57 +00:00
matthieu
2ea901fcb3
Xenocara build infrastructure and regen autotools files.
2008-09-07 13:31:56 +00:00
matthieu
4f74aa8fd3
Import xinput 1.3.0. Replaces xsetmode(1)/xsetpointer(1).
2008-09-07 13:28:39 +00:00
canacar
0f1b286a2e
Keep the exec menu entries sorted.
...
Go for it okan@
2008-09-03 04:39:12 +00:00
matthieu
52d6163acf
Remove extra semi-colon after conditional. Tested by phessler@.
2008-09-01 19:18:13 +00:00
matthieu
b58642ac9d
xwininfo 1.0.4
2008-08-27 19:30:04 +00:00
matthieu
ef0d58967c
xwd 1.0.2
2008-08-27 19:24:47 +00:00
matthieu
cf96e1067e
xterm-236. Tested by form@ and simon@.
2008-08-25 18:05:56 +00:00
oga
5d526ad59f
fix the froggy problem.
...
Implement a handler for the MappingEvent, meaning that the keymap has changed.
When this happens, ungrab all bindings, update the map, and regrab.
Fixes the problem where some keybindings wouldn't work under non us or
uk keymaps (especially the .fr map, it seems). Issue noticed by
ajacoutot@, ratchov@, and a few people on misc. Based on an initial diff
from ratchov@.
ok okan.
2008-07-22 21:01:54 +00:00
oga
cdb45f007b
We've been handling grabbing wrong all this time (noticed at c2k8).
...
add conf_grab() and conf_ungrab, and use them in the keybinding manipulation
functions to {,un}grab the binding for all screens we have defined.
the lovely little ordering problem comes in here, since when we parse
the config initially Screenq is empty, so regrab after we fill the
queue, hopefully later reordering will remove this little need and there
will be much rejoicing.
ok okan.
2008-07-22 20:51:54 +00:00
oga
c462c7e1b6
split x_setup() into two. dpy_init() for setting up the display and
...
checking the X config, and x_setup to set up the screens.
There's an ordering problem that means that some of this init needs to
come after the config is parsed, the rest should ideally happen before
though. This is a rough split, it will be refined later. Again, needed
for an upcoming change.
ok okan.
2008-07-22 20:42:24 +00:00
oga
893d8d3dd0
Add xu_key_ungrab() and a mirror to xu_key_ungrab(). a couple of changes
...
that are coming up depend on it.
ok okan.
2008-07-22 20:26:12 +00:00
oga
91dbf08299
Kill screen_init(). it's been stubbed out for a while now. I don't envision it
...
coming back in it's current form.
ok okan@.
2008-07-22 19:54:57 +00:00
oga
ea5ee72e33
kill another leftover prototype.
...
ok okan@
2008-07-22 19:52:54 +00:00
matthieu
f4cf1775d9
Formatting fix. From Tim van der Molden.
2008-07-20 06:47:48 +00:00
oga
b4d2f0f926
Put back the initialisation of gc in group_cycle. No cookie for okan.
...
Reported by Dan Harnett, thanks!
2008-07-18 15:40:52 +00:00
okan
4c22c74258
add cwm to exec/restart menu
...
ok matthieu@ oga@
2008-07-16 12:43:05 +00:00
okan
45606f7a0d
move client_vertmaximize to a more sensible location, purely for readability.
...
"don't mind at all" oga@
2008-07-15 22:12:09 +00:00
okan
d995c0ea4d
save an X call and use what we already have stored.
...
ok oga@
2008-07-15 22:06:48 +00:00
okan
37abf72424
don't compensate for bwidth twice.
...
ok oga@
2008-07-15 13:52:02 +00:00
okan
53b397c1a3
Nm makes more sense than Xr, from Pierre Riteau - thanks!
2008-07-11 22:43:44 +00:00
oga
36326e6e7f
Change "a window" to "current window" in documentation. it's more correct.
...
While i'm here: Capital letter and full stop in descriptions in cwmrc.5
"looks good - do it" okan@.
2008-07-11 15:42:29 +00:00
okan
ee7ecdb4de
add Xr for cwm(1)
2008-07-11 15:20:04 +00:00
okan
d9407b888b
no more hidden (and mysterious) config reloads and allow binding a key
...
to a config reload; CMS-r by default.
ok oga@
2008-07-11 15:18:29 +00:00
okan
2e276584ab
replace snprintf with strlcpy
...
ok oga@
2008-07-11 14:24:34 +00:00
okan
de181a1c1f
we already have ymax, so use it instead of asking X for it again.
...
ok oga@
2008-07-11 14:23:30 +00:00
okan
cfb9c394cb
spacing, declaration lineup to be consistent throughout cwm,
...
readability, and a bit of knf.
ok oga@
2008-07-11 14:21:28 +00:00
todd
c727b6dd04
puffy 4.4
2008-07-02 02:29:59 +00:00
okan
9280b8fb5b
only cycle through visible *and* non-ignored windows.
...
ok oga@
2008-06-30 17:52:37 +00:00
oga
ff24dcbd56
Allow a mouse binding to hide a window, and add a default keybinding for CMS-M3,
...
so it's hard to press by accident, but there if you need it.
requested (in a way) and tested by johan and todd.
2008-06-25 22:44:42 +00:00
oga
553a7ea586
Support mod4 (windows key) in mouse bindings too.
2008-06-25 22:40:27 +00:00
oga
ff29a8e71a
Support shift in mouse bindings. There's really no reason not to.
...
tested by johan@ and todd@.
2008-06-25 22:38:36 +00:00
oga
5c700f8601
Actually grab the correct mouse buttons for a window, instead of doing the
...
old hardcoded ones (which now can be wrong).
tested by todd@ and johan@.
2008-06-25 22:37:29 +00:00
oga
7d5d330707
Sort flags.
...
From Pierre Riteau, thanks!
ok okan@.
2008-06-25 01:09:09 +00:00
oga
6963c8bb7d
Stop keyboard move moving the window utterly off the screen. If that
...
happens there's no way to get it back. Also, stop resize making a
windows size negative or zero. X does not like that one bit.
Diff from Martynas. Ok okan@.
2008-06-25 00:52:47 +00:00
matthieu
932e098f54
regen
2008-06-19 21:58:47 +00:00
matthieu
136098757a
- Don't depend on installed lbxproxy.
...
- Comment out the lbxproxy config in sample configuration file.
problem noticed by naddy@
2008-06-19 21:58:14 +00:00
oga
cb1f8b37f8
Don't link "-lX11 -lXau -lXdmcp" twice.
...
From Martin Toft, thanks!
2008-06-19 02:21:30 +00:00
oga
2ece6ad4cf
No need to map/unmap the window on hide/show since we already do the
...
same to its parent.
"makes sense" okan@.
2008-06-18 20:42:29 +00:00
matthieu
2a567d887f
Tis file is no longer in xinit 1.1.0.
2008-06-18 20:33:15 +00:00
matthieu
1420b92429
update to xinit 1.1.0.
2008-06-18 20:31:51 +00:00
matthieu
08ba1c99bd
Disconnect lbxproxy, xphelloworld, xplsprinters and xprehashprinterlist
...
from the build. Those clients are not useful anymore now that the
server side is not there anymore. ok krw@ mbalmer@ and others.
2008-06-18 20:19:53 +00:00
oga
6bc6a1ee97
Revert previous "fix" it introduces new issues of its own.
...
The problem that's causing us to lose windows is that rapid hiding and
unhiding causes a backlog of X events, so we lose track of client state,
and delete cc->pwin when we should not. A proper fix will arrive when it's been
worked out.
2008-06-18 19:09:12 +00:00
okan
5cf4e1c7ef
missed one mouse function
...
noticed by oga
2008-06-17 23:46:49 +00:00
oga
81e6cb3e95
Ignore caps lock and numlock for keyboard bindings. The way Xlib makes
...
you do this is ugly. Also remove mod2 (numlock) and mod3 (odd) from the
list of keybinding modifiers. They don't make much sense here.
based on a heavily modified diff from Martynas.
ok okan.
2008-06-17 23:40:33 +00:00
matthieu
a107e63a20
Replace rsh with ssh in the extrace/merge example. Rsh is no more.
2008-06-17 21:34:31 +00:00
oga
812ce180c5
Just rework the mouse binding calculation on event to look like the
...
kbfunc one. Makes the code a lot easier to read.
Fixes a bug i introduced in the last commit here.
ok okan.
2008-06-17 20:55:48 +00:00
oga
34c24fdb68
The mousebinding code missing a break once it had found the correct
...
binding, this expose another issue that's still being debugged.
Issue pointed out by Dan Harnett, thanks!
While i'm here KNF and rework the logic to not be ass-backwards.
ok okan.
2008-06-17 20:21:17 +00:00
mk
3d8c29aa2b
Make this not crash when compiled with -g.
...
Found by myself, analysis by kurt@, fix by me with input from otto.
``Just get some fix in...'' deraadt
2008-06-16 19:09:48 +00:00
oga
4ef73665d3
Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.
...
makes the code a lot simpler. While here rearrange the font handling functions
to be less shit.
ok and help okan@.
2008-06-15 02:47:46 +00:00
okan
b3cbe6ba11
(mostly) proper xshape event support
...
ok oga@
2008-06-14 22:04:11 +00:00
okan
a880cefb2e
unbreak
2008-06-14 21:59:09 +00:00
okan
b48fb0f64d
slightly alter the semantics of config files:
...
- if no config file, continue silently and apply defaults
- if config file, parse and move on
- if config file specified but not found, error out
ok oga@
2008-06-14 21:51:00 +00:00
okan
4a6468a264
confable menu and window mouse bindings from rivo nurges (thanks!) with
...
some minor fixups, man page bits and knf.
ok oga@
2008-06-14 21:48:54 +00:00
matthieu
2bcb8fed1a
Update to xkbcomp 1.0.5
2008-06-14 17:11:32 +00:00
matthieu
c2c271a871
Update to xfsinfo 1.0.2
2008-06-14 16:49:28 +00:00
matthieu
a1c7582f93
config.h.in was renamed xfs-config.h.in. missed in previous commit.
...
noticed by claudio@.
2008-06-14 13:07:28 +00:00
matthieu
cfa38e1f98
Man page update for fixed font label display change.
2008-06-14 01:07:29 +00:00
matthieu
7f2bd19b4a
When displaying a multi-lines label, switch to a fixed-width font
...
for 2nd and following lines, to make ascii art look correct.
ok deraadt@, grunk@.
2008-06-14 01:05:04 +00:00
okan
7a45a93574
finally document functions that can be bound, removing the need to have
...
name_to_kbfunc[] around.
feedback jmc@, ok oga@
2008-06-13 21:22:34 +00:00
matthieu
63286dc135
update to xfs 1.0.8.
...
(The multiple defined symbol problem is not fixed yet)
2008-06-13 21:00:35 +00:00
matthieu
fb9de713bd
Update to xdpyinfo 1.0.3 + one local change: don't print (null)
...
from XF86VidModeGetMonitor().
2008-06-13 17:49:12 +00:00
matthieu
a6907fb0c2
update to sessreg 1.0.4
2008-06-13 15:43:03 +00:00
matthieu
3a5d11e108
Update to showfont 1.0.2
2008-06-13 05:01:00 +00:00
matthieu
f6553ec825
Update to rgb 1.0.3
2008-06-13 04:55:03 +00:00
oga
daf3b54725
Don't client_delete() on an Unmap event, only do that on a client delete event.
...
found by (among others) todd@ when you have a lot of clients and do something
that maps and umaps a lot of windows fast.
Debugged with aid of gdb, todd, okan and NULL pointers in a pizza place in
edmonton while waiting an inordinately long time for food.
ok okan@, todd@
2008-06-13 03:41:58 +00:00
matthieu
f275352e0c
update to mkfontscale 1.0.5
2008-06-13 01:01:26 +00:00
matthieu
ab31903cb7
Update to fstobdf 1.0.3
2008-06-13 00:10:59 +00:00
matthieu
a22a0d05d6
Update to fslsfonts 1.0.2
2008-06-13 00:07:36 +00:00
matthieu
30017d821b
Update to fonttosfnt version 1.0.4.
2008-06-13 00:04:06 +00:00
okan
7b8f1156d3
kill another long gone proto
2008-06-12 19:10:56 +00:00
okan
ef151e79af
remove old (moved) code
...
ok oga@
2008-06-12 18:55:35 +00:00
okan
ad2ae8461f
instead of forcing the ptr in the middle everytime, be more 'calm'; keep
...
the ptr still unless it moves out-of-bounds, then just follow the edge.
brought up by todd@
ok oga@
2008-06-12 18:32:06 +00:00
okan
94f0aa5a59
place the pointer in the middle of the window after resizing with grab,
...
just like keyboard resize.
from Edd Barrett
ok oga@
2008-06-12 05:10:24 +00:00
okan
84aeb967ba
ignore if non-zero expose events, for we could be covered by multiple
...
windows; merely an optimization.
ok oga@
2008-06-12 05:01:13 +00:00
okan
0d911cac19
re-work client_placecalc()
...
- make sure new clients sit inside the current screen
- respect 'gap' placement on new clients
ok oga@
2008-06-12 04:59:51 +00:00
okan
45b2fad725
Enter -> Return, to be consistant and correct.
...
found the hard way by johan and discovered by oga.
"do it" oga@
2008-06-05 14:29:01 +00:00
okan
f42ad31e00
prevent trying to exec a null char; could potentially happen with a
...
canceled or empty searchstr.
ok oga@
2008-06-05 04:01:37 +00:00
okan
9005249c59
actually honor termpath and lockpath if specified in cwmrc.
...
"now" oga@
2008-06-05 00:07:05 +00:00
okan
2abd40cbdb
"Meta is a perfectly well defined concept in X (The keys bound to the
...
Meta_L or Meta_R keysysm). no need to redefine it roughly there" - matthieu@
2008-06-03 21:27:47 +00:00
okan
ddd8d269ff
make sure to take bwdith into account when placing a new window.
...
ok oga@
2008-05-23 18:57:35 +00:00
oga
6d57649414
Grab the keyboard when we initialise the menu. This stops the keyboard
...
shortcut code stealing our events in some cases.
"put 'er in" okan@.
2008-05-23 18:48:57 +00:00
oga
bad8c87b4a
Make menu_filter handle mouse movement too. This enables the keyboard
...
search dialogues to be manipulated with the mouse, too. It also allows
me to shrink the codebase further by killing grab_menu().
One known issue with highlighting the first entry in a search dialogue,
that'll be fixed soonish.
ok okan@, tested by Edd Barrett and todd@.
2008-05-21 14:11:19 +00:00
oga
ca512ce795
Pull out the behaviour in grab_label and search_start into one utility
...
function menu_filter(). The plan is to eventually merge in grab_menu too.
Shrinks the code a fair bit.
Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other
windows. This is particuarly noticable on slow machines with a LOT of xterms
(todd, you're an odd man).
ok okan@, todd@.
2008-05-20 14:50:51 +00:00
oga
f8b4088fad
General cleanup.
...
ok okan@.
2008-05-19 18:53:09 +00:00
okan
88bce60b1c
stop normalizing search input; searching and matching are still
...
case-insensitive. since this was the only use of normalizing input,
simplify as well.
allows one to exec with mixed case unmatched commands.
"works for me" oga@
2008-05-19 18:07:53 +00:00
oga
e13d74cfcc
Function prototypes should not have parameter names in them. These must
...
have been missed last time i knfed this.
ok okan.
2008-05-19 17:32:22 +00:00
okan
d07a7f737f
client_cyclenext() -> client_cycle() since we now pass an arg.
...
removes a stray proto as well.
discussed with and ok oga@
2008-05-19 17:24:19 +00:00
oga
796006fd7f
allow an autogroup value of 0 to mean no group. This means you can set
...
automatically "sticky" (in the traditional sense of the word) windows in
autogroup mode.
Based on an initial diff from Andrew Fresh, thanks!
ok okan@.
2008-05-19 17:13:55 +00:00
okan
7f3adeacc7
as done with cycle/rcycle, make prev/next group switching one kbfuncs
...
and use a flag; adjusted to match and rename to {r,}cycle.
"ok, since i came up with the same thing" oga@
2008-05-19 17:11:19 +00:00
oga
80fd601708
Use the XGrabKeyboard hack in for alt-tabbing as well. This stops the
...
mru getting the order messed up when gvim/xpdf et all steal key events.
While i'm here, change the logic in client_cyclenext() to use break instead
of goto, it's nicer that way.
Thirdly, instead of two different kbfuncs, just use the one and a flag.
"put your cycle diff in so I can pkg_delete gvim" okan@
2008-05-19 15:17:50 +00:00
okan
0a4376b166
finally implement keyboard binding for group toggling
...
idea for the
"slightly-less-abhorrent-hack-but-a-hack-nonetheless-TM" from oga@
grab and ungrab the keyboard to get around some silly X apps that like
stealing events
ok oga@
2008-05-19 12:56:58 +00:00
okan
98aad18f7d
send the correct x/y coordinates to XConfigureWindow()
...
fixes some windows that seem as if they don't fit; noticed by Edd Barrett.
ok oga@
2008-05-18 20:06:36 +00:00
okan
0e709156e6
remove extra calls to client_draw_border()
...
ok oga@
2008-05-18 20:00:16 +00:00
okan
8d2a0490e4
fix backwards logic in example; found by oga@
2008-05-18 19:57:43 +00:00
oga
ca54149838
Fix two problems with conf_unbind():
...
1) it used TAILQ_FOREACH() when it's removing entrys from the list, this
is bad.
2) We didn't free key, so there was a small memleak too.
also rework conf_bindname's logic slightly to be more simple.
ok okan@
2008-05-18 19:47:19 +00:00
oga
61bdc5d36a
Kill conf_get_int(), it was a silly function anyway.
...
Since it's only used once just put the (simplified) logic into
conf_client() instead. This means we can kill an enum and
CONF_IGNORECASE, too.
ok okan@
2008-05-18 19:43:50 +00:00
oga
86b3e4dc4d
group_ctx->name is only used in this one function, and for now it
...
corresponds directly to the static list of group names. Just use the
static list and stop strdup()ing a new version for the context struct.
Since that never got freed this also fixes a small memleak.
Kill some unused variables while i'm here.
ok okan@
2008-05-18 19:38:18 +00:00
oga
e30f288bf4
When we're cleaning out the lists in parse_config and conf_clear it's a
...
lot simpler just to do while (entry = TAILQ_FIRST(head)) than to do a
for () over the whole lot. Simpler, shorter and probably faster.
ok okan@
2008-05-18 19:34:09 +00:00
okan
c3eca00a7c
- re-order and mostly re-write cwmrc(5)
...
- merge example config file into cwmrc(5) and remove (little good in here)
feedback from jmc@ - thanks!
ok simon@
2008-05-18 19:33:36 +00:00
okan
662115e25e
fix cwm's current XShape support from Edd Barrett -thanks.
...
XShape events should be handled at some point.
ok oga@
2008-05-17 03:59:54 +00:00
oga
4539521994
KNF, no binary change.
...
From Pierre Riteau. Thanks!
2008-05-15 22:18:00 +00:00
okan
6c44f202a4
tiny bit of knf
...
ok oga@
2008-05-15 21:56:21 +00:00
matthieu
c6cf53ff4a
Explicitly disable rplay. Found by mbalmer@
2008-05-11 20:36:28 +00:00
tobias
88f967a8bd
Signal handler of SIGCHLD calls waitpid() which sets errno on error. To
...
avoid clubbering of errno in normal context, save_errno got introduced.
ok oga
2008-05-06 15:12:04 +00:00
oga
519744a58e
Rework the alt-tabbing code to be a lot simpler.
...
Diff mostly from Edd Barrett, with some minor changes from me.
Unfortunately the issue where apps like gvim and xpdf are stealing
keyrelease events causing the ordering to be messed up, but this is a
lot better. A fix for the aforementioned issue shall be forthcoming,
once a good one's been found.
ok okan@, also tested by todd@
2008-05-01 18:01:13 +00:00
simon
73b49edae1
Allow slashes in unquoted strings.
...
From Pierre Riteau
Makes sense to oga@
2008-04-29 20:17:28 +00:00
okan
31b5fe3b59
nits from Pierre Riteau - thanks!
...
ok oga@
2008-04-28 01:27:46 +00:00
matthieu
a8dfa1fd5d
Add 2 files added with 1.0.4.
2008-04-21 06:04:31 +00:00
matthieu
9dbb6c9bfd
Update to xset 1.0.4
2008-04-20 16:47:32 +00:00
matthieu
25faa3f792
update to xrdb 1.0.5
2008-04-20 16:42:58 +00:00
matthieu
a99339125b
Update to xprop 1.0.4
2008-04-20 16:36:07 +00:00
matthieu
b0446f754a
Update to xkbcomp 1.0.4
2008-04-20 16:32:06 +00:00
matthieu
33acf34151
Update to xinit-1.0.8, while preserving local changes.
2008-04-20 13:46:02 +00:00
matthieu
e14d5aefcd
Get rid of the Xwrapper hack. OpenBSD doesn't support XFree86 3.3.x anymore.
2008-04-20 13:25:46 +00:00
matthieu
4aab415a58
update to xev 1.0.3
2008-04-19 16:59:34 +00:00
matthieu
5e9eca7e93
update to xdm-1.1.7 (No changes on OpenBSD).
2008-04-19 16:54:56 +00:00
matthieu
40cc08d6c3
update to x11perf 1.5
2008-04-19 16:23:00 +00:00
matthieu
a993561bd4
update to twm 1.0.4
2008-04-19 15:43:39 +00:00
matthieu
6f491b67d8
Update to xrandr 1.2.3.
2008-04-19 14:40:52 +00:00
oga
eb613a1bb7
merge kbfunc_{ptrmove,client_{move,resize}} into one function that takes a flag,
...
this code was almost identical...
ok okan.
2008-04-16 13:47:29 +00:00
oga
fb651469ee
remove infowin. It slipped out of the last commit, for some reason.
2008-04-16 13:40:34 +00:00
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