Skip to content
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

Double click on the Minimize All Windows would not show the desktop two times #77

Closed
kurokawachan opened this issue Aug 23, 2024 · 0 comments

Comments

@kurokawachan
Copy link
Contributor

kurokawachan commented Aug 23, 2024

Double click on the Minimize All Windows would not show the desktop two times

It would instead show it three times,

Showing the desktop button could be edited so every time we click, we toggle between the windows and the desktop

Every time we click it, there would be a event fired and this function called.

wincmd_button_clicked

If we click the button slowly, it would work well.
However, if we double click it, it would fire an GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS

So I suggest we only focus on GDK_BUTTON_PRESS

kurokawachan added a commit to kurokawachan/lxpanel that referenced this issue Aug 23, 2024
Fixing issue

lxde#77
ib pushed a commit to kurokawachan/lxpanel that referenced this issue Aug 25, 2024
If the toggle is clicked too quickly, it is considered a double-click
and three button-press events are generated instead of the usual two,
resulting in unwanted behavior.

This fixes lxde#77.
@ib ib closed this as completed in ffd815f Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant