Commit 3a389a5
committed
Release mouse grab on fullscreen exit
A user who entered fullscreen with the cursor grabbed used to regain
it on the way out. The behavior went with the custom-fullscreen
IBAction; restore it under the AppKit transition by adding a
windowDidExitFullScreen: hook on DisplayOpenGLView (the window's
existing delegate).
The entry side is intentionally not symmetric. Auto-grabbing on
fullscreen entry would hide the cursor and block the menu-bar-on-
hover reveal that exposes Open, Preferences, and the rest of the
menu in fullscreen.1 parent 3941d79 commit 3a389a5
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
363 | 373 | | |
364 | 374 | | |
365 | 375 | | |
| |||
0 commit comments