Torge Matthies
2e4bfa642e
winex11.drv: Avoid race condition in X11 error handling.
...
The err_callback* globals need to be protected from being overwritten
before X11DRV_check_error is called, otherwise no or the wrong error
handler might be called.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-08 22:28:44 +02:00
Zhiyi Zhang
59c206f9dc
winex11.drv: Use _GTK_WORKAREAS to get work areas if it is available.
...
_NET_WORKAREA reports a single rectangle as intersected work areas of
all monitors. So work areas on non-primary monitors may be incorrect.
For example, a dock only shown on the primary monitor reduces the work
areas on non-primary monitors.
There were attempts to extend _NET_WORKAREA to support work areas of
multiple monitors but they were rejected as EWMH is no longer being
maintained and _GTK_WORKAREAS was introduced instead.
Fix Office 2010 missing title bar on non-primary monitors on GNOME.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-01 10:59:35 +02:00
Alexandre Julliard
7afa53c0f2
winex11: Use standard dlopen() instead of the libwine wrappers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:20 +02:00
Zhiyi Zhang
644d00d540
winex11.drv: Implement X11DRV_D3DKMTCheckVidPnExclusiveOwnership.
...
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-10-22 23:04:27 +02:00
Zhiyi Zhang
e08dd25f32
winex11.drv: Implement X11DRV_D3DKMTSetVidPnSourceOwner.
...
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-10-22 23:04:27 +02:00
Zhiyi Zhang
7f57cda707
winex11.drv: Handle display device changes.
...
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
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
31c7a7157d
winex11: Default to an ARGB visual when depth is set to 32.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-26 13:39:22 +01:00
Vincent Povirk
50b0336914
winex11: Convert process name to lowercase for WM name hint.
...
The startup-notification spec is vague on this point, but it seems
that StartupWMClass is case-sensitive. We should convert to a
standard case so we can use that field.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 18:54:52 +02:00
Alexandre Julliard
fc21a83a91
winex11: Store the process name at startup to avoid grabbing the loader lock again.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 22:12:08 +02:00
Alexandre Julliard
adc349c38e
winex11: Also ignore BadWindow errors caused by XSendEvent.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 17:08:28 +01:00
Alexandre Julliard
89f2dafe50
winex11: Export the TIMESTAMP clipboard property.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:16 +09:00
Alexandre Julliard
0aa7d402d2
winex11: Remove support for exporting the CF_OEMTEXT and CF_LOCALE formats.
...
They can be synthesized from CF_UNICODETEXT.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:25 +09:00
Alexandre Julliard
c837adf38e
winex11: Remove support for exporting the CF_BITMAP, CF_PALETTE and CF_DIBV5 formats.
...
They can be synthesized from CF_DIB.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:25 +09:00
Alexandre Julliard
29fc759d52
winex11: Remove support for exporting the CF_METAFILEPICT format.
...
It can be synthesized from CF_ENHMETAFILE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:25 +09:00
Alexandre Julliard
82dfbba5c6
winex11: Remove support for owner-displayed clipboard formats.
...
It cannot work across prefixes, and it didn't work previously either.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:25 +09:00
Alexandre Julliard
4bbe8f90d4
winex11: Ignore X11 errors happening on the clipboard display connection.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 21:54:31 +09:00
Alexandre Julliard
a52d09198d
winex11: Run a single clipboard manager thread per window station, inside the explorer process.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 21:53:52 +09:00
Alexandre Julliard
2215d770c5
winex11: Merge converting the selection and importing it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-21 21:17:19 +09:00
Jacek Caban
af9f722361
winex11.drv: Added ThreadDetach entry point and use it instead of DllMain.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 11:43:38 +09:00
Jactry Zeng
c2dc6f3ef2
winex11: Implement FlashWindowEx.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:27 +09:00
Frédéric Delanoy
323bec99b3
winex11.drv: Use BOOL type where appropriate.
2013-11-29 13:32:46 +01:00
Alexandre Julliard
fdde51580d
winex11: Clear the thread data explicitly on detach.
2013-10-16 19:45:52 +02: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
defcfde17c
winex11: Add an option to disable shaping of layered window to work around compositor bugs.
2013-01-02 18:09:34 +01:00
Alexandre Julliard
67d16ddee3
winex11: Move the screen saver support to a new SystemParametersInfo entry point.
2012-11-15 21:21:50 +01:00
Alexandre Julliard
11875bf40a
winex11: Use the default anti-aliasing parameters from gdi32.
2012-11-05 16:25:48 +01:00
Alexandre Julliard
e03b8e1a1d
winex11: Use ARGB layered windows for system tray icons when supported.
2012-10-02 14:08:37 +02:00
Alexandre Julliard
f12c1c6630
winex11: Switch to an ARGB visual for layered windows with per-pixel alpha.
2012-10-02 14:08:37 +02:00
Alexandre Julliard
3c57f11374
winex11: Create a default colormap along with the default visual info.
2012-09-26 14:40:40 +02:00
Alexandre Julliard
988f2fde86
winex11: Store the full visual info for the default visual.
2012-09-26 14:40:39 +02:00
Alexandre Julliard
33ac850c80
winex11: Use window surfaces for rendering top-level windows.
...
It can be disabled by setting "ClientSideGraphics"="n".
2012-09-06 12:44:54 +02:00
Alexandre Julliard
9f042298f7
winex11: Move the GL drawable management to opengl.c.
2012-09-03 16:45:51 +02:00
Alexandre Julliard
fbac3194a5
winex11: Store the OpenGL drawable in a separate structure with its own context.
2012-09-03 16:45:51 +02:00
Alexandre Julliard
9980868b81
winex11: Get rid of the X11 locking functions.
2012-08-16 16:52:31 +02:00
Alexandre Julliard
cf1be58706
winex11: Remove the remaining X11 locking calls.
2012-08-16 16:48:00 +02:00
Alexandre Julliard
c970621d90
winex11: Create contexts at initialization time to avoid the need for locks.
2012-08-16 14:34:00 +02:00
Alexandre Julliard
ff60249cab
winex11: Use the labels to find the mouse motion valuators for XInput2.
2012-08-16 10:27:19 +02:00
Alexandre Julliard
f9a383323f
winex11: Remove unnecessary cleanups on process exit.
2012-08-15 14:24:20 +02:00
Alexandre Julliard
6bfcb347bf
winex11: Remove X11 locking around simple X calls.
2012-08-14 15:13:08 +02:00
Henri Verbeet
6c4465f4ac
winex11: Get rid of xrandr.h.
2012-07-09 15:05:02 -04:00
Henri Verbeet
eafc8d0b34
winex11: Get rid of xvidmode.h.
2012-07-09 15:04:48 -04:00
Alexandre Julliard
5f99b59e77
winex11: Add an OpenGL GDI driver.
2012-05-08 14:35:42 +02:00
Alexandre Julliard
07bc017ff1
winex11: Give XInitThreads yet another chance.
2012-05-05 13:36:22 +02:00
Alexandre Julliard
bb62ddeba7
winex11: Remove support for server-side fonts.
2012-04-18 13:07:17 +02:00
Alexandre Julliard
9efb9d480d
winex11: Don't allocate the glyph cache without Xrender, and cleanup initialization.
2011-11-21 12:17:56 +01:00
Alexandre Julliard
2e4b0b1ef4
winex11: Set the reported screen bpp based on the available pixmap formats.
2011-07-06 12:38:31 +02:00
Marcus Meissner
5a9b623212
winex11.drv: Mark internal symbols with hidden visibility.
2011-05-25 11:49:52 +02:00
Alexandre Julliard
ae52a8c2cb
winex11: Add an option to automatically clip the pointer in desktop and multi-monitor modes.
2011-05-11 14:56:20 +02:00