[gnome-2048/arnaudb/wip/gtk4: 16/34] Try a fix.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-2048/arnaudb/wip/gtk4: 16/34] Try a fix.
- Date: Mon, 13 Jul 2020 15:35:23 +0000 (UTC)
commit 60d028c7419cdcb4bb9ef1c02115a134623d872e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Apr 28 08:48:19 2020 +0200
Try a fix.
src/game-window.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index 2164f49..32d6d32 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -318,7 +318,7 @@ private class GameWindow : ApplicationWindow
private static inline bool on_key_pressed (EventControllerKey _key_controller, uint keyval, uint
keycode, Gdk.ModifierType state)
{
GameWindow _this = (GameWindow) _key_controller.get_widget ();
- if (_this._header_bar.has_popover () || (_this.focus_visible && !_this._board.is_focus))
+ if (_this._header_bar.has_popover () || (_this.focus_visible && !_this._board.is_focus ()))
return false;
if (_this._game.cannot_move ())
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]