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

Method stop_controller

plugins/tile/tile-plugin.cpp:119–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void stop_controller(bool force_stop)
120 {
121 if (!output->is_plugin_active(grab_interface.name))
122 {
123 return;
124 }
125
126 // Deactivate plugin, so that others can react to the events
127 output->deactivate_plugin(&grab_interface);
128 input_grab->ungrab_input();
129 controller->input_released(force_stop);
130 controller = get_default_controller();
131 }
132
133 bool tile_window_by_default(wayfire_toplevel_view view)
134 {

Callers

nothing calls this directly

Calls 4

is_plugin_activeMethod · 0.80
deactivate_pluginMethod · 0.80
ungrab_inputMethod · 0.80
input_releasedMethod · 0.45

Tested by

no test coverage detected