Rémi Bernon
23ee9b2969
explorer: Handle WM_CLOSE for docked icons for when they lose embedding.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56015
2023-12-13 19:13:01 +01:00
Alex Henrie
807d684157
explorer: Add an "Exit desktop" button to the Start menu.
...
When running `wine explorer.exe /desktop=shell` as a full-screen app,
there is no obvious way to close it and return to the Linux desktop.
Remedy that problem by adding an "Exit desktop" button to the Start menu
in the same place as the "Shut Down" button on Windows.
2023-12-08 22:31:38 +01:00
Rémi Bernon
b088d311a0
explorer: Remove now unnecessary wine_notify_icon support.
2023-12-01 19:09:15 +01:00
Rémi Bernon
48e6bf3cf1
winex11: Use the new SystrayDock driver interface.
2023-12-01 19:09:14 +01:00
Rémi Bernon
229b4561d9
explorer: Use layered windows for the docked systray icons.
2023-12-01 19:09:14 +01:00
Rémi Bernon
62c6646d8f
win32u: Introduce new SystrayDock driver entry points.
2023-12-01 19:08:55 +01:00
Rémi Bernon
22bfdbeb48
win32u: Introduce a new NtUserSystemTrayCall message call.
2023-12-01 19:08:54 +01:00
Rémi Bernon
600206be39
explorer: Hide the standalone systray window on close.
2023-12-01 19:08:54 +01:00
Rémi Bernon
27c3cf93e3
explorer: Always set the systray icon tooltip text.
2023-12-01 19:08:54 +01:00
Rémi Bernon
6e85177aa7
explorer: Cache the balloon window position.
2023-11-28 08:54:52 +01:00
Rémi Bernon
118810ad3b
explorer: Support standalone systray window mode.
2023-11-28 08:54:52 +01:00
Rémi Bernon
b8518d320f
explorer: Use an explicit display constant for hidden icons.
2023-11-28 08:54:52 +01:00
Rémi Bernon
b135fa4cd0
explorer: Handle balloon timer in the icons window proc.
2023-11-28 08:54:51 +01:00
Rémi Bernon
5312f6242d
explorer: Position the balloons relative to the icon windows.
2023-11-28 08:54:51 +01:00
Rémi Bernon
a60050abc8
explorer: Use the icon windows for their tooltips.
2023-11-28 08:54:51 +01:00
Rémi Bernon
76d144477c
explorer: Display the individual systray icon windows.
2023-11-28 08:54:51 +01:00
Rémi Bernon
d2ee32bfe6
explorer: Create individual windows for the systray icons.
2023-11-28 08:54:51 +01:00
Rémi Bernon
243433623a
explorer: Split systray add/remove from show/hide_icon.
2023-11-28 08:54:51 +01:00
Rémi Bernon
2e82d57d75
explorer: Remove unnecessary displayed icon array.
2023-11-28 08:54:49 +01:00
Alexandre Julliard
e040777841
explorer: Remove DECLSPEC_HIDDEN usage.
2023-11-20 17:55:23 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
7ccb5df0fc
makefiles: Always use the global SOURCES variable for .rc files.
2023-11-01 22:43:56 +01:00
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