electron/shell/browser/ui/cocoa
trop[bot] 341ed10854
fix: handle failing to enter fullscreen on macOS (#43152)
* fix: handle failing to enter/exit fullscreen on macOS

On macOS, failing to enter/exit fullscreen can fail. If this happens,
properly restore the original window state.

Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>

* refactor: remove fail to exit fullscreen handlers

Seem to be unnecessary since the window exits fullscreen anyway.

Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>
2024-08-01 14:50:35 +02:00
..
delayed_native_view_host.h fix: remove InspectableWebContentsViewMac (#43088) 2024-07-30 12:30:38 +02:00
delayed_native_view_host.mm fix: remove InspectableWebContentsViewMac (#43088) 2024-07-30 12:30:38 +02:00
electron_bundle_mover.h chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_bundle_mover.mm refactor: replace remaining NULL with nullptr (#40053) 2023-10-03 12:26:35 -07:00
electron_inspectable_web_contents_view.h fix: remove InspectableWebContentsViewMac (#43088) 2024-07-30 12:30:38 +02:00
electron_inspectable_web_contents_view.mm fix: remove InspectableWebContentsViewMac (#43088) 2024-07-30 12:30:38 +02:00
electron_menu_controller.h fix: recentDocuments on macOS not working (#41978) 2024-04-29 19:07:14 -04:00
electron_menu_controller.mm fix: recentDocuments on macOS not working (#41978) 2024-04-29 19:07:14 -04:00
electron_native_widget_mac.h chore: bump chromium to 116.0.5829.0 (main) (#38726) 2023-06-13 14:45:48 -04:00
electron_native_widget_mac.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
electron_ns_panel.h feat: add panel support for BrowserWindow (#34388) 2022-06-14 12:24:52 -04:00
electron_ns_panel.mm chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
electron_ns_window.h fix: fullscreen crashing with no roundedCorners and no frame (#39747) 2023-09-11 09:38:10 +02:00
electron_ns_window.mm fix: remove InspectableWebContentsViewMac (#43088) 2024-07-30 12:30:38 +02:00
electron_ns_window_delegate.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_ns_window_delegate.mm fix: handle failing to enter fullscreen on macOS (#43152) 2024-08-01 14:50:35 +02:00
electron_preview_item.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_preview_item.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_touch_bar.h chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_touch_bar.mm chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
event_dispatching_window.h chore: bump chromium to 115.0.5760.0 (main) (#38033) 2023-05-10 10:47:48 -04:00
event_dispatching_window.mm chore: bump chromium to 104.0.5073.0 (main) (#34272) 2022-06-01 08:12:47 +02:00
NSString+ANSI.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
NSString+ANSI.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
root_view_mac.h feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
root_view_mac.mm feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
views_delegate_mac.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
views_delegate_mac.mm chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
window_buttons_proxy.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
window_buttons_proxy.mm chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00