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

Method init

plugins/single_plugins/extra-gestures.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30 public:
31 void init() override
32 {
33 build_touch_and_hold_move();
34 move_fingers.set_callback([=] () { build_touch_and_hold_move(); });
35 move_delay.set_callback([=] () { build_touch_and_hold_move(); });
36
37 build_tap_to_close();
38 close_fingers.set_callback([=] () { build_tap_to_close(); });
39 }
40
41 /**
42 * Run an action on the view under the touch points, if the touch points

Callers

nothing calls this directly

Calls 1

set_callbackMethod · 0.45

Tested by

no test coverage detected