mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
macOS: Merge window and delegate state (#3391)
Previously we had a sort of artificial split between these, but both were accessing each other's state, since it's really the same state! It was especially difficult to follow what happens to the fullscreen state. So instead, we basically merge the window and the delegate files. This does unfortunately screw a bit with the git history, apologies to whoever reads this in the future!
This commit is contained in:
@@ -75,7 +75,7 @@ impl PanicInfo {
|
||||
#[derive(Debug)]
|
||||
pub struct EventLoopWindowTarget {
|
||||
delegate: Id<ApplicationDelegate>,
|
||||
mtm: MainThreadMarker,
|
||||
pub(super) mtm: MainThreadMarker,
|
||||
}
|
||||
|
||||
impl EventLoopWindowTarget {
|
||||
|
||||
Reference in New Issue
Block a user