Skip to content

Commit

Permalink
Francesca's macos changes
Browse files Browse the repository at this point in the history
  • Loading branch information
goddessfreya authored and Osspial committed Apr 25, 2019
1 parent 7c2e130 commit 6c81f2a
Show file tree
Hide file tree
Showing 11 changed files with 1,323 additions and 2,144 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ extern crate objc;
#[cfg(target_os = "macos")]
extern crate cocoa;
#[cfg(target_os = "macos")]
extern crate dispatch;
#[cfg(target_os = "macos")]
extern crate core_foundation;
#[cfg(target_os = "macos")]
extern crate core_graphics;
Expand Down
2 changes: 0 additions & 2 deletions src/platform_impl/linux/x11/util/window_property.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std;

use super::*;

pub type Cardinal = c_long;
Expand Down
2 changes: 1 addition & 1 deletion src/platform_impl/macos/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ where

fn handle_user_events(&mut self, control_flow: &mut ControlFlow) {
let mut will_exit = self.will_exit;
for event in self.window_target.inner.receiver.try_iter() {
for event in self.window_target.p.receiver.try_iter() {
(self.callback)(
Event::UserEvent(event),
&self.window_target,
Expand Down
Loading

0 comments on commit 6c81f2a

Please sign in to comment.