Commit Graph

923 Commits

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