Zhiyi Zhang
be54adcffc
winex11.drv: Support XRandR display device handler.
...
XRandR supports multiple GPUs and runtime device change
compared to Xinerama.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Zhiyi Zhang
ec09dcf895
winex11.drv: Add virtual desktop display device handler.
...
The virtual desktop display device handler is actually the
Xinerama handler, but with a much higher priority. So that
it will be preferred in virtual desktop mode when other display
device handlers are introduced, e.g., the XRandR handler.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Zhiyi Zhang
25167fb286
winex11.drv: Make screen helpers independent of Xinerama.
...
So that other display device handlers such as XRandR can be introduced
because they might report a virtual screen size with different top-left
corner and the primary screen may be different as well.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 14:18:49 +02:00
Zhiyi Zhang
23b28323cb
winex11.drv: Use generic GetMonitorInfo.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 13:22:17 +02:00
Zhiyi Zhang
074abfe097
winex11.drv: Use generic EnumDisplayMonitors.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 13:22:17 +02:00
Zhiyi Zhang
31445c3264
winex11.drv: Initialize monitor registry data.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 08:21:00 +02:00
Zhiyi Zhang
eada617881
winex11.drv: Initialize adapter registry data.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 08:20:01 +02:00
Zhiyi Zhang
bada31698f
winex11.drv: Initialize GPU registry data.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 08:16:33 +02:00
Zhiyi Zhang
52a3d5db48
winex11.drv: Add Xinerama display device handler.
...
Display device handlers are used to initialize the display device
registry data. Different handlers can be implemented according to
the defined interface, for example, via Xinerama or XRandR.
With those registry data, EnumDisplayDevices, EnumDisplayMonitors
and GetMonitorInfo can be built on top of it.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 08:09:55 +02:00
Alexandre Julliard
341192289b
winex11: Simplify the EnumDisplayMonitors driver entry point.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 10:54:00 +02:00
Alexandre Julliard
6c6814056f
winex11: Subtract the tray window from the work area in desktop mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:51 +09:00
Alexandre Julliard
0f03f264b7
winex11: Add a helper function to return the primary monitor rectangle.
2013-10-14 17:26:14 +02:00
Alexandre Julliard
9f1f29cc91
winex11: Add a helper function to return the virtual screen rectangle.
2013-10-14 17:26:14 +02:00
Alexandre Julliard
0b71e0bf12
winex11: Add helper functions for converting between root and virtual screen coords.
2013-10-14 17:26:13 +02:00
Alexandre Julliard
cf1be58706
winex11: Remove the remaining X11 locking calls.
2012-08-16 16:48:00 +02:00
Henri Verbeet
ed331cb0a5
winex11: Properly calculate the virtual screen rect in xinerama_init().
2012-07-16 14:23:20 +02:00
Alexandre Julliard
21e86f60ec
server: Post a message to the desktop window when the cursor clip rectangle changes.
2011-04-05 13:36:57 +02:00
Maarten Lankhorst
0a6459598a
user32/winex11.drv: Change all user32 operations to use CDECL.
2008-12-23 13:06:04 +01:00
Vincent Povirk
1a2216cbc7
winex11.drv: Do not assume window managers support _NET_WORKAREA.
2008-12-20 11:30:58 +01:00
Dmitry Timoshkov
9aaa24091f
winex11.drv: Add support for _NET_WORKAREA.
2008-10-02 10:40:13 -05:00
Dmitry Timoshkov
dddec81dfb
user32: Add a test for monitor work area, fix some failures.
2008-08-27 13:21:20 +02:00
Alexandre Julliard
e00840cf57
winex11: Only update the virtual screen rect once in xinerama_init to minimize race conditions.
2008-02-06 20:38:20 +01:00
Alexandre Julliard
dbfe24c33c
winex11: Move resetting of the cursor clip rectangle into xinerama_init().
2008-01-23 10:30:42 +01:00
Alexandre Julliard
c5a95025cf
winex11.drv: Moved initialization of screen_width/height to xinerama_init to do it inside the x11 lock.
2008-01-17 19:59:22 +01:00
Alexandre Julliard
35d2fd7a25
configure: Merge the libXinerama existence check with the soname check.
2007-07-04 12:48:50 +02:00
Alexandre Julliard
446befbb4d
configure: Don't use a default soname if a library is not found, leave it undefined.
2007-07-02 14:35:05 +02:00
Alexandre Julliard
a06aeaba39
winex11.drv: Offset X11 coordinates with the primary monitor position.
...
No longer force the primary monitor to contain the X11 (0,0) coordinate.
2006-10-26 13:04:52 +02:00
Alexandre Julliard
af9574cead
Revert "kernel32: Exit from initial thread with ExitThread not by ExitProcess."
...
This reverts commit 5a1fd50db3
.
I committed the wrong file.
2006-10-24 20:48:17 +02:00
Dmitry Timoshkov
5a1fd50db3
kernel32: Exit from initial thread with ExitThread not by ExitProcess.
2006-10-24 20:06:57 +02:00
Alexandre Julliard
8a8903516c
user: Moved GetMonitorInfo and EnumDisplayMonitors to the display driver.
...
Added Xinerama support for these functions.
2006-10-23 14:38:10 +02:00
Alexandre Julliard
3c305f9db9
winex11.drv: Preliminary support for Xinerama.
2006-10-23 14:37:17 +02:00