Commit Graph

769 Commits

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