Commit 40d76b6
committed
Make gtk3 full_screen_toggle more robust against external changes.
The fullscreen state can also change via the window manager, so read the
state instead of trying to keep an internal flag. All other backends
already use a similar strategy.
(`self.window` is a GtkWindow, whereas `self.window.get_window()` is a
GdkWindow...)1 parent 95463c3 commit 40d76b6
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
| 398 | + | |
402 | 399 | | |
403 | | - | |
| 400 | + | |
| 401 | + | |
404 | 402 | | |
405 | 403 | | |
406 | 404 | | |
| |||
0 commit comments