Anton Baskanov
89ad36b1d9
explorer: Restore display settings on process exit.
...
Restore display settings to the ones in the registry when CDS_FULLSCREEN
is used in ChangeDisplaySettings().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49674
2024-05-02 10:06:57 +02:00
Alex Henrie
19e27e95b9
explorer: Fix font handle leaks in virtual desktop.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56133
2024-04-16 21:26:51 +02:00
Paul Gofman
9115dc0aba
explorer: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Gabriel Ivăncescu
8a71a4a304
explorer: Set layered style on systray icons before calling into the driver.
...
Fixes a regression introduced by b5c57b9a62
,
which broke the systray integration outside of virtual desktops on some
DEs like XFCE.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-15 20:40:55 +01:00
Zhiyi Zhang
ca97cb8700
server: Inherit internal desktop flags when creating desktops.
...
Based on Rémi's idea.
CEF applications create their own desktops and so is_virtual_desktop() could incorrectly
report that virtual desktop is off if DF_WINE_VIRTUAL_DESKTOP is not inherited.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55810
2024-02-13 22:37:50 +01:00
Zhiyi Zhang
2990a4f8c3
include: Rename DF_WINE_CREATE_DESKTOP to DF_WINE_VIRTUAL_DESKTOP.
2024-02-13 22:37:50 +01:00
Gabriel Ivăncescu
b5c57b9a62
explorer: Set layered style on systray icons only when it's actually layered.
...
Fixes a regression introduced by 229b4561d9
,
which caused the icons to not be visible initially in the virtual desktop
systray.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-09 18:21:09 +01:00
Gabriel Ivăncescu
5e7a8f4db0
explorer: Don't activate the systray icon when showing it.
...
Fixes a regression introduced by 62c6646d8f
,
because SetParent will unconditionally activate the window, causing newly
added icons to deactivate the foreground window.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-09 18:21:06 +01:00
Alex Henrie
48440d2446
explorer: Handle the back and forward buttons of a 5-button mouse.
2024-02-08 23:31:25 +01:00
Paul Gofman
5da459f1f2
explorer: Don't pop start menu on "undo minimize all windows" systray command.
2024-02-06 22:54:21 +01:00
Paul Gofman
d66fe6206d
explorer: Don't pop start menu on "minimize all windows" systray command.
2024-02-06 22:54:21 +01:00
Rémi Bernon
852c4d0a8a
explorer: Restore a per-desktop ShowSystray registry setting.
...
With a global fallback setting under HKCU\Software\Wine\Explorer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56243
2024-01-29 21:16:06 +01:00
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