Add WindowId type
This commit is contained in:
parent
9cd0430ec7
commit
b988c174fe
4 changed files with 20 additions and 6 deletions
|
|
@ -7,6 +7,7 @@ use EventsLoop;
|
|||
use MouseCursor;
|
||||
use Window;
|
||||
use WindowBuilder;
|
||||
use WindowId;
|
||||
use native_monitor::NativeMonitorId;
|
||||
|
||||
use libc;
|
||||
|
|
@ -293,8 +294,8 @@ impl Window {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub fn id(&self) -> usize {
|
||||
self.window.id()
|
||||
pub fn id(&self) -> WindowId {
|
||||
WindowId(self.window.id())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue