Coder Social home page Coder Social logo

Comments (2)

LGUG2Z avatar LGUG2Z commented on May 28, 2024

This drives me crazy too; I've gotten used to just minimising the Steam window instead of closing the window (and leaving the process running in the background).

I just had a look at what happens in my local logs when I close the Steam window:

[2021-07-14 10:50:49.831225 -07:00] INFO [yatta] yatta\src\main.rs:372: focusing window: steam.exe - Steam (329118)
[2021-07-14 10:50:50.151538 -07:00] DEBUG [yatta::window] yatta\src\window.rs:297: ignoring steam.exe - Steam (event: Hide) (cloaked: false) (styles: BORDER | CAPTION | CLIPCHILDREN | CLIPSIBLINGS | DLGFRAME | GROUP | MAXIMIZEBOX | MINIMIZEBOX | OVERLAPPEDWINDOW | POPUP | POPUPWINDOW | SIZEBOX | SYSMENU | TABSTOP | THICKFRAME | TILEDWINDOW) (extended styles: LAYERED | WINDOWEDGE)

Steam is setting GwlExStyle::Layered which means it will be ignored here: https://github.com/LGUG2Z/yatta/blob/master/yatta/src/window.rs#L299

It's not the most beautiful thing in the world, but we can try changing this block to specifically allow events from Steam (or items in a whitelist) when filtering out events with GwlExStyle::LAYERED. I'll play around with this a little and report back in this thread.

from yatta.

LGUG2Z avatar LGUG2Z commented on May 28, 2024

@limethyst I just opened a PR with the quick fix that I detailed in the previous message; I'm running that build locally now and the layout is adjusting accordingly when the Steam window is closed to run in the background! 🎉

from yatta.

Related Issues (13)

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.