MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / handle_pointer_button

Method handle_pointer_button

plugins/single_plugins/expo.cpp:150–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 void handle_pointer_button(const wlr_pointer_button_event& event) override
151 {
152 if (event.button != BTN_LEFT)
153 {
154 return;
155 }
156
157 auto gc = output->get_cursor_position();
158 handle_input_press(gc.x, gc.y, event.state);
159 }
160
161 void handle_pointer_motion(wf::pointf_t pointer_position, uint32_t time_ms) override
162 {

Callers

nothing calls this directly

Calls 1

get_cursor_positionMethod · 0.45

Tested by

no test coverage detected