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
electron_bundle_mover.mm
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
electron_native_widget_mac.mm
electron_ns_panel.h
electron_ns_panel.mm
electron_ns_window.h
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
electron_preview_item.mm
electron_touch_bar.h
electron_touch_bar.mm
event_dispatching_window.h
event_dispatching_window.mm
NSString+ANSI.h
NSString+ANSI.mm
root_view_mac.h
root_view_mac.mm
views_delegate_mac.h
views_delegate_mac.mm
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