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
Nikolay Sivov
a6a20ccc3c
winex11: Simplify XGetWindowProperty return code checks (Clang).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 13:19:43 +09:00
Alexandre Julliard
9f5147e08f
winex11: Fix a copy&paste typo in the initial position of a window.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:17 +09:00
Piotr Caban
a19fe8d9c8
winex11.drv: Don't call IDropTarget::{DragOver,DragLeave,Drop} functions if DragEnter fails.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 20:28:54 +09:00
Piotr Caban
701bb45203
winex11.drv: Inform x11 that we're interested in drop if windows expects WM_DROPFILES message.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 20:28:54 +09:00
Piotr Caban
5dad16510d
winex11.drv: Send WM_DROPFILES if IDropTarget_Drop failed or DROPEFFECT_NONE was set.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 20:28:54 +09:00
Alexandre Julliard
aaa7f2ca5a
winex11: Make OpenGL traces more compact and readable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 23:05:45 +09:00
Alexandre Julliard
ef9c0cecc5
winex11: Always create direct rendering OpenGL contexts.
...
Indirect rendering is no longer supported nowadays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 15:36:41 +09:00
Nikolay Sivov
3e59d59ab5
winex11: Remove tracing function that was never used.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:44 +09:00
Alex Henrie
6479e32cf0
winex11: Avoid double initialization of variables in OpenGL functions.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:37 +09:00
Alex Henrie
e5d4d91871
winex11: Make color cubes as big as possible.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Alex Henrie
fb90e1b673
winex11: Initialize the length of each side of the color cube to 1.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Anton Baskanov
18dc14ed9a
gdi32: Return default palette entries from GetSystemPaletteEntries for non-palette-based devices.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:09 +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
Thomas Faller
587733855b
winex11.drv: Fix use of uninitialized memory.
2015-10-01 23:14:39 +09:00
Gerald Pfeifer
2b42ddf68a
winex11: Make a constant unsigned to avoid shift overflow in get_locale_kbd_layout.
2015-09-02 18:33:46 +09:00
Nikolay Sivov
7889b17425
gdi32: Added GetFontRealizationInfo() export.
2015-09-01 19:28:16 +09:00
Thomas Faller
8c1c7d19fe
winex11.drv: Fix uninitialized memory.
2015-08-28 13:15:18 +09:00
Damjan Jovanovic
3f99e71fde
winex11: Use the correct drop effect for WM_DROPFILES.
...
Tests show that on Windows, for a window to indicate it will accept a
file drop or to actually accept it, it must have WS_EX_ACCEPTFILES in
its style, contain DROPEFFECT_COPY (which will be chosen if offered
among several drop effects), and be offered the HDROP format.
2015-08-07 14:25:24 +09:00
Damjan Jovanovic
b78a9f1aa1
winex11: Only send WM_DROPFILES if there is no drop target.
...
Windows doesn't send WM_DROPFILES to a window if a drop target is
registered on that window. Some apps that support both even duplicate
dropped files if we send it and a drop target is registered.
2015-08-07 14:25:01 +09:00
Sebastian Lackner
0f3fa3965b
winex11: Initialize thread data in clip_cursor_notify.
2015-08-05 23:42:42 +09:00
Vincent Povirk
ce409c01d5
winex11.drv: Don't change net_wm maximized state for minimized windows.
...
In Win32, minimized windows are generally not considered maximized,
but restoring a minimized window that had been maximized returns it to
the maximized state.
In X11, at least with some window managers (I tested metacity and
gnome shell), the maximized state is meaningful for minimized windows.
If we remove the net_wm maximized state from windows we minimize, they
will still be unmaximized when the WM restores them.
2015-07-20 06:30:48 +02:00
Dmitry Timoshkov
a02c3ae759
winex11.drv: On KeymapNotify event also sychronize WinKey state.
2015-07-14 14:40:59 +09:00
Vincent Povirk
3d8353fe18
winex11.drv: Track external changes to _NET_WM_STATE in net_wm_state.
...
In some cases, WM's will modify the _NET_WM_STATE of our own windows.
Most notably, this can happen when the WM maximizes our window, but
mutter has been known to alter the fullscreen state as well. If we
want to reconfigure our window later, we'll probably have to remove
these states, which means we need to remember that they were set.
2015-07-02 20:38:54 +09:00
Dmitry Timoshkov
bd24842eba
winex11: Don't call ExcludeUpdateRgn for a window with WS_CLIPCHILDREN style.
2015-07-01 22:56:40 +09:00
Nikolay Sivov
c0af3fad4e
winex11: Remove unreachable XFreePixmap(), mask_pixmap is always NULL on failure (Coverity).
2015-06-03 19:55:12 +09:00
Alexandre Julliard
070a82e743
user32: Merge the AcquireClipboard and EmptyClipboard driver entry points.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
b7c340de73
user32: Get rid of the unused parameter in the EmptyClipboard driver entry point.
2015-06-03 18:46:53 +09:00
Huw Davies
10556c25e4
winex11: Fix ctrl-<symbol> to generate codes below 0x20 where necessary.
2015-05-28 22:44:11 +09:00
Indrek Altpere
68e1fdf999
winex11: Fix uninitialized memory access appearing in multiple tests (Valgrind).
2015-05-28 22:44:07 +09:00
Alexandre Julliard
6fec7d658b
winex11: Remove unnecessary CLIPBOARDINFO structure.
2015-05-04 18:30:39 +09:00
Vincent Povirk
14eff7b92a
winex11.drv: Report failure when we can't convert a selection.
2015-05-04 16:37:22 +09:00
Francois Gouget
3adc91f3fc
winex11.drv: Remove unneeded NONAMELESSXXX directives.
2015-04-01 14:13:09 +09:00
Alexandre Julliard
86748a8480
winex11: Cleanup system tray icons when their owner is destroyed instead of polling.
2015-03-27 20:40:36 +09:00
Jinhui Chen
366ed5495c
winex11.drv: Fix row-resize/col-resize mapping to X cursor.
2015-03-25 19:44:33 +09:00
Francois Gouget
c223994b7a
winex11.drv: Make X11DRV_XROPfunction static.
2015-03-16 15:03:39 +09:00