Allow navigating over buttons via keyboard

This commit is contained in:
Rafostar
2020-10-13 20:27:58 +02:00
parent d3e4f3bb0f
commit e430956752
3 changed files with 8 additions and 15 deletions

View File

@@ -28,8 +28,9 @@ var Window = GObject.registerClass({
_onStateNotify(toplevel)
{
let { state } = toplevel;
let isFullscreen = Boolean(state & Gdk.ToplevelState.FULLSCREEN);
let isFullscreen = Boolean(
toplevel.state & Gdk.ToplevelState.FULLSCREEN
);
if(this.isFullscreen === isFullscreen)
return;