-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to disable window move when dragging menu buttons #44
Comments
You'd need to write a new function to handle the In the Here's an example which I have NOT tested. connect(this, &AppMenuButton::pressed,
[this] {
emit clicked();
}
);
connect(this, &AppMenuButton::clicked,
this, &AppMenuButton::trigger);
|
What should be changed in |
Those were just examples of |
Oh, okay - got it! |
In Issue #2, @emvaized asked if we could disable the "window drag" option.
It will need to:
initDragMove(event->pos());
inDecoration::mousePressEvent
when config says so.AppMenuButton::pressed
signal to theAppMenuButton::clicked
signal. In thepressed
signal handler, check if the config option is set, then emit the clicked signal.The text was updated successfully, but these errors were encountered: