Commit Graph

3916 Commits

Author SHA1 Message Date
shadchin
c433d84d71 Fix for ClickPad (xenocara part). On issue pointed gilles@ and matthieu@
ok gilles@, matthieu@, mpi@, miod@, deraadt@
2012-07-22 18:33:01 +00:00
okan
9e50f2e028 Further simplify Xinerama init and re-init on XRR events.
While testing for Xinerama during setup was done display-wide, each time
XineramaQueryScreens() is called either in start-up or due to an XRR
event, the library re-tests for the Xinerama extension anyway before
moving on; so the initial test is redundant and allows another global to
go away with one other change: always fill in sc->xinerama (and _no),
regardless of the success of malloc in XineramaQueryScreens(), and use
it to see if Xinerama dimensions exist when asked by client and/or menu
code.
2012-07-18 21:53:22 +00:00
okan
476b0dcf17 unify various max routines to match client placement and partially menu ones
when calculating screen dimensions.
2012-07-16 01:53:14 +00:00
okan
8a8244095d check value 2012-07-16 01:42:00 +00:00
okan
147b66e3ac move the HasXinerama check into screen_find_xinerama and simplify logic;
moves closer to logic in menu code.
2012-07-16 01:36:30 +00:00
okan
94b92cf7fb re-use geom struct in client_ctx (saved)geometry. 2012-07-13 17:01:04 +00:00
mpi
dbe156d77d Fix path to mesa sources 2012-07-13 15:42:03 +00:00
okan
6ee7c6534f convert xmax/ymax uses to view geometry. 2012-07-13 15:21:35 +00:00
okan
3f2059e461 introduce screen "view" area and "work" area (gap applied) to simplify
various blocks that require understanding the screen geometry.
2012-07-13 14:18:04 +00:00
mpi
0e20e1901a Lets gallium a chance to build with our llvm port 2012-07-13 13:00:28 +00:00
mpi
eba99e2372 Let swrastg a chance to compile 2012-07-13 12:55:32 +00:00
mpi
7d428aff6d Import swrastg the Gallium3D software rasterizer. It uses the softpipe
driver by default but can also use the llvmpipe driver that use LLVM 
for code generation if available.

Not yet linked to the build as it depends on pthreads and we don't know
yet how to handle the switch from the default 'swrast' driver, but having
it in tree will help testing and debugging the remaining issues.

Tested by ajacoutot@ and matthieu@, looks ok to matthieu@
2012-07-13 12:54:20 +00:00
mpi
87615d415c Import the infrastructure for building Gallium3D graphics drivers.
Currently only software drivers are supported, looks ok to matthieu.
2012-07-13 12:43:30 +00:00
todd
e754c84542 sync 2012-07-11 14:27:25 +00:00
shadchin
238484184f two nits missing in previous commit 2012-07-08 14:22:03 +00:00
shadchin
4777ba761a Cleanup and uniform style. No functional changes. 2012-07-08 13:51:11 +00:00
matthieu
813879f82c Brown paperbag commit.
Prodded by espie@ I reviewed the history of
OpenBSD local changes carefully and found a number of merge errors
accumulated over the complicated CVS history of this driver.

This the 6.14.4 code + OpenBSD local fixes as it should be.
2012-07-08 13:42:13 +00:00
okan
3ce93c9b3b fix atom for setting WM_STATE. 2012-07-08 02:55:01 +00:00
okan
8260032aee fix atom for retrieving WM_STATE between re-exec's. 2012-07-08 02:50:41 +00:00
okan
0ec36603b5 remove a redundant assignment and another one up. 2012-07-08 01:00:24 +00:00
dcoppa
25007b34dd Update to freetype-2.4.10.
With help and ok matthieu@
2012-07-07 16:45:03 +00:00
mpi
a1f4d59825 Unbreak GLX1.3 ctors with software dri, this makes clutter/cogl works with
software accleration.

Upstream commit d44f821213d7ed67fed18d6ea6c34b61a665c89e by Adam Jackson

ok ajacoutot@, jasper@, robert@
2012-07-07 12:03:53 +00:00
mpi
73fa8c0344 Don't enable INTEL_swap_event unconditionally and wait forever for an
event that's not coming.

This unbreak clutter/cogl and probably other toolkits.

Upstream commit 25620eb1d277c6b80edb136eaeca12532fcfd3ce by Adam Jackson

ok ajacoutot@, jasper@, robert@
2012-07-07 12:00:49 +00:00
okan
37bdf57a02 querying for Xinerama should be done per display, not per screen, so
move chuck to display init; allows some shuffling to occur limiting
screen_init_xinerama()'s scope while keeping order intact.
2012-07-06 14:18:00 +00:00
dcoppa
78655b3e88 Add a couple examples of keybindings using keysyms, as discussed
with okan@ and sthen@.

OK okan@, sthen@
2012-07-06 08:41:29 +00:00
okan
43b628a3d0 the display's width and height are updated after an XRandR event so we
don't need to pass down the new values to screen_update_geometry(); so
just read the width/height values directly for both uses of
screen_update_geometry().  prep for further changes in this area.
2012-07-05 17:35:13 +00:00
okan
e52aef56f0 assign and use screen ctx where appropriate and consistently. 2012-07-04 23:42:03 +00:00
okan
3a1ddcb19e use the screen ctx since we already have it assigned. 2012-07-04 18:07:12 +00:00
okan
74ef1605a1 fix missing atom (WM_PROTOCOLS) wrt new style handing; without this, the
window manager didn't know if a client supported CLIENT_PROTO_DELETE and
thus used a hammer, XKillClient.

behaviour reported by Tim van der Molen.
2012-07-04 18:00:13 +00:00
okan
d24974f4cb re-implement atom handing; makes for a normalized and more consistent
separation between cwm and ewmh.  seen by a few.
2012-07-03 13:49:03 +00:00
shadchin
4e7daddec8 sync 2012-06-30 13:59:54 +00:00
shadchin
92df448a79 Update to xf86-input-synaptics 1.6.2
ok matthieu@, mpi@
2012-06-30 13:31:03 +00:00
matthieu
5ffac9e654 Remove -Wredundant-decls gcc warning option. It causes lots of
noise in OpenBSD system headers. requested by espie@, ok guenther@.

Note that this will only take effect once configure scripts and
Makefile.in are re-generated. This will happen in a not too
short future.
2012-06-24 20:52:47 +00:00
matthieu
075b81cb95 Link libIntelXvMC.so to pthread-stubs, not pthreads.
Needed by future matthew@ patch.
2012-06-24 20:43:25 +00:00
matthieu
89289e99bd Do not assume that merge.sh has the 'x' bit set. 2012-06-24 17:17:27 +00:00
todd
0e3d5a3a6a sync 2012-06-23 12:27:31 +00:00
todd
eff85448b1 sync 2012-06-21 20:02:28 +00:00
mpi
03c84451fc Since the transition to Xserver 1.12, the standard vgaHW layer
that depends on libpciaccess and is broken on macppc, so use
vgaHWSetMmioFuncs() instead of vgaHWSetStdFuncs() and unbreak
the nv driver on this platfrom.

ok matthieu@
2012-06-21 09:52:45 +00:00
matthieu
8ead23f263 Remove mac68k bits from Xenocara.
The imake config bits are not removed.
Those files are frozen, until they can be removed, once the last
port that still uses imake dies.
2012-06-20 19:56:34 +00:00
matthieu
2f68a08887 Don't unload sub-modules with xserver 1.12 2012-06-18 19:55:23 +00:00
todd
ca98827488 sync 2012-06-18 08:46:35 +00:00
matthieu
baeff29842 screenFd -> consoleFd conversions that were missed in xserver 1.12 import. 2012-06-16 15:08:08 +00:00
matthieu
aacc4fff98 Finish removing the impact driver. Those files were left over
almost 4 years ago, and no one noticed.
2012-06-14 21:13:23 +00:00
matthieu
3911b7b4f2 Fix for new vgahw API. Problem reported by mpi@. Thanks. 2012-06-14 20:19:13 +00:00
shadchin
b1c43b246a Update to xf86-input-synaptics 1.6.1
ok matthieu@
2012-06-12 18:59:42 +00:00
shadchin
efc79f5918 zap extra brackets 2012-06-12 17:59:01 +00:00
shadchin
6810536bbf fix indent 2012-06-12 17:44:56 +00:00
shadchin
c141be6b55 zap trailing space 2012-06-12 17:19:01 +00:00
shadchin
19315c6e52 Add support ButtonMapping
ok matthieu@
2012-06-12 17:12:50 +00:00
shadchin
90e4158e02 Small cleanup
ok matthieu@
2012-06-12 17:11:23 +00:00