Commit Graph

1704 Commits

Author SHA1 Message Date
oga
ff29a8e71a Support shift in mouse bindings. There's really no reason not to.
tested by johan@ and todd@.
2008-06-25 22:38:36 +00:00
oga
5c700f8601 Actually grab the correct mouse buttons for a window, instead of doing the
old hardcoded ones (which now can be wrong).

tested by todd@ and johan@.
2008-06-25 22:37:29 +00:00
oga
7d5d330707 Sort flags.
From Pierre Riteau, thanks!

ok okan@.
2008-06-25 01:09:09 +00:00
oga
6963c8bb7d Stop keyboard move moving the window utterly off the screen. If that
happens there's no way to get it back.  Also, stop resize making a
windows size negative or zero. X does not like that one bit.

Diff from Martynas. Ok okan@.
2008-06-25 00:52:47 +00:00
todd
7229d1303a sync 2008-06-23 03:46:56 +00:00
todd
ca2b1fd062 sync 2008-06-22 22:48:41 +00:00
matthieu
075118ed77 freetype updated 2008-06-22 17:47:04 +00:00
matthieu
6f11b80c67 Update to freetype 2.3.6.
Contains security fixes for CVE-2008-1806, CVE-2008-1807 and CVE-2008-1808.
Tested by many.
2008-06-22 17:37:35 +00:00
todd
9560379983 sync 2008-06-21 21:37:01 +00:00
matthieu
bb20080d18 Fix build on systems with getpwuid_r(). 2008-06-21 17:49:12 +00:00
matthieu
932e098f54 regen 2008-06-19 21:58:47 +00:00
matthieu
136098757a - Don't depend on installed lbxproxy.
- Comment out the lbxproxy config in sample configuration file.
problem noticed by naddy@
2008-06-19 21:58:14 +00:00
oga
cb1f8b37f8 Don't link "-lX11 -lXau -lXdmcp" twice.
From Martin Toft, thanks!
2008-06-19 02:21:30 +00:00
matthieu
16201ebb8b sync 2008-06-18 21:05:28 +00:00
matthieu
df266ce87d update to xf86-video-apm 1.2.0 2008-06-18 20:49:45 +00:00
oga
2ece6ad4cf No need to map/unmap the window on hide/show since we already do the
same to its parent.

"makes sense" okan@.
2008-06-18 20:42:29 +00:00
matthieu
2a567d887f Tis file is no longer in xinit 1.1.0. 2008-06-18 20:33:15 +00:00
matthieu
1420b92429 update to xinit 1.1.0. 2008-06-18 20:31:51 +00:00
matthieu
08ba1c99bd Disconnect lbxproxy, xphelloworld, xplsprinters and xprehashprinterlist
from the build. Those clients are not useful anymore now that the
server side is not there anymore. ok krw@ mbalmer@ and others.
2008-06-18 20:19:53 +00:00
oga
6bc6a1ee97 Revert previous "fix" it introduces new issues of its own.
The problem that's causing us to lose windows is that rapid hiding and
unhiding causes a backlog of X events, so we lose track of client state,
and delete cc->pwin when we should not. A proper fix will arrive when it's been
worked out.
2008-06-18 19:09:12 +00:00
mbalmer
53a4a3bc02 Call FatalError() instead of ErrorF() in case the amdmsr(4) is not
available or an ioctl returns an error.  This properly terminates and
the X server and restores the text console instead of hanging in an
undefined screen mode.
2008-06-18 06:29:41 +00:00
okan
5cf4e1c7ef missed one mouse function
noticed by oga
2008-06-17 23:46:49 +00:00
oga
81e6cb3e95 Ignore caps lock and numlock for keyboard bindings. The way Xlib makes
you do this is ugly. Also remove mod2 (numlock) and mod3 (odd) from the
list of keybinding modifiers. They don't make much sense here.

based on a heavily modified diff from Martynas.

