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

Function init_wlr_tool

plugins/ipc/stipc.cpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75};
76
77static void init_wlr_tool(wlr_tablet_tool *tablet_tool)
78{
79 std::memset(tablet_tool, 0, sizeof(*tablet_tool));
80 tablet_tool->type = WLR_TABLET_TOOL_TYPE_PEN;
81 tablet_tool->pressure = true;
82 wl_signal_init(&tablet_tool->events.destroy);
83}
84
85class headless_input_backend_t
86{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected