Commit Graph

1379 Commits

Author SHA1 Message Date
okan
3f2d53b6dd allow configurable menu font color; from Alexander Polakov with a tweak
from me.

ok oga@
2011-09-08 12:35:33 +00:00
okan
107bc37429 allow menufg/menubg to be configurable; from Alexander Polakov.
ok oga@
2011-09-08 12:07:03 +00:00
okan
9ab59987f7 reinit menu on reload; from Alexander Polakov. needed for catching
upcoming menu config changes.

ok oga@
2011-09-08 12:00:49 +00:00
okan
9dabac6117 restore a comment and add another for clarity. 2011-09-05 07:37:55 +00:00
oga
d341c2bfd8 Make flavours of maximisation additive.
i.e. horiz-max + vertmax = full maximisation.  full - horiz = vertmax.
etc.

Martynas wrote something like this once, so I did okan, this version
seems to finally deal with the corner cases.

ok okan@.
2011-09-04 16:59:31 +00:00
okan
d1b5022611 split off window hints from geometry so we don't need to carry them all
around when dealing with {,h,v}max.  same idea from oga.
2011-09-03 09:42:33 +00:00
okan
ed6f73250e simplify color initialization.
ok oga@
2011-09-03 09:25:39 +00:00
okan
aa9dbd1dca Add {r,}cycleingroup to cycle through clients belonging to the same
group as the active client (as opposed to all unhidden clients); from
Alexander Polakov, with a tiny tweak requested by oga.

ok oga@
2011-09-03 09:20:58 +00:00
okan
f93ec1eba0 "defaultfont" is unclear (and confusing while reading code) when it also
applies to the user supplied font, so rename.

ok oga@
2011-09-03 09:17:16 +00:00
matthieu
a40b5df9e7 Switch to xkeyboard-config is done. Remove old xkbdata and unifdef it.
ok shadchin@
2011-08-30 21:15:30 +00:00
okan
d44962b456 zap unused macro. ok oga@ 2011-08-29 09:10:49 +00:00
okan
dda3ed6180 restore mouse move via the keyboard, noticed by todd@. while the check
for cc was wrong due to the fact that cc->sc is always filled in during
the event, we don't even need it - just operate on the focused screen's
root window regardless.

ok todd@ oga@
2011-08-29 09:09:45 +00:00
matthieu
82fb94cb15 Update to xterm 273. Tested by marco@, jasper@. 2011-08-28 17:40:55 +00:00
matthieu
b9695778d5 2 more .orig files added by mistake. Noticed by shadchin@. Thanks. 2011-08-28 14:23:18 +00:00
matthieu
cdcbc06814 Update to xset 1.2.2 2011-08-28 13:24:52 +00:00
matthieu
007b4f1d62 Update to xrandr 1.3.5 2011-08-28 13:21:00 +00:00
matthieu
6ef0fdd29a Update to xprop 1.2.1 2011-08-28 13:16:51 +00:00
matthieu
c54f608f30 Update to xman 1.1.2 2011-08-28 13:15:52 +00:00
matthieu
b97ad55872 Update to xkbcomp 1.2.3 2011-08-28 11:21:51 +00:00
matthieu
a436c5afac Update to x11perf 1.5.4 2011-08-28 10:45:18 +00:00
matthieu
7a8ca1500f Oops. Didn't mean to add this file. 2011-08-28 10:39:39 +00:00
matthieu
6b48a62adb Update to twm 1.0.7 2011-08-28 10:32:22 +00:00
matthieu
3318d5e0f5 Update to smproxy 1.0.5 2011-08-28 10:21:07 +00:00
matthieu
9438b2112e Update to mkfontscale 1.0.9 2011-08-28 10:19:31 +00:00
oga
af80ac7042 A while ago I wrote some code to not warp to ignored windows on map (rev
1.52), not realising that the previous (less efficient) fix had already
been commited (rev 1.50).

Had this in my tree for ages to remove the previous code. Effectively
reverts rev 1.50.

ok okan@
2011-08-22 16:34:34 +00:00
okan
661c8ef1c1 revert r1.11 of parse.y and create logic in conf_setup instead to deal
with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit.  triggered by bogus warning
first noticed by sobrado@.

ok oga@
2011-08-22 16:18:05 +00:00
marco
722a82d253 Compile trace.c as well so that OPT_TRACE 1 actually works.
ok matthieu
2011-08-18 20:27:03 +00:00
matthieu
80d4fad9d4 Update to xterm 271. Tested by shadchin@ and ajacoutot@ 2011-08-18 19:47:42 +00:00
todd
f61900dfbe puffy 5.0 2011-08-04 03:53:14 +00:00
okan
648d5b0b39 Re-draw borders after reloading, not before; from Alexander Polakov.
ok oga@
2011-07-26 08:51:24 +00:00
okan
3826753e1a use the menu border; from Alexander Polakov, but with the existing define.
ok oga@
2011-07-25 15:41:05 +00:00
okan
bd65f03126 We are inconsistent when it comes to function returns, so just go all
the way with the cwm specific parts.

ok oga@
2011-07-25 15:10:24 +00:00
okan
24bf547e5f Clarify defines and make them not look like non-local ones; started by a
small diff from Thomas Pfaff.

ok oga@
2011-07-23 13:09:11 +00:00
matthieu
e4c257bcd3 Remove an extra debugging printf that leaked in previous commit. 2011-07-16 17:54:07 +00:00
matthieu
06beb28a5c Check if an input device has calibration data before accepting it as
as candidate for calibration.
2011-07-16 17:32:24 +00:00
matthieu
b67526b998 Tweak and fix an unreadable sentence. 2011-07-16 17:30:17 +00:00
matthieu
fc1734598c Add a '-c' option to keep the X cursor visible while calibrating. 2011-07-16 17:27:52 +00:00
matthieu
6efadade45 White space cleanup. 2011-07-16 17:21:41 +00:00
okan
df02d70181 correct spelling; from Alexander Polakov. 2011-07-14 11:39:53 +00:00
jasper
5e7ee14517 spello 2011-06-28 08:18:49 +00:00
okan
33023ff923 UTF8-ify, from Alexander Polakov, but without setlocale(), after
feedback from stsp@ - thanks!

'go for it' oga@
2011-06-27 12:46:54 +00:00
okan
9eac37010a warn if we can't parse the config file on start, just like we do on reload.
part of a larger diff that was ok oga@
2011-06-25 13:37:05 +00:00
okan
5f2753dc80 Since cwm(1) uses the same parser as others in src, document how
comments and line extensions work.  Taken from sthen@'s recent
commit in src.

ok sthen@
2011-06-25 13:12:56 +00:00
okan
0fd446f068 add 'normal' cursor and shuffle the others we use to make a bit more
sense and to be slightly less un-expected.  from Alexander Polakov.
re-use 'normal' cursor now instead XC_hand1 for menu selection.  i
really wish X had real docs and made sense.

