Commit Graph

987 Commits

Author SHA1 Message Date
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