MCPcopy Create free account
hub / github.com/KDE/kwin / getMouseReleaseCommand

Method getMouseReleaseCommand

src/window.cpp:1901–1913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1899}
1900
1901std::optional<Options::MouseCommand> Window::getMouseReleaseCommand(Qt::MouseButton button) const
1902{
1903 switch (button) {
1904 case Qt::LeftButton:
1905 return options->commandWindow1();
1906 case Qt::MiddleButton:
1907 return options->commandWindow2();
1908 case Qt::RightButton:
1909 return options->commandWindow3();
1910 default:
1911 return std::nullopt;
1912 }
1913}
1914
1915std::optional<Options::MouseCommand> Window::getWheelCommand(Qt::Orientation orientation) const
1916{

Callers 4

pointerButtonMethod · 0.80
touchUpMethod · 0.80
tabletToolTipEventMethod · 0.80
tabletToolButtonEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected