Commit 0fcdd1f
remove window flicker [CPP-744] [CPP-752] (#560)
* remove window flicker
+ Hides the winit window, otherwise on windows you see this window
briefly pop-up then disappear before the splash screen shows up
+ Falls back to 20,20 as the position if a monitor can't be fetched
instead of erroring out
* try other things to make sure the initial window doesn't show up
* attempt to make positioning of splash on wayland work
* remove println
* disable wayland to center the splash screen
* remove resize, reduce code
* reorder
* Increase init size to 1x1.
Co-authored-by: John Michael Burke <[email protected]>1 parent 739367f commit 0fcdd1f
3 files changed
+32
-17
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| 39 | + | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
59 | 80 | | |
60 | | - | |
| 81 | + | |
61 | 82 | | |
62 | | - | |
63 | | - | |
64 | 83 | | |
65 | 84 | | |
66 | 85 | | |
| |||
0 commit comments