Page 1 of 1

How to disable mouse double-click (which toggles fullscreen)

Posted: 20 Jun 2022 03:47
by caecilius-j
Hi,

By default hotkey "f" makes VLC to toggle fullscreen. Unfortunately (for me), a mouse double-click also makes that.
I would like to disable the mouse double-click only. At least when VLC is running in full screen.

Is there a way to make VLC ignore the mouse double-click?

In fact, I cannot fully disable mouse events (i.e., cannot use --no-mouse-events) because I still need the mouse to work.
The plan is to keep VLC running a stream 24/24 in full screen, allowing the touch screen to turn off (power saving) after a certain amount of time. Whenever an user wants to turn on the screen again, he/she only have to touch the screen.
To be clear, I just want to prevent the user to be able to cancel VLC full screen mode by doing a double click.

So, is there a way to make VLC ignore the mouse double-click? This requested behavior is only required in fullscreen but there's no harm if it also works when in non-fullscreen mode.
If not possible to disable it in VLC, any suggestions how to solve this issue?

Thank you!

Re: How to disable mouse double-click (which toggles fullscreen)

Posted: 20 Jun 2022 07:40
by Rémi Denis-Courmont
VLC is open-source, so you can always modify it.

Otherwise no.

Re: How to disable mouse double-click (which toggles fullscreen)

Posted: 20 Jun 2022 07:57
by caecilius-j
Thank you for your response!
Unfortunately modifying VLC source code is not an option for me...
As a plan B, I was thinking of some kind of an app that would capture mouse clicks... know any?
Anyway, the solution should be supported on both Windows and Linux (at least).

Re: How to disable mouse double-click (which toggles fullscreen)

Posted: 22 Jun 2022 16:15
by caecilius-j
Found autohotkey (https://www.autohotkey.com/), a script-based app that captures keyboard and\or mouse clicks (haven't tried it yet though).
Unfortunately, it only runs on Windows.
Does anyone know a similar cross-platform tool? Or, at least, for Linux ?

Re: How to disable mouse double-click (which toggles fullscreen)

Posted: 22 Jun 2022 18:34
by Rémi Denis-Courmont
Capturing input events is intrinsically not portable, so don't get your hopes too high.