aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-05 22:32:51 +0100
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-05 23:39:46 +0100
commit67985e903188a464e602d04f9ed218bd397f5ab1 (patch)
tree3589175749c9a2ed746b0cc280ab3ccfb33125e9 /sway/input/cursor.c
parentMerge pull request #1554 from martinetd/cmd_set (diff)
downloadsway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.gz
sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.zst
sway-67985e903188a464e602d04f9ed218bd397f5ab1.zip
sway: change all sway_log to wlr_log
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 3b5cfce5..c51b59f9 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -85,35 +85,35 @@ static void handle_touch_down(struct wl_listener *listener, void *data) {
85 struct sway_cursor *cursor = 85 struct sway_cursor *cursor =
86 wl_container_of(listener, cursor, touch_down); 86 wl_container_of(listener, cursor, touch_down);
87 struct wlr_event_touch_down *event = data; 87 struct wlr_event_touch_down *event = data;
88 sway_log(L_DEBUG, "TODO: handle touch down event: %p", event); 88 wlr_log(L_DEBUG, "TODO: handle touch down event: %p", event);
89} 89}
90 90
91static void handle_touch_up(struct wl_listener *listener, void *data) { 91static void handle_touch_up(struct wl_listener *listener, void *data) {
92 struct sway_cursor *cursor = 92 struct sway_cursor *cursor =
93 wl_container_of(listener, cursor, touch_up); 93 wl_container_of(listener, cursor, touch_up);
94 struct wlr_event_touch_up *event = data; 94 struct wlr_event_touch_up *event = data;
95 sway_log(L_DEBUG, "TODO: handle touch up event: %p", event); 95 wlr_log(L_DEBUG, "TODO: handle touch up event: %p", event);
96} 96}
97 97
98static void handle_touch_motion(struct wl_listener *listener, void *data) { 98static void handle_touch_motion(struct wl_listener *listener, void *data) {
99 struct sway_cursor *cursor = 99 struct sway_cursor *cursor =
100 wl_container_of(listener, cursor, touch_motion); 100 wl_container_of(listener, cursor, touch_motion);
101 struct wlr_event_touch_motion *event = data; 101 struct wlr_event_touch_motion *event = data;
102 sway_log(L_DEBUG, "TODO: handle touch motion event: %p", event); 102 wlr_log(L_DEBUG, "TODO: handle touch motion event: %p", event);
103} 103}
104 104
105static void handle_tool_axis(struct wl_listener *listener, void *data) { 105static void handle_tool_axis(struct wl_listener *listener, void *data) {
106 struct sway_cursor *cursor = 106 struct sway_cursor *cursor =
107 wl_container_of(listener, cursor, tool_axis); 107 wl_container_of(listener, cursor, tool_axis);
108 struct wlr_event_tablet_tool_axis *event = data; 108 struct wlr_event_tablet_tool_axis *event = data;
109 sway_log(L_DEBUG, "TODO: handle tool axis event: %p", event); 109 wlr_log(L_DEBUG, "TODO: handle tool axis event: %p", event);
110} 110}
111 111
112static void handle_tool_tip(struct wl_listener *listener, void *data) { 112static void handle_tool_tip(struct wl_listener *listener, void *data) {
113 struct sway_cursor *cursor = 113 struct sway_cursor *cursor =
114 wl_container_of(listener, cursor, tool_tip); 114 wl_container_of(listener, cursor, tool_tip);
115 struct wlr_event_tablet_tool_tip *event = data; 115 struct wlr_event_tablet_tool_tip *event = data;
116 sway_log(L_DEBUG, "TODO: handle tool tip event: %p", event); 116 wlr_log(L_DEBUG, "TODO: handle tool tip event: %p", event);
117} 117}
118 118
119static void handle_request_set_cursor(struct wl_listener *listener, 119static void handle_request_set_cursor(struct wl_listener *listener,
@@ -121,7 +121,7 @@ static void handle_request_set_cursor(struct wl_listener *listener,
121 struct sway_cursor *cursor = 121 struct sway_cursor *cursor =
122 wl_container_of(listener, cursor, request_set_cursor); 122 wl_container_of(listener, cursor, request_set_cursor);
123 struct wlr_seat_pointer_request_set_cursor_event *event = data; 123 struct wlr_seat_pointer_request_set_cursor_event *event = data;
124 sway_log(L_DEBUG, "TODO: handle request set cursor event: %p", event); 124 wlr_log(L_DEBUG, "TODO: handle request set cursor event: %p", event);
125} 125}
126 126
127struct sway_cursor *sway_cursor_create(struct sway_seat *seat) { 127struct sway_cursor *sway_cursor_create(struct sway_seat *seat) {