ok on earlier diff with '?' removed (but it's back now) oga@
2011-06-24 06:52:23 +00:00
okan
53fbeb4e7a New option to raise a client via the mouse (unbound by default);
opposing action, lower, already exists and bound.  Both keyboard
mappings already exist.

'no opinion either way' oga@
2011-06-24 06:09:26 +00:00
okan
ffa68ab4a0 introduce a new config option to snap to the screen edge. 'snapdist'
keyword taken from a diff from Sviatoslav Chagaev to do the same thing,
but implemented in a completely way (based on some very old code from
mk@).  default set to 0, so no behavior change.

ok oga@ (who would also like to take it further...)
2011-06-24 06:06:24 +00:00
okan
c800341623 re-do various bits of {,h,v}max for simplicity and less flag handling.
as a bonus, flipping between various combinations of vmax+hmax provides
a more predictable behavior.

commitski oga@
2011-06-24 06:01:47 +00:00
okan
5e2c6f5c05 replace the non-working check to see if another wm is running with a
method that actually works.  checking for icccm compliant wm's should
also be done first, but that's another diff (noted by oga).

ok oga@
2011-06-24 05:58:51 +00:00
okan
c1530aea4c more nitems usage.
ok oga@
2011-06-24 05:54:30 +00:00
okan
2f0f43df32 re-order sweep draw so that we map into the client window after
re-parenting; from Sviatoslav Chagaev.

ok oga@
2011-06-24 05:51:25 +00:00
okan
74252c7d0a struct XftFont already has height which we can use directly instead of
calculating ourselves, so do so.

ok oga@
2011-06-24 05:45:57 +00:00
okan
08f0ea6df6 alter a few function returns and prototypes; found by lint.
ok oga@
2011-06-24 05:40:09 +00:00
okan
cfdfe3cdd9 Correct extern declaration and while here, rename a variable to be
pedantic.

from Thomas Pfaff.

ok oga@
2011-06-24 05:33:41 +00:00
okan
209974b036 collapse client and group {r,}cycle defines since they are really
the same thing.

ok oga@
2011-06-24 05:30:42 +00:00
naddy
2e88a2b0e8 switch to installing source manuals:
* cope with new bsd.man.mk
* update imake configuration

ports use of imake remains unchanged
2011-06-23 22:48:59 +00:00
matthieu
3d3ed030c3 Update to xterm 270. Tested by ajacoutot@, shadchin@, krw@ and jasper@ 2011-06-07 19:21:06 +00:00
matthieu
5ef1aa0392 Update to xauth 1.0.6 2011-05-31 20:47:24 +00:00
matthieu
11cd08772b Update to iceauth 1.0.5 2011-05-31 20:42:48 +00:00
okan
3d9ed32226 fix botched client and group cycle defines; noticed by Thomas Pfaff.
"no cookie! fix it" - oga@
2011-05-15 17:58:47 +00:00
okan
dc3d407467 remove left over XSync; ok oga@ 2011-05-13 12:53:19 +00:00
okan
4fb00eca7b tag and comment cleanup; ok oga@ 2011-05-11 13:53:51 +00:00
okan
b1f11d8dc6 introduce a new 'freeze' flag (CMS-f by default) which may be applied to
any window, after which all move/resize requests will be ignored,
essentially freezing the window in place.

there's a possibility to merge this with the 'ignore' concept, pending
on how ignore+freeze should behave (really more ewmh stuff), but punting
for now since ponies are on the line.

requested and tested by thib at k2k11 with ponies, unicorns and rainbows.

'save the unicorns' todd@, ok oga@
2011-05-07 17:15:37 +00:00
matthieu
024397530b Update to xlsclients 1.1.2 2011-05-07 12:41:54 +00:00
oga
a1517de675 On map, don't warp to windows that are marked as ignored.
Requested by Christian Neukirchen last august. He provided a patch but the one I
wrote was significantly simpler (1 - 2 + in the whole diff).

makes sense to okan@.
2011-05-06 19:39:44 +00:00
okan
28ba33af91 bump window resize back to 60hz. instead, we should not need to sync
every time we move/resize a window, so remove XSync in both mouse move
and resize events.  tested by Brynet as well.

ok oga@
2011-05-05 19:52:52 +00:00
okan
800a938556 re-org. ok oga@ 2011-05-05 16:40:37 +00:00
okan
d4b279e29e make the menu window aware of xinerama info; this makes the menu stay
within the current screen, like other cwm window placements and
mutations (vmax/hmax/max) - from Sviatoslav Chagaev.

ok oga@
2011-05-05 15:32:24 +00:00
matthieu
8d5ea2e291 Copy glxinfo and glxgears sources from Mesa demos, since more
recent Mesa releases don't ship MesaDemos anymore.
2011-05-01 15:28:37 +00:00
jakemsr
95e3242529 add the -R option to usage()
spotted by sobrado@
2011-04-11 17:23:18 +00:00
jakemsr
53483e36a8 * use VIDIOC_ENUM_FRAMEINTERVALS to get the supported frame intervals
and display the frame rates if at least on -v is used.
* set/get the video(4) device's frame rate using VIDIOC_{S,G}_PARM.
* add new option -R which dsables frame rate adjustment.  only really
useful for video(4) devices, to see the difference between the frame
rate the device generates and what it says it's configured for ...
many devices don't generate the rate they are configured if they
aren't getting enough light ...
* poll(2) input with INFTIM instead of 0 timeout, and handle the poll(2)
call being interrupted by the frame timer.
* only use usleep(3) to wait for frames if the input is a file, and
in that case, sleep for a full frame interval or until interrupted
by the frame timer.
* update the manual to describe the new -R option, that -r now sets
video(4) frame rate, and that at least one -v will display supported
properties of the hardware.
2011-04-11 02:58:49 +00:00
matthieu
eccbc42473 Whitespace stuff; new sentence, new line; fix some xrefs; use Aq more.
From mbalmer@NetBSD.
2011-04-08 20:03:47 +00:00
matthieu
94e8a384a5 Update to xrdb 1.0.9.
Includes a fix for CVE-2011-0465, to which OpenBSD is not vulnerable, since
dhclient will reject any hostname option containing invalid characters like
$ or `
2011-04-05 18:59:49 +00:00
okan
98c5b36dbb revert the XSync timing change for client move only; first noticed by
brynet.

sure oga@
2011-03-23 07:27:32 +00:00
okan
4c04a27385 warp the pointer back, iff we don't move the mouse, once we are done
with the menu; idea and initial from Sviatoslav Chagaev.

discussion with and ok oga@
2011-03-22 13:50:40 +00:00
okan
9a52c582b1 we should re-focus the client and ungrab the ptr even if we don't have a
mouse based match (i.e. in the kbd no match case).  update the comment
as well.

ok oga@
2011-03-22 11:09:52 +00:00
okan
482c4ce498 fix nousance of always highlighting the first entry even when there is
no match (seen in the ctrl-a case)

ok oga@
2011-03-22 11:05:13 +00:00
okan
d0a487aa3d move the default case to the end.
ok oga@
2011-03-22 11:03:05 +00:00
okan
a9420f917b reduce the number of times we sync during a window resize.
ok oga@
2011-03-22 10:59:08 +00:00
okan
1494c3e4c9 introduce nitems macro, with the appropriate ifndef.
ok oga@
2011-03-22 10:57:31 +00:00
okan
2de4639d4c if virt/horz un-maximizing, restore only the un-maximized axis
coordinates; allows moving a client and not restoring the maximized axis
coordinates.

picked from a larger martynas diff from ages ago.

ok oga@
2011-03-22 10:56:08 +00:00
okan
f109779994 (0,0) is also inside in the screen; from Sviatoslav Chagaev.
ok oga@
2011-03-22 10:54:42 +00:00
okan
51c21fc3ef while this piece deals with client argv's in a seemingly inefficient way
(noticed by Tim Peniket), since we don't ever do anything with cliarg,
remove the hunk and cliarg completely.

ok oga@
2011-03-22 10:52:37 +00:00
okan
a2810e744d remove XXX and move a configure event out of the event handler functions.
reminded by a similiar diff from Thomas Pfaff.

ok oga@
2011-03-22 10:49:46 +00:00
okan
3b73daa6c2 move the single keycode function directly into the menu code.
ok oga@
2011-03-22 10:47:59 +00:00
matthieu
4d8053ee26 Add support for ecdsa SSH keys. From dave at davec dot name. Thanks. 2011-03-19 15:40:02 +00:00
sobrado
056292656a lexicographically sort keys.
ok jakemsr@, jmc@
2011-03-18 20:08:58 +00:00
matthieu
34bb2b0d31 Update to xkbcomp 1.2.1 2011-03-13 15:03:00 +00:00
matthieu
b05803ac41 Remove extra test. 2011-03-09 19:53:24 +00:00
matthieu
7ae39052df xcb is no longer optional. 2011-03-08 20:48:59 +00:00
matthieu
2cc47a1202 add a new build switch 'XENOCARA_USE_XKEYBOARD_CONFIG' to enable
the use of xkeyboard-config xkb definitions instead of the old xkbdata.
This will make testing easier. No changes in default builds.
ok shadchin@
2011-03-08 07:59:23 +00:00
matthieu
b9f6c3a045 Update to xterm version 269.
Tested and ok ajacoutot@, jasper@, krw@, shadchin@
2011-03-07 20:41:27 +00:00
okan
eab1b94e0a if we are saving the pointer location for a specific client, make sure
that if it is not already inbounds, put it in the default location,
which happens to be inbounds.

behavior noticed by Thomas Pfaff while maximizing and un-maximizing a
window, leaving the pointer behind and causing client_cycle() to be a
bit lost.

ok oga@
2011-02-13 20:09:57 +00:00
tedu
c222c6a5c7 we lose track of highstack somewhere, so recompute it before we need it.
fixes a crash reported by christian neukirchen.  ok okan
2011-02-13 17:25:20 +00:00
todd
190e604102 puffy 4.9 2011-02-11 22:26:24 +00:00
matthieu
480ad88cb9 Update to xbiff 1.0.3. No functional change. 2011-01-28 19:43:39 +00:00
matthieu
4366798a7f Update to x11perf 1.5.3 2011-01-22 14:33:53 +00:00
matthieu
def1874858 Update to xfwp 1.0.2 2011-01-22 14:30:50 +00:00
matthieu
191e43de2c Update to twm 1.0.6. No functional change. 2011-01-22 14:24:55 +00:00
espie
f1ea238aa1 Picture -> FvwmPicture, to avoid collisions with xrandr includes.
As noticed by Tristan Le Guern.
okay matthieu@
2011-01-18 19:28:33 +00:00
shadchin
3e225c3415 Fix compiling layout fr.
ok matthieu@
2011-01-16 08:50:41 +00:00
shadchin
fbb1cc1dac Update to xkbcomp 1.2.0.
ok matthieu@
2011-01-11 20:56:40 +00:00
shadchin
8a4ef33aa7 Update to xkbevd 1.1.2. No functional change.
ok matthieu@
2011-01-11 20:52:08 +00:00
shadchin
a31c2ef17e Update to xkbprint 1.0.3. No functional change.
ok matthieu@
2011-01-11 20:49:34 +00:00
matthieu
546e991d51 Fix double free in the case of windows with a _NET_WM_NAME property,
reported by frantisek holop, patch by Tim van der Molen. Thanks to both.
2011-01-09 17:14:32 +00:00
matthieu
831b8e77d0 Fix duplicated code resulting from a bad merge of xdm 1.1.9. 2011-01-01 20:39:44 +00:00
matthieu
115a56bdd9 Update to xbackkight 1.1.2. No functional change. 2010-12-19 16:28:08 +00:00
martynas
cba4495309 in MotionNotify geom.x, geom.y calculations take into account bwidth.
fixes the annoying bug where windows would go +bwidth pixels right,
+bwidth pixels down.  ok okan@
2010-12-14 11:08:47 +00:00
matthieu
1471212514 Use ASCII art when the environment is not UTF-8 capable.OB
Based on an initial patch by jasper@, ok jasper@.
2010-12-08 21:32:46 +00:00
jasper
a901d331ca - add a flag to specify the display to start xtsscale on.
ok matthieu@
2010-12-06 06:49:47 +00:00
matthieu
57139a92f9 Set datarootdir. fixes manual page installing in the wrong dir noticed
by todd@.
2010-11-30 20:05:41 +00:00
matthieu
cbc29667e5 Update to xterm 267. Tested by shadchin@, jasper@, ajacoutot@. 2010-11-29 20:10:09 +00:00
matthieu
05303600f5 regen 2010-11-27 14:26:12 +00:00
matthieu
66473b7fbe Explicitely link libxcb when needed for static arches. 2010-11-27 14:25:47 +00:00
matthieu
52857b2520 Update to xeyes 1.1.1 2010-11-25 21:59:45 +00:00
matthieu
79dc50bfcd Update to xcalc 1.0.4. 2010-11-25 21:58:01 +00:00
matthieu
51e80e68c8 Update to xwininfo 1.1.1. rewritten to use XCB. 2010-11-25 21:55:08 +00:00
matthieu
f59c0fe9bd Update to xlsclients 1.1.0. Rewritten to use XCB. 2010-11-25 21:52:03 +00:00
matthieu
a33d3d9ce4 Update to xlsatoms 1.1.0. rewritten to use XCB. 2010-11-25 21:50:37 +00:00
matthieu
87433ed3c7 Update to xwud 1.0.3 2010-11-11 11:26:53 +00:00
matthieu
8b00aa1929 Update to xwd 1.0.4 2010-11-11 11:23:59 +00:00
matthieu
685d7819f3 Update to xset 1.2.1 2010-11-11 11:21:08 +00:00
matthieu
754160bf1a Update to xrefresh 1.0.7 2010-11-11 11:18:56 +00:00
matthieu
b45dc03a80 Update to xrdb 1.0.7 2010-11-11 11:16:58 +00:00
matthieu
f8e86fc20b Update to xkill 1.0.3 2010-11-11 11:14:22 +00:00
matthieu
5791ccddda Update to xinput 1.5.3 2010-11-11 11:11:47 +00:00
matthieu
f6aa79e580 update to xinput 1.5.3 2010-11-11 11:11:16 +00:00
matthieu
e5e6da8e2a Update to xgamma 1.0.4 2010-11-11 11:08:43 +00:00
matthieu
842a341083 Update to xdriinfo 1.0.4 2010-11-11 11:06:32 +00:00
matthieu
b6ed7b0486 Update to mkfontdir 1.0.6 2010-11-11 11:00:06 +00:00
matthieu
9c2d63332b Update to xvinfo 1.1.1. No functional change. 2010-11-06 21:00:44 +00:00
matthieu
47220c0c8b Remove Xorg RCSId that was left in a previous merge. 2010-11-01 08:58:06 +00:00
matthieu
8e650c8038 Update to xinit 1.3.0 2010-11-01 08:52:28 +00:00
matthieu
7a99a9a1ef Upate xf86dga to 1.0.3 2010-11-01 08:41:11 +00:00
matthieu
92a7068586 Update to xsm 1.0.2 2010-10-31 20:17:58 +00:00
matthieu
82e6b376ab Update to xsetroot 1.1.0 2010-10-31 20:13:46 +00:00
matthieu
f9b557d161 Update to xrandr 1.3.4 2010-10-31 20:10:47 +00:00
matthieu
0e83f6a075 Update to xprop 1.2.0 2010-10-31 20:07:15 +00:00
matthieu
41f129a1e2 Update to xmodmap 1.0.5. No functional change. 2010-10-31 20:04:23 +00:00
matthieu
24c92ba218 Update to xman 1.1.1. No functional change. 2010-10-31 20:01:14 +00:00
matthieu
b09d0cbb68 Update to xmag 1.0.4. No functional change. 2010-10-31 19:58:33 +00:00
matthieu
c4f241b19d Update to xlogo 1.0.3. No functional change. 2010-10-31 19:53:10 +00:00
matthieu
499d07868c Update to xkbutils 1.0.3. No functional change. 2010-10-31 19:49:20 +00:00
matthieu
3adfb6f110 Update to xkbevd 1.1.1. No functional change. 2010-10-31 19:46:19 +00:00
matthieu
e9e38a8e97 Update to xhost 1.0.4. No functional change. 2010-10-31 19:44:13 +00:00
matthieu
ec7028064c Update to xgc 1.0.3 2010-10-31 19:41:34 +00:00
matthieu
837055ea1e Update to xfsinfo 1.0.3 2010-10-31 19:37:32 +00:00
matthieu
d5cfabebad Update to xfs 1.1.1 2010-10-31 19:35:19 +00:00
matthieu
a76a998565 Update to xfd 1.1.0 2010-10-31 19:26:22 +00:00
matthieu
8889c70dc3 Update to xev 1.1.0 2010-10-31 19:21:25 +00:00
matthieu
f1c430b349 Update to xedit 1.2.0 2010-10-31 19:19:11 +00:00
matthieu
d1934945ed Update to xdpyinfo 1.2.0 2010-10-31 19:09:31 +00:00
matthieu
d5b8b84f35 Update to appres 1.0.3. No functional change. 2010-10-31 19:05:48 +00:00
matthieu
a2dec4848e Update to xconsole 1.0.4. No functional change. 2010-10-31 18:27:25 +00:00
matthieu
e978aa14d7 Update to viewres 1.0.3. No functional change. 2010-10-31 18:18:22 +00:00
matthieu
4428bd70a1 Update to twm 1.0.5 2010-10-31 18:16:22 +00:00
matthieu
541c332538 Update to smproxy 1.0.4. No functional change. 2010-10-31 18:09:33 +00:00
matthieu
838595624f Update to showfont 1.0.3 2010-10-31 18:07:42 +00:00
matthieu
c2eb5b0c69 Update ot rgb 1.0.4. No functional change. 2010-10-31 18:05:44 +00:00
matthieu
6f7b1f0f67 Update to mkfontscale 1.0.8. No functional change. 2010-10-31 18:00:17 +00:00
matthieu
bd1aaf2d24 Update to ico 1.0.3. 2010-10-31 17:57:13 +00:00
matthieu
edf2a1f411 Update to iceauth 1.0.4. No functional change. 2010-10-31 17:55:35 +00:00
matthieu
2e12ec31d8 Update to fstobdf 1.0.4. No functional change. 2010-10-31 17:53:18 +00:00
matthieu
174fe7fdac Update to fslsfonts 1.0.3 2010-10-31 17:50:25 +00:00
matthieu
06efe31dc9 Update to editres 1.0.5. No functional change. 2010-10-31 17:48:10 +00:00
matthieu
ea47105af2 Update to bitmap 1.0.5. No functional change. 2010-10-31 17:43:24 +00:00
matthieu
49f97c9715 Update to beforelight 1.0.4 2010-10-31 17:37:08 +00:00
matthieu
691448c0ac Update to bdftopcf 1.0.3. No functional change. 2010-10-31 17:32:23 +00:00
jakemsr
335814b337 typo spotted by espie 2010-10-26 16:04:13 +00:00
matthieu
7447858d98 Update to xterm version 264, Tested at least by krw@, jasper@, ajacoutot@. 2010-10-23 19:14:52 +00:00
jakemsr
66fbac58e1 typos. "ouput" typos spotted by Jan Stary. 2010-10-15 14:24:23 +00:00
jakemsr
622e7bac0c oops. start with an undefined encoding instead of yuy2. lets the code
figure out what encoding to use, based on what the hardware supports.
still uses yuy2 by default if the hardware supports it.
2010-10-15 14:21:20 +00:00
jakemsr
29306fc0e4 declare the global vars as static to not conflict with symbols from
libraries
2010-10-15 09:27:26 +00:00
matthieu
be028fef81 Update to xcmsdb 1.0.3 2010-10-06 06:05:48 +00:00
matthieu
62aefcb130 Update to xclock 1.0.5 2010-10-06 06:03:42 +00:00
matthieu
533e7cbd34 update to xauth 1.0.5 2010-10-06 05:56:15 +00:00
matthieu
3230cc72eb Update to x11perf 1.5.2 2010-10-06 05:50:15 +00:00
matthieu
d348293fab Update to setxkbmap 1.2.0 2010-10-06 05:43:08 +00:00
matthieu
5a4a0a218a Update to oclock 1.0.2 2010-10-06 05:31:56 +00:00
matthieu
b4ebb62e0d Update to xterm 262.
tested by ajacoutot@, jasper@ and krw@.
2010-10-05 19:37:23 +00:00
matthieu
44d58a5719 Move 'video' out of X.Org provided application list, to the list
of extra applications provided by OpenBSD.
2010-10-03 14:59:11 +00:00
schwarze
be7005d8cf s/\.Xx/.Xr/ such that "Xv(3)" doesn't get lost;
found by mandoc -Tlint
2010-09-26 23:58:18 +00:00
jakemsr
52f69c164d support for gamma and sharpness/acutance controls.
also from Martin Pieuchot, thanks!
2010-09-26 23:47:17 +00:00
schwarze
f7ffd5f80b s/-offset -indent/-offset indent/ for correct indentation,
and properly encode \(:a
found by mandoc -Tlint
2010-09-25 21:58:18 +00:00
schwarze
694354ad23 s/\.Pb/.Pp/ for correct vertical spacing; found by mandoc -Tlint 2010-09-25 21:48:08 +00:00
okan
49e1aa0fed do not warp to clients marked 'ignore'; from chneukirchen at gmail - thanks.
(with the manpage bit from me).

ok oga@
2010-09-25 20:04:55 +00:00
okan
0b646a740b picked a henning diff from src - original log:
fix linecount bug with comments spanning multiple lines
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432

ok oga@
2010-09-25 20:02:58 +00:00
okan
2efae64cef spacing nits 2010-09-25 20:01:27 +00:00
okan
3261bc07fe more clear variable name so than name/class shouldn't be confused again.
ok oga@
2010-09-25 19:58:08 +00:00
okan
2fc8292339 clarify window name/class a bit more with word ordering.
ok oga@
2010-09-25 19:54:02 +00:00
jakemsr
0a146de521 enable video(1), now builds on all archs
from/ok todd@
2010-09-25 02:59:12 +00:00
jakemsr
6704c2a7ac list all libraries needed and in the correct order so this builds
on static archs
from todd@
2010-09-25 02:58:00 +00:00
matthieu
24a4f25151 Remove reference to XAW_CHECK_XPRINT_SUPPORT which was removed from
xorg-macros. While here fix list of dependencies.
2010-09-20 19:30:55 +00:00
matthieu
e7544b351b regen 2010-09-20 19:27:54 +00:00
matthieu
289309dcbf Remove reference to XAW_CHECK_XPRINT_SUPPORT which was removed from
xorg-macros. While here fix list of dependencies.
Problem noticed by Dave Del Debbio. Thanks.
2010-09-20 19:26:55 +00:00
jasper
52ab752d00 - no need for root prompt here, user prompt will do
- .Xr the other touchscreen driver we have (uhts)

ok matthieu@
2010-09-14 06:20:55 +00:00
jakemsr
02e1414c42 no more anonymous unions in video(4) 2010-09-13 01:35:50 +00:00
matthieu
ed6c8e882d Update to xterm 261. Tested by krw@, jcs@. 2010-08-22 13:38:11 +00:00
matthieu
a59a0c2e45 Update to final X.Org xset 1.2.0. No functional change. 2010-08-21 17:01:30 +00:00
matthieu
791220ead2 Disable ftgl support explictely. 2010-08-05 06:44:21 +00:00
todd
c2b89fcb39 disable video for now; ok deraadt@ 2010-08-04 23:24:11 +00:00
todd
3e56f14316 puffy 4.8 2010-08-02 14:29:27 +00:00
matthieu
c6043fcd65 Update to sessreg 1.0.6 2010-07-31 09:18:16 +00:00
matthieu
daf210776f Update to sessreg 1.0.5 2010-07-31 09:14:09 +00:00
matthieu
e8889e891b Update to xset master from X.Org git.
This brings manual page updates regarding the new mouse acceleration
code.
2010-07-31 07:58:30 +00:00
matthieu
ac1a6f7f2c Update to xrandr 1.3.3 2010-07-31 07:46:51 +00:00
okan
bd36084da7 revert -r1.45 of group.c (log was: fix window name and class to match
cwmrc(5)).  instead, fix cwmrc(5) to match the old behavior which also
happens to match the example config, of which many have based their
configs; this also nicely matches the output of xprop(1).

clean-up of variable names as a separate commit.

suggested by sthen (and something we should have done initially).

discussed with and ok oga@
2010-07-30 12:28:19 +00:00
dcoppa
184d7c3b41 Cast "pid" as unsigned long to avoid a bus error on sparc64.
OK matthieu@
2010-07-30 05:35:58 +00:00
jakemsr
bdc0c150f3 $OpenBSD$ and compare width to width, not width to height 2010-07-26 23:02:06 +00:00
sobrado
9e6242225e sort options as usual in our operating system; `usage:' is lower case;
improve usage()'s output; better indentation in usage() function.

ok jakemsr@
2010-07-26 08:09:33 +00:00
jakemsr
63de478659 do not add the same size twice, and do not fall of the end of
the frame sizes array.
reported/tested mglocker
2010-07-24 22:09:08 +00:00
matthieu
dc70d574a1 Update to xmore 1.0.2. 2010-07-24 19:15:36 +00:00
ckuethe
e8d40eb136 allow "make build" to work, ok matthieu@ 2010-07-23 19:46:00 +00:00
okan
eb3cfa8f7c fix backwards example (after r1.45 of group.c); noticed by phessler@
ok oga@ phessler@
2010-07-23 15:13:00 +00:00
jakemsr
ba52f51a58 decend into video/
reminded by phessler
2010-07-23 12:23:25 +00:00
jakemsr
3838c3aada import video(1), an application for recording and/or displaying
images from a video(4) device
ok matthieu, todd; prodding from deraadt
2010-07-23 11:33:52 +00:00
okan
84863b048e fix window name and class to match cwmrc(5); from Holger Mikolon - thanks!
ok oga@
2010-06-28 12:29:04 +00:00
matthieu
80eb659844 Update to xlsfonts 1.0.3 2010-06-12 16:53:36 +00:00
matthieu
7f8ab839f0 Update to xinput 1.5.2 2010-06-12 16:48:32 +00:00
matthieu
947765ab0f regen 2010-06-08 23:16:37 +00:00
matthieu
0807587e97 Simplify handling of dependencies with pkg-config. Fixes build
on static-libs only architectures.
2010-06-08 23:15:47 +00:00
matthieu
7d4fcb4c01 Update to xinit 1.2.1 2010-05-31 20:23:19 +00:00
matthieu
4783a13dfe Update to editres 1.0.4 2010-05-31 19:33:38 +00:00
matthieu
442bb464de Fix a race in the creation of the app-defaults directory. 2010-05-30 21:03:20 +00:00
matthieu
b67773f8c4 regen 2010-05-30 20:58:13 +00:00
matthieu
1fbe969c1c Fix races in the creation of the app-defaults directory. from espie@ 2010-05-30 20:57:54 +00:00
okan
268faf71ba initialize nitems
ok oga@
2010-05-22 22:32:08 +00:00
okan
6b0b021a68 replace XFetchName() with something more intelligent which attempts to
use the appropriate netwm Atom first, as well as deal with utf8.

slightly different incarnation tested by sthen@ and ajacoutot@ - thanks!

ok oga@
2010-05-22 22:10:31 +00:00
matthieu
8fb598d465 Update to xterm 258. lightly tested by krw@, thanks. 2010-05-08 12:20:46 +00:00
matthieu
1a66cb98ea Update to -current xmore from X.org git.
This version mainly removes Xprint support.
2010-04-23 19:32:59 +00:00
oga
c4175c932e grab events on the root window *before* we look for existing windows.
This closes a race we were hitting often where stuff started right
before cwm may not get noticed and not have borders.

ok okan@. Prompted by something todd noticed.
2010-04-12 16:17:46 +00:00
okan
4944ac9995 clean up a few xu_* functions to just accept what they need (Window).
ok oga@
2010-04-11 16:51:26 +00:00
matthieu
d0a977e001 ifdef out the new code that moves the cursor one pixel to the right
for each char during password input. Requested by deraadt@.
2010-04-06 22:09:09 +00:00
matthieu
70557157a0 Update to xinput 1.5.1 2010-03-28 13:08:54 +00:00
matthieu
5971c89316 Update to xkbprint 1.0.2 2010-03-28 13:05:38 +00:00
matthieu
07555f2808 update to xkbevd 1.1.0. 2010-03-28 13:01:26 +00:00
matthieu
1c126dd9ec Update to xvidtune 1.0.2 2010-03-28 12:53:20 +00:00
matthieu
8f50ee81a4 missed files in update to 1.0.2 2010-03-28 11:47:17 +00:00
matthieu
e7283f31d7 Update to xmessage 1.0.3. 2010-03-28 10:34:49 +00:00
matthieu
c68089aef1 update to xlogo 1.0.2 2010-03-28 10:12:36 +00:00
matthieu
7993eacc9e Update to xgc 1.0.2 2010-03-28 10:05:28 +00:00
matthieu
b21e16a379 Disable xprint support. 2010-03-28 09:42:43 +00:00
matthieu
1cb4ae42c1 Update to xeyes 1.1.0 2010-03-28 09:38:08 +00:00
matthieu
21c33a1b92 Update to xdm 1.1.9 2010-03-28 09:33:02 +00:00
matthieu
7391a84e9f Update to xcalc 1.0.3 2010-03-28 08:02:57 +00:00
matthieu
3d711efd9f Update to xbiff 1.0.2 2010-03-28 07:58:32 +00:00
matthieu
fe9b7cba4c Update to viewres 1.0.2 2010-03-27 11:56:39 +00:00
matthieu
af939b2540 Update to listres 1.0.2 2010-03-27 11:52:42 +00:00
matthieu
bdb2807634 Update to xterm-255. Tested by stsp@, oga@. 2010-03-25 22:03:51 +00:00
matthieu
3b261f2541 add a -v flag to select verbose mode, to output raw coordinate read
from the device, for debugging.
2010-03-23 20:27:42 +00:00
schwarze
7ddffd1fa6 Fix formatting errors breaking the xenocara mandoc(1) build:
* .Bl may only have .It children
* .SH requires an argument
* blank lines are illegal outside literal context

Now "cd /usr/xenocara && make man" succeeds,
but unfortunately, that covers a minority of X11 manuals only.

ok matthieu@
2010-03-20 20:13:27 +00:00
okan
5d67594356 preserve labels after an edit action is aborted; extending the menu
struct just for this is the least intrusive approach until the menu code
is reviewed.

inspired by Thomas Pfaff's report on tech@

ok oga@
2010-02-10 01:23:05 +00:00
stsp
33b5baf3fb Honour program-specified window position in size hints when placing windows.
Makes XMMS windows appear as expected.

ok okan, oga
2010-02-02 19:28:46 +00:00
okan
3d3e2130f8 - allow per-screen gap; not (yet) user configurable.
- teach _NET_WORKAREA about gap.

ok oga@
2010-01-27 03:04:50 +00:00
todd
f3a12ded08 puffy 4.7 2010-01-27 00:02:27 +00:00
matthieu
f64b917b27 Make ssh-ask-pass Xinerama aware (also works with XRandR thanks to
its pseudo-Xinerama emulation). ok stsp@
2010-01-22 11:24:31 +00:00
matthieu
7d573b6e6c Start adding XRandR support. not really functional yet though.
(missing the code to compute the calibration data that restrict events
to a given output)
2010-01-22 07:47:54 +00:00
matthieu
9b4b09eb28 regen 2010-01-17 20:49:46 +00:00
matthieu
2dda0f8061 Use the new XORG_WITH_XMLTO macro in configure scripts and explicitely
disable it during Xenocara builds. Problem reported by kili@ who also
tested this patch with an earlier version of the macro.
2010-01-17 20:48:49 +00:00
jcs
fd0eda99be build with OPT_256_COLORS to support 256 colors now that our ncurses
supports it

ok matthieu@
2010-01-13 14:59:37 +00:00
matthieu
09d912a54b remove xtrap applications. They are disconnected from build for weeks now. 2010-01-11 20:29:48 +00:00
okan
ba93a73ad3 pull all non-X11 headers from calmwm.h and place them only where they
are required.

encourged to go all the way by oga@
2009-12-15 04:10:42 +00:00
okan
71e1e63bce spacing 2009-12-15 03:38:11 +00:00
okan
0c7627b2f7 pull these headers only into files that need them.
ok oga@
2009-12-15 03:34:34 +00:00
okan
899043b215 rid ourselves of these functional macros; convert to real functions.
ok oga@
2009-12-15 03:26:22 +00:00
okan
5a72fec630 mostly irrelevant now, so remove.
ok oga@
2009-12-15 03:25:22 +00:00
okan
9dfa8ad14a merge the 2 common header files; specific includes to be pulled out as
separate commits.

ok oga@
2009-12-15 03:24:36 +00:00
oga
732db655c0 kill _CWM_GRP atom setting. The netwm stuff does us well enough now that
it's superfluous.

ok okan@
2009-12-14 16:39:01 +00:00
oga
d0275e11af add _NET_WORKAREA. for now we ignore the gap, this'll change soonish.
ok okan@
2009-12-11 18:09:16 +00:00
oga
3ec3bf2582 another int/long fixup that was giving dodgy property values on amd64, shame on
me for not reading xlibs (appauling) documentation more closely.

ok okan@
2009-12-11 17:57:38 +00:00
oga
cb76db27c6 implement support for _NET_WM_DESKTOP properties on windows.
it works kinda like _CWM_GRP, which we added to aid restarts a while
ago, but it's standardised and clients are specifically allowed to set
it to request a desktop.

for noe we leave _CWM_GRP support in, but its days are now numbered.

while i'm here fixup an int/long mixup with an earlier diff.

ok okan@
2009-12-11 17:55:42 +00:00
oga
7d0bb562dc Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec
says that a pager can change the property at any time (most need a
clientmessage). So deal with property updates.

Needed to shuffle some of the other code around since we can't just use
shortcut_to_name[] everywhere now.

ok okan@
2009-12-11 17:51:42 +00:00
oga
c77ea38a4c Implement _NET_VIRTUAL_ROOTS (just clear it, we don't use that technique)
and _NET_SHOWING_DESKTOP (we're never doing so right now).

only three informational root-window hints to go.

ok okan@
2009-12-10 23:21:26 +00:00
oga
a53f6f767e Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT and
_NET_DESKTOP_GEOMETRY.

ok okan@
2009-12-10 23:14:58 +00:00
oga
206c3e3bc9 finish unfucking the screen_ctx handling.
remove screen_current() it was utterly bogus when nscreens > 1.

pass a fake client_ctx in the case where there's no client and the
kbfunc or mousefunc doesn't need a real one, it just contains the
current screen, modify these functions so that they pass down the screen
context to their callees.

make groups per screen, it's the only way it makes sense in this regard.

ok okan@.
2009-12-10 17:16:51 +00:00
okan
ed29ebe53b start fixing screen_ctx usage, for it is utterly broken. bring font
into screen_ctx and start passing screen_ctx around to in order get rid
of Curscreen; fixup per-screen config colors the same way.

diff mostly from oga@, with a bit harsher reaction to the state of screen_ctx.

"please commit" oga@
2009-12-08 16:52:17 +00:00
oga
2f8a50c4d5 Implement _NET_NUMBER_OF_DESKTOPS, currently this is statically 9 and
unchangable. the group code needs some cleaning up before this will be a
bit less hackish.

ok okan@
2009-12-07 23:19:51 +00:00
oga
13825a5c16 support _NET_CLIENT_LIST.
the x property api doesn't let you remove one entry from an X property
array, so client_remove is kinda expensive, but there's no real way
around that..

ok okan@
2009-12-07 22:46:15 +00:00
oga
2a5e34e85e Implement _NET_ACTIVE_WINDOW. for now just the informational hint is
supported, the client message to change this will be supported when all
informational hints are working.

ok okan@
2009-12-07 22:21:59 +00:00
matthieu
fe460e3f8a One more build fix for static arches. ok todd@. 2009-12-07 21:21:02 +00:00
okan
51fb32f347 introduce the beginnings of netwm support, minimally and correctly;
allows java to be happy, but additionally stops others from whinning
about a non-netwm complaint wm.  more to come.

written a few times; this one includes a clever hack from oga@ to
populate _NET_SUPPORTED.

ok oga@
2009-12-07 21:20:52 +00:00
okan
bb65c9fc09 fix off-by-one where a mere click would select the first item inside a menu
from Thomas Pfaff

ok oga@
2009-12-07 19:48:08 +00:00
okan
d23d607f19 we already have sc from the passed cc, so just used that instead.
ok oga@
2009-12-07 19:45:36 +00:00
okan
4b33ec9b0c be consistent
ok oga@
2009-12-07 19:44:31 +00:00
okan
d1ba9d87b1 remove unused extern
ok oga@
2009-12-07 19:42:59 +00:00
matthieu
e7f06501b3 Complete list of libraries for static only arches.
Noticed on vax by todd@.
2009-12-03 22:18:11 +00:00
matthieu
ea5560740d Move back build of xtsscale with other apps. It doesn't require
an installed header anymore.
2009-12-01 21:36:52 +00:00
matthieu
8318994a85 Use the ws-properties.h file from xf86-input-ws source directory.
There are architectures that don't build the X server nor drivers
so they won't have this file installed.
Noticed by todd@ on hppa.
2009-12-01 21:20:56 +00:00
tobias
18dd1d8fc7 style (whitespaces)
ok oga, okan
2009-11-28 17:52:12 +00:00
matthieu
e58626a0cd Move app/xtsscale build after drivers, since it requires a
header installed by driver/xf86-input-ws.
Problem noticed by jdixon@
2009-11-26 22:53:50 +00:00
matthieu
dcbd99cf98 white space 2009-11-26 18:13:47 +00:00
sobrado
106b1b9087 "usage:" is usually lower case.
ok matthieu@
2009-11-26 14:25:05 +00:00
matthieu
12890188ae Use Mdocdate and add my name to copyrights. 2009-11-26 12:01:38 +00:00
matthieu
017934b7cb Tidy up error messages. 2009-11-26 11:35:29 +00:00
matthieu
3726a05d85 Document aborting the process with ESC. 2009-11-26 11:02:35 +00:00
matthieu
cff976af37 Allow the ESC key to interrupt the calibration process. 2009-11-26 10:58:45 +00:00
matthieu
bbbb8c20ea Better error handling during device selection. 2009-11-25 23:00:57 +00:00
matthieu
f194ce2bfc Search for calibration properties atoms earlier, to avoid a screen
flash when they are not present.
2009-11-25 19:43:05 +00:00
matthieu
2733f18bd5 New, XInput based, version of xtsscale(1).
XInput is used to get raw events from the device and device properties
are used to send the data back to the X server.
Calibration can now be done without restarting X.
2009-11-25 18:30:13 +00:00
tobias
44eea5f75c Corrected grammar in comment.
ok (and better style suggestion by) oga, okan
2009-11-22 21:38:50 +00:00
matthieu
82b21994c2 Fix small merge glitch. 2009-11-08 10:27:36 +00:00
matthieu
aa9c87d712 Missed files in previous update. 2009-11-08 10:21:41 +00:00
matthieu
58d19af4a2 Update to xcompmgr 1.1.5 2009-11-08 10:14:59 +00:00
matthieu
a754bcb2f1 Missed file in previous update. 2009-11-05 19:50:08 +00:00
matthieu
8ca7440026 regen 2009-10-31 21:47:52 +00:00
matthieu
46b4d11241 unused file. 2009-10-31 17:07:12 +00:00
matthieu
d7db8936f6 Fontcache is gone. 2009-10-31 17:05:32 +00:00
matthieu
51df35cad6 Update to xterm 250 2009-10-31 14:11:57 +00:00
matthieu
b3c79eb869 Finish update to 1.0.2: missing files. 2009-10-24 17:02:14 +00:00
matthieu
8230162872 Update to xwud 1.0.2 2009-10-24 15:44:14 +00:00
matthieu
564f273b51 Update to xwininfo 1.0.5 2009-10-24 15:37:50 +00:00
matthieu
5c52321f03 Update to xwd 1.0.3 2009-10-24 15:34:20 +00:00
matthieu
d5162c9a3c Update to xvinfo 1.1.0 2009-10-24 15:27:08 +00:00
matthieu
13d20df973 Update to xsetroot 1.0.3 2009-10-24 15:23:17 +00:00
matthieu
23e0fdf2ad Update to xrefresh 1.0.3 2009-10-24 15:18:49 +00:00
matthieu
8a7b9482d5 Update to xrdb 1.0.6 2009-10-24 15:15:11 +00:00
matthieu
fe899414b6 Update to xprop 1.1.0 2009-10-24 15:10:42 +00:00
matthieu
a97776ca7f Update to xpr 1.0.3 2009-10-24 15:05:16 +00:00
matthieu
430009b415 Update to xman 1.1.0 2009-10-24 15:00:51 +00:00
matthieu
3337d84178 Update to xlsclients 1.0.2 2009-10-24 14:52:00 +00:00
matthieu
973f367b87 Update to xlsatoms 1.0.2 2009-10-24 14:48:18 +00:00
matthieu
02385edf52 Update to xkill version 1.0.2 2009-10-24 14:31:24 +00:00
matthieu
c7ac4d0b62 Finish 1.0.2 merge: removed files missed. 2009-10-24 14:28:19 +00:00
matthieu
f44a894376 Update to xkbutils 1.0.2 2009-10-24 14:25:00 +00:00
matthieu
f8f52ab1fb Udate to xinput version 1.5.0 2009-10-24 14:17:46 +00:00
matthieu
8a4dfaafb9 Update to xhost 1.0.3 2009-10-24 14:14:08 +00:00
matthieu
50b3664bc3 Update to xgamma 1.0.3 2009-10-24 14:11:55 +00:00
matthieu
3c1ea789d5 Update to xev 1.0.4 2009-10-24 14:07:05 +00:00
matthieu
658adee8db Update to xdriinfo 1.0.3 2009-10-24 14:03:09 +00:00
matthieu
f724ac0ee7 Update to xdpyinfo 1.1.0 2009-10-24 13:53:53 +00:00
matthieu
252286b3cb sprintf() -> snprintf() 2009-10-24 13:34:54 +00:00
matthieu
d98b1feacd update to xcmsdb 1.0.2 2009-10-23 20:50:22 +00:00
matthieu
5f8169f66e update to xclipboard 1.1.0 2009-10-23 20:46:20 +00:00
matthieu
78d88d8014 update to x11perf 1.5.1 2009-10-23 20:36:40 +00:00
matthieu
8bf5933d01 really update to smproxy 1.0.3.
(previous commit was done without updating anything)
2009-10-23 20:31:39 +00:00
matthieu
b2e66f9c00 update to smproxy 1.0.3 2009-10-23 20:28:32 +00:00
matthieu
a7bf3d9e64 update to mkfontdir 1.0.5 2009-10-23 20:17:18 +00:00
matthieu
d8c028716d update to mkfontscale 1.0.7 2009-10-23 20:14:10 +00:00
matthieu
aee867dd88 update to iceauth 1.0.3 2009-10-23 19:59:11 +00:00
naddy
e0924b72dd use openpty(3) to grab a pseudo-tty, patterned after xterm; ok matthieu@ 2009-10-13 21:11:08 +00:00
matthieu
75e28f55c7 update to setxkbmap 1.1.0 2009-10-10 10:33:01 +00:00
matthieu
9fb099a14a update to xbacklight 1.1.1 2009-10-10 10:22:10 +00:00
matthieu
aacbb9a89f update to xfs 1.1.0. 2009-10-10 10:12:48 +00:00
matthieu
00e4302533 update to xmodmap 1.0.4 2009-10-10 09:47:10 +00:00
matthieu
72710be2d2 update to xset 1.1.0. tested by naddy@ 2009-10-10 09:42:16 +00:00
matthieu
683b9ddb1b Revert to luit 1.0.3 for now. 1.0.4 breakage reported by naddy@. 2009-10-05 18:17:43 +00:00
matthieu
2e533db842 update to luit version 1.0.4. 2009-10-04 16:13:59 +00:00
matthieu
6dece721c7 Disable xtrap test clients. ok oga@ 2009-10-04 15:01:49 +00:00
matthieu
80cf1b72ef update to xrandr 1.3.2 2009-09-26 14:53:04 +00:00
matthieu
86728bc555 update to xmag 1.0.3 2009-09-26 14:49:36 +00:00
matthieu
bebee9da71 remove obsolete commands. 2009-09-26 14:45:03 +00:00
matthieu
614e0aa897 remove rstart, take #2. 2009-09-26 14:44:02 +00:00
matthieu
2b5f2a1839 Remove rstart. 2009-09-26 14:42:30 +00:00
matthieu
909f263119 update to xclock 1.0.4 2009-09-26 14:35:39 +00:00
matthieu
6dad7ec690 update to xauth 1.0.4 2009-09-26 14:32:12 +00:00
matthieu
fc72d75df9 Update to bitmap 1.0.4 2009-09-26 14:06:18 +00:00
matthieu
da78e706dc Update to bdftopcf 1.0.2 2009-09-26 14:04:52 +00:00
matthieu
d37cd34628 update to appres 1.0.2 2009-09-26 14:03:15 +00:00
oga
3bb2531f46 With Xinerama enabled, the borders of a maximized window will show up on
all adjacent screens. This patch hides the borders while the window is
maximized.

From Bertrand Janin; thanks!

ok okan@
2009-09-25 15:57:49 +00:00
sobrado
7c562918ba libXt is built with /etc/X11/app-defaults as the default search path,
not /usr/X11R6/lib/X11/app-defaults.

ok matthieu@
2009-09-23 20:02:22 +00:00
sthen
6b50184426 Update to xterm 248, fixing several bugs including a regression with
copy-and-paste. Works for martynas@, ok matthieu@
2009-09-19 00:03:36 +00:00
matthieu
23f548aa24 update to xterm 247, a small bug fix over version 246. 2009-09-05 16:06:57 +00:00
okan
d1b60130a8 re-introduce the intention of the change from rev 1.4 in menu.c here
instead, by moving the check for '\0' to only the places that it
matters.  hint and 50% of the diff from oga@, prodded by todd@

ok oga@
2009-09-05 16:06:15 +00:00
matthieu
3af530ab2b update to xterm 246. Has been in snapshots for some time. 2009-09-05 15:58:09 +00:00
tobias
6e4f4540c2 style
ok oga
2009-09-05 14:10:11 +00:00
okan
c3064dbf27 unroll the CCTOSC macro; from Thomas Pfaff
ok oga@
2009-08-27 01:38:08 +00:00
okan
2f17ef273a static; ok oga@ 2009-08-25 12:05:11 +00:00
okan
1facf8e143 we are not doing access control here, so replace the "check if file is
executable" goo with access(2).

originally from jacekm@ long time ago.

"i can live with that" oga@
2009-08-25 02:02:59 +00:00
oga
1a74c54fd8 Reduce duplciation of code for checking modifiers in key/mouse bindings.
shaves a bunch of bytes.

ok okan@
2009-08-25 01:44:39 +00:00
oga
9924c77a57 Instead of calling conf_bind*() 50 gazillion times in a row, store an
array with all the parameters in and just loop over that to setup the
default keybindings - it's so much easier to read.

okan@ "love love love"ed this
2009-08-25 01:42:05 +00:00
oga
78deb6c3b0 Instead of messing around everytime we do a resize, just clamp the
resize increments to a minimum of one, and use it unconditionally.

"you've convinced me, do it!" okan@
2009-08-25 01:32:40 +00:00
okan
30e985c9db unroll macro; ok oga@ 2009-08-25 01:26:09 +00:00
oga
081d2deacd Add a keybinding to allow horizontal maximisation of a window (CMS-enter).
based on a diff by Thomas Pfaff; thanks!

ok okan@
2009-08-24 23:54:41 +00:00
okan
5111e27310 bring together gathering, calculating and applying of size hints;
additionally, respect aspect ratio hints.

ok oga@
2009-08-24 23:49:04 +00:00
oga
67c21c1d1a Instead of having a function that just calls TAILQ_INIT on a global, use
TAILQ_HEAD_INITIALIZER() and drop the function.

ok okan@
2009-08-24 21:22:48 +00:00
oga
5407ee5608 instead of checking for flags in the client context, then removing them.
e.g.:

if (flags & flags_we_care_about)
	flags &= ~(flags_we_care_about);

just whack the flags unconditionally, it's simpler.

okan@ agrees.
2009-08-24 17:04:39 +00:00
okan
a75b749328 remove unnecessary Ar macros
ok jmc@
2009-08-08 17:27:51 +00:00
okan
fb65a7fcc0 remove unnecessary Dq macro; based on a diff from Martin Toft
feedback and ok jmc@, martynas@
2009-08-08 00:25:52 +00:00
matthieu
160be1ef33 Initialize ed.used_stdout at the beginning of do_extract() to avoid
reading uninitialized memory later.
Reported by Philip Guenther. Thanks.
2009-07-19 08:12:09 +00:00
oga
7230692acb use fnmatch to glob the entries in the exec menu.
allows shell globbing constructs such as *ctl, etc in the exec menu (m-?
by default).

Adapted from a diff from Thomas Pfaff, okan@ got almost the same diff as
me when reworking it, and oked this one.
2009-06-26 12:45:12 +00:00
todd
c4dd635c0a puffy 4.6 2009-06-26 12:33:59 +00:00
okan
d893a97dee static local functions and data; almost identical diff from Thomas Pfaff
ok oga@
2009-06-26 12:21:58 +00:00
okan
28840135ea tidy up startup/init routines
ok oga@
2009-06-23 21:52:38 +00:00
okan
e61fd04310 compact a bit by condensing a few if-else's; from Thomas Pfaff
"go on then" oga@
2009-06-20 00:55:41 +00:00
okan
a7dfb91b88 unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the
place anyway, this makes things a bit more consistent; from Thomas Pfaff

ok oga@
2009-06-20 00:22:39 +00:00
okan
0230e26854 spacing 2009-06-20 00:19:56 +00:00
sobrado
9bc8348d66 `exec'' and `ssh'' are lowercase.
ok martynas@
2009-06-19 10:43:49 +00:00
sobrado
2de9f26c1d items on the first list should have full stops too.
ok martynas@
2009-06-18 20:44:40 +00:00
sobrado
b0a20e655b the on-line manual should use the same notation for key bindings
as the configuration file, this way writing configuration files is easier;
add a few missing interactive command (.Ic) macros to key bindings;
slightly improve spacing in the lists; other tweaks.

ok martynas@
2009-06-18 20:24:54 +00:00
okan
1183bd535d remove unnecessary casts; from Thomas Pfaff
ok oga@
2009-06-17 13:08:37 +00:00
okan
89d865166d re-factor parts of mouse move/resize bit to shrink and make more
readable; no behavior change

ok oga@
2009-06-17 12:45:01 +00:00
okan
96b7d95a17 move like defines to a central, logical location; no binary change.
aok oga@
2009-06-17 12:30:17 +00:00
jcs
17c4b628de typo 2009-06-06 23:33:20 +00:00
matthieu
1c68deb738 workaround for a problem that appeared with xterm 243 on arm cpus.
It dumps core in VTInitialize() if charproc.c is compiled with -O2.
The problem is in the lines 5610 to 5614 of this file, which were
added by xterm 243, but I can't see an obvious problem here.
2009-05-31 16:22:34 +00:00
okan
f18194f34c 'no' is the answer to the comment question: cc->name can't be NULL at
this point due to client_setname()'s work; remove this check.

ok oga@
2009-05-30 00:30:27 +00:00
okan
9e51da2d59 re-order a bit for readability.
"if it makes you happy" oga@
2009-05-30 00:30:17 +00:00
okan
56f901ac72 revert the 1.4 change - causes a double free noticed by grange@ a while
ago while using kazehakase (or clients that don't set a name).

ok oga@
2009-05-30 00:29:08 +00:00
sthen
01c9bf9a3c In movetogroup, check the window's current group and skip client_hide()
if it's the same as the active group. Was in my original movetogroup diff,
but it got simplified a little too far.  ok oga@
2009-05-19 12:49:37 +00:00
matthieu
224dd37703 update to xinput 1.4.2 2009-05-18 20:50:15 +00:00
okan
403de0648e nuke the leading underscore notation for local static functions - there
are far better ways to know.

"go for it" oga@
2009-05-18 00:23:35 +00:00
oga
099e0eb73d oops, we appear to have grown an extra prototype for group_only(), get
the secateurs out.
2009-05-18 00:17:46 +00:00
oga
01972f31ae Rip out the event layer and just use a static array of callbacks like
every other window manager since twm.

The event layer is very nice, very shiny, very flexible, and very much
underutilised. We don't need any of those shiny features so it's
probably better to earn ourselves 1k smaller text size instead.

ok todd@, okan@
2009-05-18 00:14:19 +00:00
okan
60e9431c86 redraw all borders at once on reload
"sure" oga@
2009-05-17 23:54:17 +00:00
okan
d3c904a333 a long time coming - re-work the way we deal with colors: since we're
using Xft(3), use it to select the font color as well instead of trying
to build one; properly allocate and free colors at-will, e.g. we now
have configurable colors.

feedback and ok's todd@ and oga@
2009-05-17 23:40:57 +00:00
okan
1a91924225 minor bit of knf, just to be consistent; oga@ doesn't mind that much 2009-05-17 23:37:52 +00:00
okan
b25495ebda unbreak 2009-05-17 22:48:47 +00:00
sthen
5dd486dee8 add a "movetogroup" function, which hides the current window from
display and moves it to another group. useful with the recently added
"grouponly" function, giving the ability to use groups as simple
virtual desktops (similar to e.g. xmonad, dwm and scrotwm).

this doesn't have default keyboard bindings; cwmrc(5) now shows how
you could use these functions (use M-1...9 for grouponly1...9 and
MS-1...9 for movetogroup1...9 to emulate the default dwm bindings).

ok oga@
2009-05-17 17:04:59 +00:00
sthen
662b00c143 redraw the border when unhiding a client window. fixes the situation where
you change to a different group and the mouse isn't over a window; previously
the border of the previously active window was highlighted but it didn't
actually have focus.

reads ok to oga@.
2009-05-17 16:51:43 +00:00
oga
11fa2e97eb add missing prototype. 2009-05-14 16:29:58 +00:00
oga
873b5b8ebb Add a new command (currently no default keybindings for it), grouponly[1-9].
This works like the group select binding, but hides all other groups.

So, the people who've been complaining that they don't get "virtual
desktops" in cwm may want to try this out in cwmrc (from memory, untested):

---

#cwmrc

# add new windows to the current group
set sticky

# automatically sticky windows. xclock for now.
# to make more windows sticky use group_toggle to unset their group
autogroup 0 xclock

# make the group selection keys hide other groups, emulate virtual desktops
bind CM-1 grouponly1
bind CM-2 grouponly2
bind CM-3 grouponly3
bind CM-4 grouponly4
bind CM-5 grouponly5
bind CM-6 grouponly6
bind CM-7 grouponly7
bind CM-8 grouponly8
bind CM-9 grouponly9

---

mostly by sthen, tweaks from me.

ok todd@, "if it works i'm ok with it" okan@, ok sthen@
2009-05-14 16:24:04 +00:00
okan
0eea198f30 right and middle mouse buttons swapped; from rgouveia@cosmico.net 2009-05-04 22:01:35 +00:00
okan
fcc63352ee no need to use the global here.
ok todd@ oga@
2009-05-04 19:13:33 +00:00
okan
d997637f54 properly document menu_unhide; tweak a patch from rgouveia@cosmico.net - thanks.
ok oga@
2009-05-04 18:05:21 +00:00
matthieu
033e24f23d update to xinit 1.1.1 2009-05-03 13:17:37 +00:00
oga
d95aa59b6a fix usage(). this bit me when I actually tried to use it. Now it matches
the manpage (which is correct).

ok matthieu@
2009-05-02 19:18:13 +00:00
matthieu
03806ef23c update to xinput 1.4.1 2009-05-02 15:24:13 +00:00
matthieu
eed3adbba8 update to xrandr 1.3.0 2009-05-02 15:21:24 +00:00
okan
ce9db1f7f3 fix the other 50% of xrandr cases; reported by sthen@
"commit that" oga@, ok sthen@
2009-05-01 17:50:20 +00:00
okan
94cef1175b don't sync more than 60 times per sec on resize and move; idea from scrotwm.
ok oga@ sometime ago
2009-04-15 14:10:07 +00:00
okan
cc291e2910 properly teardown X connection upon quit; static a few while here,
requested by oga@

ok oga@ sometime ago
2009-04-15 14:01:45 +00:00
okan
3a114084bf we include sys/param.h, so remove sys/types.h; sort while here.
ok oga@
2009-04-12 23:51:10 +00:00
matthieu
388c3eba67 Update to xterm 243. tested by naddy@.
Patch #243 - 2009/3/28

* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to
freed memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when
pastes of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new
resources eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT
Atom in preference to UTF8_STRING (discussion with Stanislav Sedov
regarding koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work
around /etc/man.conf's with those variables already set (report by
Mar'yasin Semion).
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
containing the same string for shifted/unshifted keys will be seen by
tcap-query as only the unshifted key. (This would only happen with an
incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
zero/negative values (Redhat Bugzilla #487829).
2009-04-04 15:10:44 +00:00
martynas
b2a47454e5 - avoid shadowed Mask declaration in menu_filter
- make _xev_reincorporate static
evmask naming oga@, input okan@.  ok okan@, oga@
2009-03-28 16:38:54 +00:00
matthieu
8264c1f76d Disable applications not maintained anymore by X.Org: rstart/rstartd and
proxymngr. ok todd@.
2009-03-28 15:38:46 +00:00
matthieu
47a95020af Update to xterm 242. Tested by jsg@. 2009-03-09 22:13:04 +00:00
matthieu
9aede42132 Remove deprected applications that have been disconnected for a while. 2009-03-08 13:40:19 +00:00
matthieu
c92ee53ccf regen 2009-03-08 09:49:03 +00:00
matthieu
8563657009 Update to xauth 1.0.3 + fixes from git head. Partially addresses system/6097. 2009-03-08 09:35:07 +00:00
todd
04a164dc63 puffy 4.5 2009-02-09 16:13:47 +00:00
martynas
af87ed9631 add 'moveamount' to cwmrc; it sets keyboard movement amount, making
it more useful on large screens
manpage tweak & ok jmc@
ok okan@, oga@
2009-02-07 21:07:00 +00:00
martynas
0c4060da89 remove leftover from mdoc.samples; ok jmc@ 2009-02-07 16:59:11 +00:00
martynas
33c5846d9b fix off-by-one in geom.[xy], after pwin changes. keyboard movement
to the rightmost or bottommost corners would confuse cwm:
- there's no way to get the window back
- tab cycling breaks
ok okan@, oga@
2009-02-03 22:20:31 +00:00
matthieu
65fb6f112c Better looking default resources for the XDM chooser.
ok pyr@, sobrado@.
2009-02-02 21:01:57 +00:00
matthieu
8fd38b9171 getLocalAddress(): return 127.0.0.1 if the hostname doesn't resolve.
This code already does this if IPv6 support is compiled in. It
was dereferencing a NULL pointer in the IPv4 only case.
2009-01-30 21:46:35 +00:00
matthieu
fef4aae88f regen 2009-01-30 17:18:13 +00:00
matthieu
384148c3d5 Fix a merge botch in xdm 1.1.8 update. 2009-01-30 17:17:19 +00:00
matthieu
5847d1746e Add more input checks. From "nobody@example.com" on bugs@. 2009-01-30 11:06:25 +00:00
matthieu
dbbba05dba xdm 1.1.8. 2009-01-29 22:18:35 +00:00
okan
ce211a10b8 remove Nscreens and x_screenname() - we really don't need them.
ok oga@
2009-01-27 02:16:20 +00:00
oga
e75ea3304d One of the most annoying things to do was restart cwm and lose all of
your group state. Fix this up by using an X Atom (_CWM_GRP) to store the
name of the group that we're using (the name, not the number is because
at one point we may make the group numbers dynamic). I've been talking
about this since c2k8. so CM-w means you keep all of your windows grouped
properly.

ok okan@, todd@
2009-01-27 00:42:53 +00:00
okan
95be5acd6a passing a null pointer to free() is valid; sprinkle a few free->xfree.
ok oga@
2009-01-23 20:47:45 +00:00
oga
b32f2133fb Whitespace nit.
pointed out by okan.
2009-01-23 20:07:20 +00:00
oga
ed5d1f7c8b Switch to using XInternAtoms for caching the atom numbers. Saves a pile
of function calls and server roundtrips.

ok okan@
2009-01-23 20:04:30 +00:00
okan
479c9127c8 move conf_clear() and add proto.
ok todd@ oga@
2009-01-23 19:00:59 +00:00
oga
9908d2b7cb Move the keybinding argument to a union to prevent warnings where
sizeof(int) != sizeof(void *). This has been annoying me for ages.

ok okan@, todd@
2009-01-23 18:58:40 +00:00
okan
17141e7c32 now that pwin is gone gone gone, we no longer have to do the bwidth
dance; xevents now able to deal with a border being set (which fixes
those annoying movie-watching apps).

ok todd@, oga@
2009-01-22 19:01:56 +00:00
oga
dea701e5a4 The default font name is strduped, so don't test for default font name
(therefore leaking it) when cleaning up a conf struct.

ok okan@
2009-01-22 18:16:38 +00:00
oga
d12622bfcd Oops, missed an atom.
ok okan@.
2009-01-22 18:06:16 +00:00
oga
353996486d Cache all of the X atoms we use at startup.
Do this instead of querying for them every time we use them. This
removes an XXX that has been in there since time began. This will become
more important as we move towards supporting netwm.

ok todd@, okan@.
2009-01-22 15:26:33 +00:00
todd
eeba7da292 borderwidth as a cwmrc(5) keyword, really helps debugging
from okan@
ok oga@
2009-01-21 15:04:38 +00:00
todd
5409a9c73b library dependency ordering matters for static archs, -lXext last in this case
from matthieu@, verified on vax
2009-01-19 20:23:19 +00:00