Alexandre Julliard
ed97fa1cb2
user32/tests: Add more tests for GDI and private clipboard formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 22:49:27 +09:00
Alexandre Julliard
761d244970
winex11: Remove support for synthesizing clipboard formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 13:24:36 +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
Akihiro Sagawa
876d5de0b4
winex11: Use proper return type for process_events().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:39:33 +09:00
Akihiro Sagawa
030e1f4f5f
winex11: Fix log message in process_events().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:39:29 +09:00
Akihiro Sagawa
ce7a98e95c
winex11: Return more reliable value from X11DRV_MsgWaitForMultipleObjects.
...
After processing several X events, X11DRV_MsgWaitForMultipleObjects always
tells us that a new message is available. This is not true for some cases.
For instance, when we call DestroyWindow, the X queues DestroyEvent. Then,
X11DRV_MsgWaitForMultipleObjects handles the event only; none is posted or
sent as hwnd for destroyed window is unavailable. However, the function
states "new message is available" by returning count - 1 value.
This is an issue for CoWaitForMultipleHandles because it expects a new
message in the queue and consumes the message.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 22:27:40 +09:00
Alexandre Julliard
13fbbfac1c
winex11: Don't try to free custom GDI formats at all.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 00:16:42 +09:00
Alexandre Julliard
99d5b75c7d
winex11: Don't disallow replacing unowned formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 18:05:48 +09:00
Alexandre Julliard
d9df977006
user32: Don't disallow delayed rendering even when not the clipboard owner.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 17:57:50 +09:00
Alexandre Julliard
60f8b516e2
winex11: Allocate clipboard data as GMEM_FIXED.
...
Based on a patch by Rafał Harabień.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:57:51 +09:00
Alexandre Julliard
228d855907
winex11: Correctly free CF_DIB format, and don't free unknown GDI formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:42:06 +09:00
Alexandre Julliard
6da991c75b
winex11: Don't crash when getting an invalid window in SelectionRequest.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:36 +09:00
Nils Kuhnhenn
1def1e2f7f
winex11.drv: Return default locale in LoadKeyboardLayout stub instead of 0.
...
Signed-off-by: Nils Kuhnhenn <kuhnhenn.nils@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 13:38:35 +09:00
Kirill Smirnov
1b4e193473
winex11.drv: Avoid passing NULL to memcpy (clang).
...
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-09 15:42:27 +09:00
Kirill Smirnov
827f97c1ab
winex11.drv: Fix an uninitialized variable (clang).
...
dst_bits structure is valid only if copy_image_bits() succeeded.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 12:13:14 +09:00
Hadrien Boizard
81538ebb6d
winex11.drv: Use wine_dbgstr_point in TRACES.
...
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 22:19:37 +09:00
Piotr Caban
6afecf2223
winex11.drv: Don't assume that owner is top-level window in set_style_hints.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:54:17 +09:00
Alexandre Julliard
10b526733f
winex11: Implement FillPath, StrokeAndFillPath and StrokePath.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:20 +09:00
Aric Stewart
a357a29a55
winex11.drv: Correct sizes in COMPOSITIONSTRING structure when updating fields.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:30:06 +09:00
Alexandre Julliard
6f2c18609b
winex11: Hide window icons in desktop mode when the taskbar is active.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 22:42:00 +09:00
Miklós Máté
c89dc58deb
winex11: Use GLX 1.3 for windows.
...
Differentiate between X window and GLX window, use GLX 1.3 for GL window
create/destroy.
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 20:50:17 +09:00
Miklós Máté
9859365d77
winex11: Use GLX 1.3 for pixmaps.
...
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 20:40:26 +09: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
Ken Thomases
daa351ee82
winex11: Fix logic of whether to use XUnmapWindow() or XWithdrawWindow() in make_window_embedded().
...
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 14:20:36 +09:00
Damjan Jovanovic
cd5b868fa0
winex11.drv: Really ignore the drop effect returned from IDropTarget::DragEnter.
...
Commit a2f3d97406
wanted to ignore the
drop effect returned in IDropTarget::DragEnter, but never did so,
instead it just copied effect to effect_ignore so it can later be
logged.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 23:29:15 +09:00
Damjan Jovanovic
d2314223ae
winex11.drv: Improve some XDND log messages.
...
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 23:29:09 +09:00
Aric Stewart
e4d94e4813
winex11.drv: Improve setting IME result text with no composition.
...
This greatly improves behaviors around deadkeys in Microsoft Word.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:18 +09:00
Henri Verbeet
8a348a4b99
winex11: Only warn when an RandR output has no modes.
...
This can legitimately happen when the output is disconnected.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 14:02:40 +09:00
Jacek Caban
ef6890835d
winex11.drv: Use InitOnceExecuteOnce in has_opengl.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:15:47 +09:00
Michael Müller
b49601b5ce
winex11: Add 320x240 as supported resolution in desktop mode.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 15:04:03 +09:00
Miklós Máté
f9696eea8b
winex11: Don't create a temporary context each time X11DRV_wglBindTexImageARB is called.
...
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 01:37:06 +09:00
Henri Verbeet
97e8f047a4
winex11: Implement WGL_WINE_query_renderer on top of GLX_MESA_query_renderer.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:11:07 +09:00
Michael Stefaniuc
17169816cd
winex11: Use debugstr_a to print strings that can be NULL.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:05:53 +09:00
Jacek Caban
ecf9e9135d
winex11.drv: Use grabbed window display in SetCapture.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Miklós Máté
c0219a7384
winex11: Add 1280x960 resolution.
...
This enables high resolution setting in Anachronox, when Wine is configured
to emulate a virtual desktop. The game only supports 640x480 and 1280x960.
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:09 +09:00
Shu Yokoyama
5ccf039fc7
winex11: Fix HRESULT handling in XdndPosition.
...
Signed-off-by: Shu Yokoyama <yokoyama@graco.c.u-tokyo.ac.jp>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Henri Verbeet
60a7cb6633
winex11: Get rid of the unused "old_screen_rect" field from struct desktop_resize_data.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:06 +09:00
Charles Davis
6509f90eac
winex11.drv: Actually query the swap method attribute.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:16 +09:00
Alex Henrie
e330c40df9
winex11: Fix overflow in remove_startup_notification.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:12 +09:00
Piotr Caban
ba21de83a6
winex11.drv: XDNDDropEffect stores OLE Drag&Drop effect so don't use it WS_EX_ACCEPTFILES related drops.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:37 +01:00
Piotr Caban
76f7d8c7ab
winex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:31 +01:00
Piotr Caban
c96589421a
winex11.drv: Only update drop effect if IDropTarget::DragOver returned S_OK.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:26 +01:00
Piotr Caban
fd4dbf0519
winex11.drv: Call DragLeave instead of Drop if DROPEFFECT_NONE was set.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:20 +01:00
Piotr Caban
a2f3d97406
winex11.drv: Ignore effect returned in IDropTarget::DragEnter.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:14 +01:00
Alexandre Julliard
197f708be4
winex11: Include raw motion events in the QS_MOUSEMOVE event filter.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 15:31:34 +09:00
Hugh McMaster
598d334e73
winex11.drv: Ctrl-Space should generate space, not 0.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 21:09:56 +09:00
Alexandre Julliard
49e1ba7d4b
winex11: Ignore EnterNotify events that are older than the last mouse wrap.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 17:42:38 +09:00
Alexandre Julliard
9d237f97fc
winex11: Add a helper function to check a motion event against the serial number.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 17:42:01 +09:00
Sebastian Lackner
7ffbd0e1f4
winex11.drv: Fix specfile entry for X11DRV_ScrollDC.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-29 12:46:22 +09:00
Alexandre Julliard
c7c1fb5eab
winex11: Flush the output of a flushed surface right away.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 20:53:31 +09:00