Commit Graph

163 Commits

Author SHA1 Message Date
Zebediah Figura fe95de98b5 user32: Move internal message from EnableWindow to WIN_SetStyle().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 11:47:20 +02:00
Piotr Caban 34b108dd1d user32: Switch to normal window drawing on SetLayeredWindowAttributes call.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:55 +02:00
Zebediah Figura 0ac74d180a user32: Always send WM_CANCELMODE when disabling a window.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:20:54 +02:00
Zebediah Figura b4fea4f2f0 user32: Don't call ReleaseCapture() in EnableWindow().
Killing the capture is already handled in DefWindowProc().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:11:55 +02:00
Piotr Caban a878f0a02a user32: Don't call IsChild with NULL window in EnableWindow.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Huw Davies e883d0ec60 user32: Hardcode the GetWindowLong values for the desktop window to avoid a server round-trip.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:34 +01:00
Sebastian Lackner 994b06a97d user32: Do not create IME window for HWND_MESSAGE windows.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 23:34:27 +09:00
Alexandre Julliard bddab0e7f8 server: Add a release_clipboard request, and notify the owner and viewer on release.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 22:02:04 +09:00
Akihiro Sagawa 911d269be8 user32: Create and destroy the default IME window implicitly.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:45:32 +09:00
Józef Kucia 4277b055de user32: Prevent resetting WS_MINIMIZE through SetWindowLong.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 11:57:25 +09:00
Michael Stefaniuc 07ada9a85b user32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Alexandre Julliard fb6304119a user32: Add helper functions to get and set the window internal flags.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 19:46:30 +09:00
Jacek Caban bce9e1d2bd user32: Make SetWindowLongW hotpatchable.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 12:11:44 +09:00
Alexandre Julliard 596c16cc13 user32: Post notification to the desktop window for window creation/activation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 13:53:15 +09:00
Dmitry Timoshkov e37e0f2743 user32: Avoid dereferencing NULL pointer in a trace.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 15:04:07 +09:00
Jacek Caban 3ece2ab7ee user32: Added debug traces to SetParent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Dmitry Timoshkov b08c400fe2 user32: Call the EnumChildWindows callback using a wrapper.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard e5ef460d7d user32: Preserve the surface contents when changing the WS_EX_LAYERED bit.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard 2e56a912b4 user32: SetLayeredWindowAttributes is no longer a stub.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:39 +09:00
Sebastian Lackner 19a3f6b5cb user32: Make sure explorer.exe process is spawned for the correct desktop.
If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:55 +09:00
Sebastian Lackner 6bfa3896fc server: Check winstation visibility in server to avoid race-conditions.
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +09:00
Alexandre Julliard bbc849df8d user32: Reduce the idle timeout before flushing surfaces to make it less noticeable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +09:00
Alex Henrie 5b53c0b88b user32: Avoid double initialization.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Jactry Zeng b007a98e1a user32: Add driver entry point for FlashWindowEx.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:26 +09:00
Jactry Zeng f22760d210 user32: Implement semi-stub for FlashWindowEx.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Nikolay Sivov 516b21f4ee user32: Don't send WM_GETTEXT from GetWindowText() with invalid buffer length. 2015-07-28 09:52:16 +02:00
Nikolay Sivov ee72b0fdc7 user32: Initialize buffer before sending WM_GETTEXT. 2015-07-28 09:52:13 +02:00
Alexandre Julliard 25d9fc3ecc server: Check for the current owner window on the server side for releases. 2015-06-03 19:29:49 +09:00
Alex Henrie 5c48752784 user32: Fall back to downscaling the big icon for ICON_SMALL2. 2015-05-14 18:57:26 +09:00
Jacek Caban da72de967b user32: Allow making window visible by WM_SETREDRAW message. 2015-03-13 21:53:19 +09:00
Sebastian Lackner d5ba7451a3 user32: Avoid sending window messages in FindWindowExW. 2014-11-18 22:10:38 +09:00
Hugh McMaster 0fa8ae7b52 user32: Fix spelling in a comment. 2014-09-15 18:25:49 +02:00
Austin English 6458aca761 user32: Add a stub for RegisterTouchWindow. 2014-05-14 11:25:48 +02:00
Stefan Dösinger ece57889d6 user32: Make SetWindowTextA/W hookable. 2014-03-03 17:46:50 +01:00
Piotr Caban 367577c0d6 user32: Check WS_CHILD style in IsChild function. 2014-02-27 09:51:50 -06:00
Frédéric Delanoy e7c5c9ae9b user32: Use BOOL type where appropriate. 2014-02-20 11:18:37 +01:00
Alexandre Julliard b4b817b907 user32: Only wait for the desktop process when necessary. 2014-01-30 21:49:32 +01:00
Alexandre Julliard 6bf64f0ac2 user32: Fail creation of the desktop window earlier on when it already exists. 2014-01-28 12:51:59 +01:00
Frédéric Delanoy 77ee42fd33 user32: Use BOOL type where appropriate. 2013-11-05 11:15:06 +01:00
Alexandre Julliard c25c019883 user32: Automatically load comctl32 when one of its classes is requested. 2013-10-28 18:41:04 +01:00
Alexandre Julliard fe441a0682 user32: Register classes once the graphics driver has been loaded, except for the desktop class. 2013-10-24 19:01:54 +02:00
Alexandre Julliard 7370a56543 user32: Delay registration of the builtin classes until the first window is created. 2013-10-16 17:22:19 +02:00
Qian Hong 26683adf36 user32: Make CreateWindowExA and CreateWindowExW hotpatchable. 2013-05-24 11:06:03 +02:00
Alexandre Julliard b7bf7f01b3 user32: Avoid releasing a potentially null pointer. 2013-02-11 11:46:13 +01:00
Dmitry Timoshkov e27801e93b user32: Make sure that window's normal_rect is initialized at window creation time. 2012-10-15 13:31:09 +02:00
Alexandre Julliard cc7bf355c5 user32: Add support for setting the window surface visible region. 2012-10-09 15:22:56 +02:00
Alexandre Julliard cf799f5852 user32: Store the pixel format in the window structure. 2012-10-09 09:51:29 +02:00
Alexandre Julliard 6eea257fd1 user32: Add a helper function to update the window visible state. 2012-10-09 09:48:11 +02:00
Alexandre Julliard b9c847a426 user32: Don't use SWP_SHOWWINDOW when the WS_VISIBLE style was already toggled manually. 2012-10-09 09:45:09 +02:00
Alexandre Julliard e41a482890 user32: Add a Wine-specific entry point to set the pixel format of a window. 2012-10-03 23:08:22 +02:00