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

Wishlist: Prevent exiting fullscreen mode when pointer exits window #5

Closed
wants to merge 3 commits into from

Conversation

Technium
Copy link
Contributor

@Technium Technium commented Sep 2, 2012

Normally fullscreen mode is cancelled when the pointer leaves the window - I find this very frustrating. It seems that hacking the Flash binary is one way to disable this behaviour . Sadly this needs to be re-hacked every time the binary is updated so is not a good solution.

I wonder if it is possible to achieve the same effect via an extension to this LD_PRELOAD? Perhaps remove LeaveWindow events? Maybe only when in fullscreen mode? Not sure, but it would seem like there's a chance of making this work.

I'll have play with this eventually and see if I can make it work but if anyone can achieve it quickly and easily then great :)

@ali1234
Copy link
Owner

ali1234 commented Sep 2, 2012

I'm aware of this problem and gave some thought to it, but I couldn't see any easy way to make it work. Can you give some links to existing workarounds?

@Technium
Copy link
Contributor Author

Technium commented Sep 2, 2012

There is an automatic patcher that has fairly readable source at http://deve.loping.net/projects/ignoflash/. Although it is out of date now it does have well commented source that gives a number of clues of places to look and approaches to take.

@Technium
Copy link
Contributor Author

Technium commented Sep 2, 2012

After much experimentation I have this working by simply masking out PropertyChange in XSelectInput. I'll clean it up and make it public after a bit more testing.

…losing focus. Allows watching video on one screen while working on another.

Testing hasn't found any negative impact on the browser but there is potential for some confusion. If this is the case then some intelligence could probably be added to only mask events for the correct window.
@ali1234
Copy link
Owner

ali1234 commented Sep 8, 2012

Can you rebase this please? And remove those whitespace changes. Thanks.

@ali1234
Copy link
Owner

ali1234 commented Oct 28, 2012

Merged.

@ali1234 ali1234 closed this Oct 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants