Rémi Bernon
467201a85b
explorer: Fix command-line parameter parsing.
...
Fixes: 5b11157ecf
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55141
2023-06-29 12:04:07 +02:00
Rémi Bernon
7255f63a65
explorer: Set virtual desktop primary adapter display settings.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
99ef2dc4e1
explorer: Rename initialize_display_settings local variable.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
0e5b847f85
explorer: Use debugstr_devmodew helper to trace display mode.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
5b11157ecf
explorer: Use wide string literals.
2023-06-26 16:47:11 +02:00
Rémi Bernon
43fd81b3a5
explorer: Use unprefixed debug macros.
2023-06-26 16:47:11 +02:00
Rémi Bernon
240bdd5772
explorer: Use CRT allocation functions.
2023-06-26 16:47:11 +02:00
Alexandre Julliard
14518662d6
explorer: Use nameless union/structs.
2023-06-16 17:57:11 +02:00
Rémi Bernon
4b5311c7e0
explorer: Remove now unnecessary wine_create_desktop entry.
2023-05-30 13:45:47 +02:00
Rémi Bernon
f7d45533d1
explorer: Call user driver through a new CreateDesktop callback.
2023-05-30 13:45:43 +02:00
Rémi Bernon
0edc848bee
explorer: Don't call driver create_desktop if desktop name is "root".
2023-05-30 13:45:42 +02:00
Rémi Bernon
dbb63987f0
explorer: Use root window if driver doesn't implement create_desktop.
2023-05-30 13:45:42 +02:00
Rémi Bernon
f9c1b6af12
explorer: Load graphics driver before calling CreateDesktopW.
2023-05-30 13:45:42 +02:00
Davide Beatrici
f266dc094a
explorer: Fix uninitialized variable warning.
...
programs/explorer/desktop.c:104:16: warning: ‘hres’ may be used uninitialized in this function [-Wmaybe-uninitialized]
104 | return hres;
| ^~~~
2023-05-23 22:36:50 +02:00
Rémi Bernon
992d60e122
explorer: Use GUID_NULL display device GUID for nulldrv.
2023-03-03 18:29:54 +01:00
Alex Henrie
dab61cdcd1
explorer: Put the calling convention inside the function pointer parentheses.
...
As required by MSVC.
2022-11-22 18:27:30 +01:00
Zhiyi Zhang
8459a5272a
explorer: Use a valid taskbar position when the taskbar is hidden.
...
Some applications use FindWindowA() with class Shell_TrayWnd to find the taskbar window on Windows.
Then GetWindowRect() is called to get the taskbar window rectangle. Finally, the taskbar window
rectangle is subtracted from the primary screen rectangle to calculate the work area. Without a
valid taskbar window position, these applications end up getting an incorrect work area and going
down the wrong path. So use the same position and size as the host system panel for explorer taskbar
when it's hidden.
2022-11-17 10:00:24 +01:00
Zhiyi Zhang
b6818e2c20
explorer/tests: Add taskbar tests.
2022-11-17 10:00:24 +01:00
Zhiyi Zhang
c03409e9d7
shell32: Implement SHOpenFolderAndSelectItems().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39987
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-15 20:01:05 +02:00
Zhiyi Zhang
9a98ad709f
explorer: Fix memory leaks.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-14 21:00:54 +02:00
Jacek Caban
d8a74e5cf9
explorer: Create clipboard manager thread when creating a desktop.
...
Based on winex11.drv. Drivers that don't implement ClipboardWindowProc entry point will disable it by failing to create the window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Eric Pouech
e299b5af34
explorer: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Alex Henrie
adda27cdb8
explorer: Only try to destroy the IShellWindows object if it exists.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52494
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 23:22:50 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Jacek Caban
cf87ceda7c
explorer: Set lib name for null driver.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 18:57:27 +01:00
Alexandre Julliard
130ec9dbf9
explorer: Use the correct buffer size for the full path name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 12:53:51 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Zhiyi Zhang
f613323d93
explorer: Add system DPI awareness settings to the application manifest.
...
This is also required for get_monitor_dpi() in wineserver to function properly for DPI unaware
applications because it uses desktop window DPI as monitor DPI.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:55:06 +02:00
Zhiyi Zhang
46a162b4a1
explorer: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-09 23:38:44 +02:00
Rémi Bernon
2027c8ee1f
explorer: Create systray for the null graphics driver.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 20:38:06 +02:00
Henri Verbeet
6b49b50bbe
explorer: Initialise window->pidl to NULL in shellwindows_Register().
...
Since array_reserve() doesn't.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-26 21:34:02 +02:00
Alexandre Julliard
d47be63fae
explorer: Store the graphics driver basename instead of the full path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:46 +02:00
Zebediah Figura
7eca09d7e0
explorer: Send systray messages with SendNotifyMessage().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50441
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:02:02 +01:00
Zebediah Figura
d91a87cea2
include: Fix the definition of NOTIFYICON_VERSION[_4].
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:02:00 +01:00
Michael Stefaniuc
27431b0f3a
explorer: Use the WCHAR string version of LoadLibrary.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:56 +02:00
Zhiyi Zhang
c9d2b62926
explorer: Zero initialize DEVMODE before passing it to EnumDisplaySettings().
...
EnumDisplaySettings() on Wine does not write beyond the end of DEVMODE because it doesn't use
dmDriverExtra currently, but this implementation detail should not be relied on.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-11 18:07:05 +02:00
Huw Davies
42e50e44f4
user32: Don't call CreateDesktop() with an empty desktop name.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-24 18:34:15 +02:00
Zhiyi Zhang
b5d58ff69c
explorer: Initialize registry display settings for all adapters.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 16:51:34 +02:00
Zebediah Figura
1a7b4fb9c1
explorer: Look for an existing window browsing the given path first.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 12:10:51 +02:00
Zebediah Figura
7b56edf9a4
explorer: Implement IShellWindows::FindWindowSW() for non-desktop windows.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 12:10:49 +02:00
Zebediah Figura
54e1559a25
explorer: Implement IShellWindows::OnNavigate().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 12:10:47 +02:00
Zebediah Figura
aeff6f189f
explorer: Implement IShellWindows::Register() and IShellWindows::Revoke().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 12:10:44 +02:00
Zhipeng Zhao
9d79746425
explorer: Support '/cd,' command line option.
...
'/cd,' is an undocumented option that seems to have the same effect as
'/root,'.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48816 .
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 21:17:24 +02:00
Serge Gautherie
7770e26f2d
include: Remove now useless forced _WIN32_IE defines.
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:38:38 +01:00
Jacek Caban
beaef92010
user32: Allow using null driver as a normal graphics driver.
...
When explicitly requested by config, Wine will use null driver in the
same way as we allow using it for invisible winstations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 08:51:25 +01:00
Huw Davies
e73d824121
explorer: Set the default driver to mac,x11 in all cases.
...
The host specific options won't work with the PE build anyway.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:02 +02:00
Alexandre Julliard
e5e79bb7aa
explorer: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:30:39 +02:00
Alexandre Julliard
ed22f0454b
explorer: Move screen saver activation to the X11 driver.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:30:39 +02:00
Olivier F. R. Dierick
5afd80307e
explorer: Don't change Z-order of the taskbar when displaying it.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40828
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Hamish Claxton <hamishclaxton@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-09 10:18:25 -06:00
Ralf Habacker
ddb713653b
explorer: Fix atom leaks caused by not releasing DDE interface.
...
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 17:48:33 +01:00