mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
Merge pull request #263 from mitchellh/mrn/gtk-fix-up-arrow
gtk: fix arrow-up stealing focus
This commit is contained in:
@ -1171,6 +1171,9 @@ pub const Surface = struct {
|
|||||||
// If the key is tab, we say we handled it because we don't want
|
// If the key is tab, we say we handled it because we don't want
|
||||||
// tab to move focus from our surface.
|
// tab to move focus from our surface.
|
||||||
c.GDK_KEY_Tab => 1,
|
c.GDK_KEY_Tab => 1,
|
||||||
|
// We do the same for up, because that steals focus from the surface,
|
||||||
|
// in case we have multiple tabs open.
|
||||||
|
c.GDK_KEY_Up => 1,
|
||||||
|
|
||||||
else => 0,
|
else => 0,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user