mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 20:44:32 +02:00
Handle mouse clicks when displaying focus window overlay
This commit is contained in:
@@ -61,6 +61,17 @@ class MouseEvent(NamedTuple):
|
||||
grabbed: bool = False
|
||||
|
||||
|
||||
class WindowSystemMouseEvent(NamedTuple):
|
||||
in_tab_bar: bool
|
||||
window_id: int
|
||||
action: int
|
||||
modifiers: int
|
||||
button: int
|
||||
currently_pressed_button: int
|
||||
x: float
|
||||
y: float
|
||||
|
||||
|
||||
ConvertibleToNumbers = Union[str, bytes, int, float]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user