aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-05-28 19:15:25 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2020-05-29 08:44:56 +0200
commit6da1631090d29b11c068b930a392a86dd207be4f (patch)
treeccabeffcd637eb4e10a4b84118e626cc4dfda572 /include/sway/input/cursor.h
parentipc: invert output transformation when necessary (diff)
downloadsway-6da1631090d29b11c068b930a392a86dd207be4f.tar.gz
sway-6da1631090d29b11c068b930a392a86dd207be4f.tar.zst
sway-6da1631090d29b11c068b930a392a86dd207be4f.zip
input/cursor: rename `simulated_tool_tip_down` to be more accurate
This is a tiny cleanup commit that renames `simulated_tool_tip_down` to `simulating_pointer_from_tool_tip`, making it match `simulating_pointer_from_touch`. This is a better name since it makes it clear that it's the *pointer* that's being simulated, not the tool tip.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index ddece700..774921c8 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -58,7 +58,7 @@ struct sway_cursor {
58 struct wl_listener tool_tip; 58 struct wl_listener tool_tip;
59 struct wl_listener tool_proximity; 59 struct wl_listener tool_proximity;
60 struct wl_listener tool_button; 60 struct wl_listener tool_button;
61 bool simulated_tool_tip_down; 61 bool simulating_pointer_from_tool_tip;
62 uint32_t tool_buttons; 62 uint32_t tool_buttons;
63 63
64 struct wl_listener request_set_cursor; 64 struct wl_listener request_set_cursor;