Commit Graph

1753 Commits (b256c55d08fb8147ba791ec001f6cd00caea26a8)

Author SHA1 Message Date
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
Damjan Jovanovic 1a20050826 winex11.drv: Support XDnD version 5. 2015-03-03 18:12:46 +09:00
Sebastian Lackner 7714efe213 winex11: Only enable XInput2 cursor warp workaround if necessary.
Based on a patch by Patrick Rudolph.
2015-02-27 15:06:24 +09:00
Marcus Meissner ab854893aa winex11.drv: Free uriList (Coverity). 2015-02-16 19:18:45 +09:00
Michael Stefaniuc f256e1476c winex11.drv: Remove an unused assignment (PVS-Studio). 2015-01-23 15:32:59 +01:00
Erich E. Hoover 8e9e4a657f winex11.drv: Update the check for broken nVidia RandR to test for the number of resolutions instead of the number of modes. 2015-01-22 21:35:22 +01:00
Piotr Caban e7cba8f0dc winex11.drv: Don't resize hidden windows on ConfigureNotify event. 2015-01-08 13:58:29 +01:00
Francois Gouget b1ac59b9e9 winex11.drv: Make X11DRV_PALETTE_ComputeColorShifts() static. 2015-01-05 20:17:08 +01:00
André Hentschel 3bddfebe99 winex11.drv: Remove unused code (Clang). 2014-12-04 14:03:22 +01:00
Matteo Bruni 7ba434b4fa winex11.drv: Add support for GLX_OML_swap_method. 2014-11-11 14:20:48 +09:00
Matteo Bruni 3ac85842d3 winex11.drv: Actually report WGL_SWAP_EXCHANGE_ARB as the swap method. 2014-11-11 14:20:39 +09:00
Gerald Pfeifer b0e508a9d3 winex11.drv: Remove wxr_color_shifts. 2014-08-21 12:24:10 +02:00
Gerald Pfeifer fe79e62a9f winex11.drv: Remove colour_is_brighter. 2014-08-21 12:23:45 +02:00
Damjan Jovanovic c60d6c46bf winex11.drv: Allow the clipboard to copy files to other X11 apps. 2014-07-18 19:13:34 +02:00
Damjan Jovanovic 846a8f6c8d winex11.drv: Translate the WM_DROPFILES point into client coordinates whenever possible. 2014-07-18 19:06:43 +02:00
Damjan Jovanovic f2f8d187e4 winex11.drv: Don't memcpy() over the DROPFILES point just after setting it. 2014-07-18 19:05:30 +02:00
Damjan Jovanovic 04d8b325bf winex11.drv: Fix a GlobalLock() reference leak. 2014-07-18 19:05:13 +02:00
Vincent Povirk 5e5a9d6f93 winex11: Leave fullscreen state alone when minimizing. 2014-07-11 17:02:15 +02:00
Damjan Jovanovic 026fe4d08e winex11.drv: Migrate importing text/uri-list XDND selections to the clipboard. 2014-06-13 16:02:47 +02:00
Damjan Jovanovic a58c220d9b winex11.drv: Store XDND cached data in global memory objects. 2014-06-13 16:02:43 +02:00
Damjan Jovanovic c2f73b9780 winex11.drv: Import text/plain XDND selections through the clipboard. 2014-06-13 16:02:38 +02:00
Damjan Jovanovic b6d0df6a31 winex11.drv: Use the clipboard to import text/html XDND selections. 2014-06-12 18:09:41 +02:00
Damjan Jovanovic e339e0d476 winex11.drv: Use the clipboard functions and formats to import selections that XDND doesn't support. 2014-06-12 18:09:34 +02:00
Damjan Jovanovic 8e32b5f887 winex11.drv: Use the global memory functions to allocate the memory for STGMEDIUM's hGlobal. 2014-06-12 18:09:30 +02:00
Damjan Jovanovic a8499c0803 winex11.drv: Don't bother counting how many XDND selections are converted. 2014-06-12 18:09:26 +02:00
Damjan Jovanovic d0360402f0 winex11.drv: text/html should be imported as CF_HTML ("HTML Format"), not CFSTR_INETURL ("UniformResourceLocator"). 2014-06-12 18:09:23 +02:00
Ken Thomases 351fae1206 winex11: Consolidate duplicate code from glxdrv_wglSetPixelFormat() and X11DRV_wglSetPixelFormatWINE(). 2014-05-06 15:45:12 +02:00
Damjan Jovanovic f0a91c0248 winex11: Fix a WM_DROPFILES memory ownership ambiguity. 2014-05-06 15:45:11 +02:00
Alexandre Julliard 6a0f3df68c user32: Don't bother returning a value from the SetWindowRgn driver entry point. 2014-05-01 12:31:14 +02:00
Ken Thomases 3e09763835 winex11: Remove dead store into win_gravity in get_window_attributes(). 2014-04-21 10:42:18 +02:00
Eriks Dobelis 235100bb72 wintab: Initialize lcOutExtX and Y values. 2014-04-01 13:31:02 +02:00
Eriks Dobelis 2de64560fe wintab: Fix incorrectly classifying cursor as stylus instead of eraser. 2014-04-01 13:31:01 +02:00
Ken Thomases 809166def7 winex11: Remove set-but-never-read hwnd and fbconfig_id fields of struct x11drv_escape_set_drawable. 2014-04-01 10:44:57 +02:00