mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Dimensions will now match the monitor's in case of fullscreen
This commit is contained in:
@@ -39,7 +39,7 @@ impl MonitorID {
|
||||
impl Window {
|
||||
pub fn new(builder: WindowBuilder) -> Result<Window, String> {
|
||||
// TODO: temporary
|
||||
let dimensions = Some(builder.dimensions);
|
||||
let dimensions = builder.dimensions;
|
||||
let title = builder.title.as_slice();
|
||||
|
||||
// calling XOpenDisplay
|
||||
|
||||
Reference in New Issue
Block a user