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

Full screen apps turn grey. #135

Open
YellowOnion opened this issue Aug 5, 2023 · 3 comments
Open

Full screen apps turn grey. #135

YellowOnion opened this issue Aug 5, 2023 · 3 comments

Comments

@YellowOnion
Copy link

YellowOnion commented Aug 5, 2023

easy repro:
I was trying to work around #43
But this will happen in any fullscreen game, if a game can be set to "borderless windowed" it seems to work, but imv seems to invoke "true full screen" with or without the -f flag, and breaks this script from being useful:

        OUTPUT=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused).name')
        FOCUS=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]?, .floating_nodes[]?) | select(.focused).id')
        grim -t ppm -o $OUTPUT | imv -f -w screen-shot - &
        IMV_PID=$!
        grimshot --notify copy area
        imv-msg $IMV_PID=$! quit
        swaymsg "[con_id = $FOCUS] focus"
@YellowOnion
Copy link
Author

Here's a video demoing it:
SLURP.webm

@tmccombs
Copy link
Collaborator

What compositor are you using?

@voronind-com
Copy link

I have the same issue on Sway 1.9. Window loses focus and all popups are gone, as well as fullscreen apps like games turning black.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants