Handle mouse clicks when displaying focus window overlay

This commit is contained in:
Kovid Goyal
2021-10-15 09:55:15 +05:30
parent 3c2e521dd7
commit a16ffcdde2
6 changed files with 75 additions and 9 deletions

View File

@@ -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]