Git Product home page Git Product logo

Comments (31)

ThirteenAG avatar ThirteenAG commented on June 19, 2024

It should be pretty easy to do, if you want I can try tomorrow.

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

I'm getting so frustrated having to shift-tab or alt-tab every time I want to use mouse wheel or here in borderless windowed showing my desktop in the middle of an invasion!
I didn't think it was going to be super hard so wanted to ask before I look it up myself.
That would mean so much to me.
Thank you very much.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Can't reproduce the issue, mouse cursor doesn't move for me if the game window is active.
However try this, see if it helps: https://transfer.sh/285bp/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Hello,
Easy way to reproduce would be while ingame move towards your second monitor then use shift-tab to bring the steam overlay then your windows mouse should appear on your second monitor instead of ingame.
Not sure how to really explain.
In any case your fix is working like a charm, mouse seems to stay in the middle of the window now, perfect. Thank you so much!!

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

I see, maybe in this case there's no need to constantly reset mouse, try this one as well: https://transfer.sh/hDEjS/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

That one seems to work as well, mouse seems to be moving this time but without affecting anything on my second monitor if I use mouse wheel for example or in my case trying to move it top right to trigger the taskbar icon "show desktop". It doesn't until I hit shift-tab which then brings mouse and triggers it.
Both are good to me.
Thanks again.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

So, which one would you prefer? I'll release it.

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Both seems good really, looks like you reset the position of the mouse in the second one if alt tabbed, not when bringing up the steam overlay but it really doesn't matter much to me as long as my mouse doesn't interfere with my second monitor and both seems to be doing that just fine.
Played with the first one for hours earlier and no issues, felt so good!

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Okay, updated with the second one.

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Alright first of all I'm really sorry.
I decided to do some more tests and manage to pretty much reproduce the issue every single time with both of the .asi as well as original windowed and fullscreen version of the game.

At launch in (borderless)windowed mode the mouse will interact with second monitor (at least mouse wheel).
I couldn't reproduce the showing desktop issue that I had the first time using borderless windowed mode.
If I use alt tab then refocus on the game it seems like the mouse cannot interact with second monitor windows anymore.
Using Steam-Overlay seems to reset that state where the mouse can once again interact with second monitor windows.
On fullscreen even after using alt-tab and refocus on the game the mouse still interact with second monitor windows.

I made a quick video showing it: https://streamable.com/tx84p

I guess at the end what you added didn't do much? I'm really sorry.
Even though I guess I could just remember not to shift tab and use alt tab to focus the game again I wish my mouse wouldn't wander on my other windows.

Thanks again.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Try this: https://transfer.sh/haukw/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

So, have you had a change to try the build above?

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Sorry I did, I just wanted to be sure to do proper testing this time.
It doesn't fix the mouse going on my second monitor at launch, I can see it being "blocked" at first for a bit but as soon as the intro movie starts it "releases" it.
If I alt-tab it fixes it like before but it also fixes it if I shift tab to bring the steam overlay and I wasn't able to reproduce using the steam overlay to reset mouse cursor being able to interact with my other windows this time.
So as long as I alt-tab then focus back on the game which I do pretty much every single time when I launch the game anyway it doesn't look like the mouse have any way of interacting with my other windows anymore.
Edit: I wonder if I skip intro videos it would change something let me try.
Edit2: It doesn't.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

What about this one then: https://transfer.sh/kMmil/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Same thing.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Ok, this should do it for startup I think: https://transfer.sh/Ygj3f/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Still the same.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Hm, how about this one: https://transfer.sh/14gGyM/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Sorry about late reply, just tried and same thing.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

So, you mean when you start the game and don't do anything, by the time you get to menu the mouse is still active on the other desktop unless you alt-tab and back?

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Exactly.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

I believe this should do it then: https://transfer.sh/2Wwx2/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Apparently not.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

How come? For me when menu is loaded I can no longer interact with windows on the second screen.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Ah, actually no, was able to reproduce. Weird.

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

https://streamable.com/86egp
I don't know.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Ok, I think it stops happening if I set cursor position also, try this: https://transfer.sh/JXi1K/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

It doesn't seem to show my cursor at the beginning anymore (which was only for a few seconds) but still interact with my other windows.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

If this doesn't work, then I'm out of ideas, probably have to leave it that way: https://transfer.sh/QDLTE/DyingLight.BorderlessWindowedMode.asi

from dyinglight.borderlesswindowedmode.

Niamor avatar Niamor commented on June 19, 2024

Tested it a bit and I think you got it this time, works like a charm.
Thanks a lot for your dedication on this, I would have been fine with the first one really and that's amazing that you took the time for it.

from dyinglight.borderlesswindowedmode.

ThirteenAG avatar ThirteenAG commented on June 19, 2024

Nice, new version should be released shortly.

from dyinglight.borderlesswindowedmode.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.