Jeremy Huddleston
8522a759c9
XQuartz: Only set MotionNotify on activation if it is updated.
...
(cherry picked from commit ae8077a251
)
2009-04-11 17:22:50 -07:00
Jeremy Huddleston
5e55becddc
XQuartz: Make sure the Fn doesn't trigger unneccessary calls to DarwinUpdateModKeys()
...
(cherry picked from commit 70a18558c6
)
2009-04-11 17:22:38 -07:00
Jeremy Huddleston
bd1d917909
XQuartz: Re-enable Fn as an option for 3button mouse simulation.
...
Patch from Martin Otte <otte@duke.edu>
(cherry picked from commit b5ec3be6b5
)
2009-04-11 17:22:20 -07:00
Ian Romanick
567cf67959
DRI2: Synchronize the contents of the real and fake front-buffers
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-04-10 12:00:36 -07:00
Ian Romanick
f1a995d149
DRI2: Do not send the real front buffer of a window to the client
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-04-10 12:00:36 -07:00
Ian Romanick
aa2928325f
DRI2: Add fake front-buffer to request list for windows
...
If a front-buffer is requested for a window, add the fake front-buffer
to the list of requested buffers.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-04-10 12:00:35 -07:00
Jeremy Huddleston
808fd2c67f
XQuartz: xprSetWindowLevel updated to store the level requested by the WM
...
(cherry picked from commit c28c2ddc3a
)
2009-04-10 00:48:35 -07:00
Jeremy Huddleston
dfb0d7aefb
XQuartz: Update window levels when changing rootless state
...
(cherry picked from commit 1359ded5bf
)
2009-04-10 00:47:40 -07:00
Jeremy Huddleston
d5ef88d754
XQuartz: Fix window levels for rooted mode to allow showing the menu bar.
...
(cherry picked from commit 80759a4186
)
2009-04-10 00:47:28 -07:00
Jeremy Huddleston
15146b8637
XQuartz: Properly set the window level for the root window
...
(cherry picked from commit bdf9286d1c
)
2009-04-10 00:47:16 -07:00
Jeremy Huddleston
8d5dcfe215
XQuartz: Properly set the menu bar and hotkey state when changing rootless mode.
...
Currently no code path exhibits the broken behavior since we only toggle into rootless if we don't have the root.
(cherry picked from commit 970f100ca3
)
2009-04-10 00:47:03 -07:00
Jeremy Huddleston
82d7cf5cdc
XQuartz: In rooted mode, make sure we start in the hidden state.
...
(cherry picked from commit 5ecc497f71
)
2009-04-10 00:46:48 -07:00
Jeremy Huddleston
e86f4e9302
XQuartz: Send MotionNotify before button presses when X11 is in the background
...
(cherry picked from commit c80d0ec18e
)
2009-04-10 00:46:35 -07:00
Jeremy Huddleston
5ccfad8df0
XQuartz: Revert most of the previous override redirect patch
...
The changes actually caused all windows to move to the current space. Instead, we're going with a fix entirely within Xplugin that depends on quartz-wm being the window-manager for now.
(cherry picked from commit 997b6f3142
)
2009-04-10 00:46:25 -07:00
Alan Coopersmith
a0b6a363dc
Lift fatal signal handlers from DDX'es up to a common DIX implementation
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-09 17:10:12 -07:00
Peter Hutterer
6b467bf879
xfree86: shut up compiler warnings - typecast to InternalEvent
...
Reported-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-09 20:50:32 +10:00
Peter Hutterer
8a2a184da7
xfree86: fix use of uninitialized variable in DGAProcessPointerEvent.
...
Reported-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-09 20:50:32 +10:00
Eamon Walsh
3a0ee199dc
config: fix crash caused by strdup(NULL)
2009-04-09 02:29:28 -04:00
Alan Coopersmith
66539cc05d
Don't leak default font path when appending built-ins
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-07 10:08:56 -07:00
Adam Jackson
69e73e5ce0
config: Remove useless xf86conf{{m,c,re}alloc},free} macros
2009-04-06 17:56:49 -04:00
Adam Jackson
485946120a
config: s/xf86configStrdup/strdup/
2009-04-06 17:51:35 -04:00
David Jander
5f769b7344
kdrive: Fix segfault in tslib support
2009-04-06 13:01:08 -04:00
Adam Jackson
aa6fbc2a36
Remove some OS/2 leftovers.
2009-04-06 10:58:47 -04:00
Jeremy Huddleston
2c03a63ff6
XQuartz: Use updated Xplugin API to send overide-redirect windows to the current space when they're ordered in
...
This fixes the annoying "using a menu moves me to another space" bug
(cherry picked from commit 9e6dab89e0
)
2009-04-05 16:32:12 -07:00
Jeremy Huddleston
67621f3b39
XQuartz: Send a MotionNotify event for the mouse cursor when activating X11.app
...
Otherwise if X11.app was activated with a mouse click, the location of the even is the last location of the cursor before X11 was deactivated
(cherry picked from commit c7457d7b31
)
2009-04-05 16:32:02 -07:00
Julien Cristau
e1338d2714
xfree86: Remove unused DEFAULT_UNRESOLVED and DEFAULT_BEST_REFRESH macros
2009-04-04 23:47:36 +02:00
Adam Jackson
6574ab092f
DPMS: Remove the defaultDPMS* variables
2009-04-03 18:22:20 -04:00
Adam Jackson
c1cf36ee29
DPMS: Simplify command line parsing
2009-04-03 18:22:20 -04:00
Adam Jackson
2d0a4fff79
DPMS: Remove unused DPMSGet()
2009-04-03 18:22:20 -04:00
Adam Jackson
a99b0ab918
DPMS: Fix cast abuse
2009-04-03 18:22:19 -04:00
Adam Jackson
d2690375df
kdrive: s/KdSaveString/strdup/g
...
This isn't even funny anymore.
2009-04-03 11:08:31 -04:00
Alan Coopersmith
1c101d75d4
Don't leak canonical module name and patterns if module is built-in
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-01 15:56:55 -07:00
Jeremy Huddleston
9180081ec3
XQuartz: Still send mouse events while X11 is in the background if we have test extensions enabled
...
(cherry picked from commit f393fb686c
)
2009-04-01 13:53:15 -07:00
Jeremy Huddleston
029307e79a
XQuartz: Return BadRequest when SendPSN isn't implemented rather than success
...
(cherry picked from commit 49871e9917
)
2009-04-01 13:53:04 -07:00
Jeremy Huddleston
0603fbc1d3
XQuartz: Pad xAppleDRINotifyEvent to 32bytes to match sizeof(xEvent)
...
(cherry picked from commit 276ee3bb08
)
2009-04-01 13:52:52 -07:00
Tormod Volden
b1dab580bd
xfree86: edid quirk for Philips LCD LP154W01-TLAJ
...
This panel reports its vertical size in cm.
X.Org bug#21000 <http://bugs.freedesktop.org/show_bug.cgi?id=21000 >
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-04-01 20:05:23 +02:00
Adam Jackson
7d94414cf4
input: Remove xf86ReloadInputDevs hack
...
We have input hotplug now, no need to fake it.
2009-04-01 09:42:06 -04:00
Jeremy Huddleston
3311ef6ec9
XQuartz: Don't report mouse events while X11 is not the foreground application
...
(cherry picked from commit 5d1dd35096
)
2009-03-31 18:13:18 -07:00
Adam Jackson
89887fadc9
APM: Don't carp if not available.
2009-03-31 15:09:57 -04:00
Jeremy Huddleston
0b6e14d46f
XQuartz: Fix mouse tracking for quake, et. al. in wine
...
Patch courtesy of Codeweavers
Fix mouse movement tracking. For a non-window-related mouse-move event,
calculate the new position by adding the event's delta-x and delta-y values
to the previous mouse position. Do not rely on the current mouse position
because it may have been changed by a XWarpPointer call.
(cherry picked from commit 7a67935b05
)
2009-03-30 20:41:38 -07:00
Adam Jackson
c74220b853
APM: Use general handlers, not input handlers.
...
Otherwise APM events get treated as input events, which messes up idle
time accounting and screensavers and such. Not, we hope, that anyone
is using APM anymore.
2009-03-30 14:56:15 -04:00
Adam Jackson
8e7facfe30
config: Fall back to vesa for Intel Poulsbo.
2009-03-27 15:48:17 -04:00
Simon Thum
1a71862d33
dix/xfree86: simplified velocity approximation algorithm
...
Replace multi-stage filtering with simple linear velocity,
tracked several instances backwards. A heuristic ensures
only approximately linear motion is considered, so velocity
remains valid in any case. Numerical stability is much
better, and nothing changes to people who didn't tune the
advanced features of the previous algorithm.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20 14:48:57 +10:00
Peter Hutterer
be6dc9023b
xfree86: remove a superfluous assignment.
...
If dev is NULL, we don't have a VCP and that means we have other issues
anyway.
2009-03-16 13:29:07 +10:00
Adam Jackson
fc5e8dc4a2
Unexport xf86SetPriority
2009-03-13 14:00:37 -04:00
Ander Conselvan de Oliveira
544cd9e7b5
Honour Option "DPMS" "off" on xorg.conf
...
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-03-12 14:50:59 -04:00
Simon Thum
7abb72c5c7
xfree86: remove obsolete code
...
remove a few lines which redo part of the pointer acceleration
init. Properties is the way to go for them.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Matthias Hopf
cadf65a6e1
randr: Nuke broken set_origin shortcut
...
Shortcut is impossible to implement this way, because we don't know for sure
whether the crtc of an output has changed or not.
2009-03-10 15:49:49 +01:00
Winfried Grünewald
d1338a9480
[hw/xfree86] Fix StaticGray cmap.
...
Fix this bug report:
,----< from http://bugzilla.freedesktop.org/show_bug.cgi?id=20504 >
| Using the Visual StaticGray (8 bit depth) is missing one gray level.
| The gray level of index zero and index one are the same and all
| other levels are shifted by one. The max level (255) cannot be used.
`----
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-03-06 12:59:35 -05:00
Jeremy Huddleston
daa9727a02
XQuartz: Implement SendPSN for AppleWM
...
(cherry picked from commit 779e9fdc2d
)
2009-03-04 13:39:43 -08:00