ok okan.
2008-06-17 23:40:33 +00:00
matthieu
2e211b412b CVE-2008-1379 - MIT-SHM arbitrary memory read.
(This patch was missing form the bunch of security patches committed
on june 11. noticed by brad@).
2008-06-17 21:53:45 +00:00
matthieu
a107e63a20 Replace rsh with ssh in the extrace/merge example. Rsh is no more. 2008-06-17 21:34:31 +00:00
oga
812ce180c5 Just rework the mouse binding calculation on event to look like the
kbfunc one.  Makes the code a lot easier to read.

Fixes a bug i introduced in the last commit here.

ok okan.
2008-06-17 20:55:48 +00:00
oga
34c24fdb68 The mousebinding code missing a break once it had found the correct
binding, this expose another issue that's still being debugged.
Issue pointed out by Dan Harnett, thanks!

While i'm here KNF and rework the logic to not be ass-backwards.

ok okan.
2008-06-17 20:21:17 +00:00
mk
3d8c29aa2b Make this not crash when compiled with -g.
Found by myself, analysis by kurt@, fix by me with input from otto.

``Just get some fix in...'' deraadt
2008-06-16 19:09:48 +00:00
todd
7e03e79766 sync 2008-06-16 08:40:56 +00:00
matthieu
0a77d3ef3e Add a man page for Xephyr, with information from the README file. 2008-06-15 16:20:07 +00:00
matthieu
9fb72336cb Bump OpenBSD's libpciacces revision to be at least the version
generated by the unpatched one. (libpciaccess is not currently linked
to xenocara builds)
2008-06-15 04:56:00 +00:00
matthieu
f4e34ed34a update to libpciaccess 0.10.3. 2008-06-15 04:50:02 +00:00
oga
4ef73665d3 Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.
makes the code a lot simpler. While here rearrange the font handling functions
to be less shit.

ok and help okan@.
2008-06-15 02:47:46 +00:00
matthieu
adc1f13512 it's <machine/amdmsh.h> not <sys/amdmsr.h> now. 2008-06-15 02:24:51 +00:00
todd
3b25fa94f4 sync 2008-06-15 01:11:12 +00:00
matthieu
97eda17882 Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@. 2008-06-15 00:17:32 +00:00
matthieu
d2de707dd7 sync 2008-06-14 23:06:17 +00:00
mbalmer
431c2ec96f Add xf86-video-geode.
ok matthieu
2008-06-14 22:29:23 +00:00
mbalmer
073095ec69 Add a Makefile wrapper for OpenBSD and regen the autoconf generated files. 2008-06-14 22:27:07 +00:00
mbalmer
e37176280e Changes needed to run on OpenBSD using the new amdmsr(4) driver. 2008-06-14 22:26:13 +00:00
mbalmer
01d2267411 Import the xf86-video-geode driver for the AMD Geode LX graphics processor.
with and ok matthieu
2008-06-14 22:15:30 +00:00
okan
b3cbe6ba11 (mostly) proper xshape event support
ok oga@
2008-06-14 22:04:11 +00:00
okan
a880cefb2e unbreak 2008-06-14 21:59:09 +00:00
okan
b48fb0f64d slightly alter the semantics of config files:
- if no config file, continue silently and apply defaults
 - if config file, parse and move on
 - if config file specified but not found, error out

ok oga@
2008-06-14 21:51:00 +00:00
okan
4a6468a264 confable menu and window mouse bindings from rivo nurges (thanks!) with
some minor fixups, man page bits and knf.

ok oga@
2008-06-14 21:48:54 +00:00
mbalmer
c0e3e5ed7f Add amdmsr(4) to the list of privsep devices.
ok matthieu
2008-06-14 21:37:13 +00:00
matthieu
2bcb8fed1a Update to xkbcomp 1.0.5 2008-06-14 17:11:32 +00:00
matthieu
c2c271a871 Update to xfsinfo 1.0.2 2008-06-14 16:49:28 +00:00
matthieu
a1c7582f93 config.h.in was renamed xfs-config.h.in. missed in previous commit.
noticed by claudio@.
2008-06-14 13:07:28 +00:00
matthieu
cfa38e1f98 Man page update for fixed font label display change. 2008-06-14 01:07:29 +00:00