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

Method init

plugins/single_plugins/vswipe.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102 public:
103 void init() override
104 {
105 input_grab = std::make_unique<wf::input_grab_t>("vswipe", output);
106
107 wf::get_core().connect(&on_swipe_begin);
108 wf::get_core().connect(&on_swipe_update);
109 wf::get_core().connect(&on_swipe_end);
110
111 wall = std::make_unique<wf::workspace_wall_t>(output);
112 wall->connect(&this->on_frame);
113 }
114
115 wf::effect_hook_t post_frame = [=] ()
116 {

Callers

nothing calls this directly

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected