Dimensions will now match the monitor's in case of fullscreen
This commit is contained in:
parent
abceca1121
commit
b0d9d0b87f
3 changed files with 20 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue