# Edit: Just a typo - ignore. How to specify GLMakie to display window in full screen mode?

**URL:** https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203
**Category:** Visualization
**Created:** [June 22, 2022, 7:50pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203 "2022-06-22T19:50:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)
#### Post date: [June 22, 2022, 7:50pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203/1 "2022-06-22T19:50:31Z")

</div>

Hello,

I would like to specify GLMakie to display the window in full screen mode.

A search of Makie Issues gave the following accepted solution:

> **[How to create GLMakie window in full screen mode? · MakieOrg/Makie.jl ·...](https://github.com/MakieOrg/Makie.jl/discussions/1660)**
>
> "fig = GLMakie.Figure(resolution=(960,650))" Is there a parameter to immediately create a window in the full screen mode?

However, when I implement this proposed solution in a MWE as below  
the displayed image is not full screen.

```julia
# test_GLMakie_fullscreen.jl

using ModernGL
using GLMakie

GLMakie.activate!()

screen_resolution = Makie.primary_resolution()
println("screen_resolution: ", screen_resolution)

figure = Figure(resoluton=screen_resolution)
axis = Axis(figure[1, 1])

lines!(axis, 0..10, sin)

display(figure)

```

Although the reported screen resolution is correct

`screen_resolution: (1920, 1080)`

the image displayed has dimensions of (802, 632)

```julia
Makie: v0.17.8
GLMakie: v0.6.8

```

```julia
julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

```

---

<div class="post-metadata">

### Author: ![paulmelis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulmelis/32/35063_2.png) [@paulmelis](https://discourse.julialang.org/u/paulmelis)
#### Post date: [June 22, 2022, 8:12pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203/2 "2022-06-22T20:12:24Z")

</div>

> [@Audrius-St](#):
>
> `GLMakie: v0.3.4`

Your version of GLMakie appears to be very old, the latest is 0.6.8. Perhaps a package upgrade will help here?

Edit: however, even with 0.6.5 I see the same behaviour (on Linux) as you, the window doesn’t show in the specified resolution.

---

<div class="post-metadata">

### Author: ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)
#### Post date: [June 22, 2022, 8:28pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203/3 "2022-06-22T20:28:52Z")

</div>

Sorry for the misdirection, my current GLMakie version is 0.6.8. as given by Pkg.status(“GLMakie”).

I had quoted the last release version at Github GLMakie previously.

Thanks for confirming the issue on Linux.

---

<div class="post-metadata">

### Author: ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)
#### Post date: [June 22, 2022, 8:44pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203/4 "2022-06-22T20:44:22Z")

</div>

Typo. Spell “resolution” in

`figure = Figure(resolution=screen_resolution)`

correctly. Carried over from project to MWE.

Need new bifocals.
