mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
This commit is contained in:
parent
a6ccf6659a
commit
d6a0726302
79 changed files with 183 additions and 183 deletions
|
@ -120,14 +120,14 @@ public:
|
|||
private:
|
||||
virtual void mousedown_event(GUI::MouseEvent& event) override
|
||||
{
|
||||
if (event.button() == GUI::MouseButton::Left) {
|
||||
if (event.button() == GUI::MouseButton::Primary) {
|
||||
if (!m_slider_window->is_visible())
|
||||
open();
|
||||
else
|
||||
close();
|
||||
return;
|
||||
}
|
||||
if (event.button() == GUI::MouseButton::Right) {
|
||||
if (event.button() == GUI::MouseButton::Secondary) {
|
||||
m_audio_client->set_muted(!m_audio_muted);
|
||||
update();
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ private:
|
|||
|
||||
virtual void mousedown_event(GUI::MouseEvent& event) override
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
pid_t child_pid;
|
||||
|
|
|
@ -106,7 +106,7 @@ private:
|
|||
|
||||
virtual void mousedown_event(GUI::MouseEvent& event) override
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
pid_t child_pid;
|
||||
const char* argv[] = { "SystemMonitor", "-t", "graphs", nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue