Comments (2)
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.
@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)
- Rules to automatically assign applications to specific desktops HOT 1
- Feature request: Tabbing HOT 2
- Update windows-rs to 0.9.x
- Building Error HOT 2
- Feature request: Workspaces HOT 2
- Add a license HOT 3
- Margins are limited HOT 2
- Feature request: Multi-monitor support HOT 7
- Resizing windows with yattac HOT 7
- Tree operations HOT 1
- Resizing windows with a mouse HOT 4
- Swap windows with mouse HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yatta.