pub(crate) fn restore_state_from_fullscreen(&self) {
        log::trace!("Locked shared state in `restore_state_from_fullscreen`");

        let mut shared_state_lock = self.shared_state.lock();

        shared_state_lock.fullscreen = None;

        let maximized = shared_state_lock.maximized;
        let mask = self.saved_style(&mut *shared_state_lock);

        drop(shared_state_lock);

        log::trace!("Unocked shared state in `restore_state_from_fullscreen`");

        self.set_style_mask_async(mask);
        self.set_maximized(maximized);
    }
/// This is called when the window is exiting fullscreen, whether by the
/// user clicking on the green fullscreen button or programmatically by
/// `toggleFullScreen:`
This is called when the window is exiting fullscreen, whether by the
user clicking on the green fullscreen button or programmatically by
`toggleFullScreen:`
This is called when the window is exiting fullscreen whether by the user clicking on the green fullscreen button or programmatically by ` toggleFullScreen : `
pub(crate) fn restore_state_from_fullscreen(&self) {
        log::trace!("Locked shared state in `restore_state_from_fullscreen`");
        let mut shared_state_lock = self.shared_state.lock();
        shared_state_lock.fullscreen = None;
        let maximized = shared_state_lock.maximized;
        let mask = self.saved_style(&mut *shared_state_lock);
        drop(shared_state_lock);
        log::trace!("Unocked shared state in `restore_state_from_fullscreen`");
        self.set_style_mask_async(mask);
        self.set_maximized(maximized);
    }
pub ( crate ) fn restore_state_from_fullscreen ( & self ) { log :: trace ! ( " " ) ; let mut shared_state_lock = self . shared_state . lock ( ) ; shared_state_lock . fullscreen = None ; let maximized = shared_state_lock . maximized ; let mask = self . saved_style ( & mut * shared_state_lock ) ; drop ( shared_state_lock ) ; log :: trace ! ( " " ) ; self . set_style_mask_async ( mask ) ; self . set_maximized ( maximized ) ; }
This is called when the window is exiting fullscreen, whether by the
user clicking on the green fullscreen button or programmatically by
`toggleFullScreen:`
This is called when the window is exiting fullscreen whether by the user clicking on the green fullscreen button or programmatically by ` toggleFullScreen : `
&self
&self