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