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

replacing existing fullscreen #8566

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

littleblack111
Copy link
Contributor

@littleblack111 littleblack111 commented Nov 24, 2024

Describe your PR, what does it fix/add?

this allows replacement of fullscreen window(i.e. fullscreening another window when one is already fullscreened on the workspace)

this is used when a floating window that is spawned on top of a fullscreen wanted to be fullscreened

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

no

Is it ready for merging, or does it need work?

ready

this allows replacement of fullscreen window(i.e. fullscreening another
window when one is already fullscreened on the workspace)

this is used when a floating window that is spawned on top of a
fullscreen wanted to be fullscreened
@vaxerski
Copy link
Member

should this even be gated?

@littleblack111
Copy link
Contributor Author

i mean, someone didn't implement this at the first place for a reason, but I'll remove it

@littleblack111 littleblack111 changed the title feat: binds:allow_replace_fullscreen replacing existing fullscreen Nov 25, 2024
@littleblack111
Copy link
Contributor Author

there is an issue now, if you have a fullscreen window and replace it with a floating pinned window, that originally fullscreened window won't restore back to fullscreen after un-fullscreening the floating pinned window. don't know how to fix

@vaxerski
Copy link
Member

try removing the pin status? unsure

@littleblack111
Copy link
Contributor Author

littleblack111 commented Nov 27, 2024

ahh, no one prob gonna notice anyway, how abt merge it for now and fix it if it turned into a more severe issue

also rn theres a issue with pin that can be fixed with this(if u try to fullscreen the pinned window when another window is fullscreened, it'd mess up that var that stores the pin state).

@vaxerski
Copy link
Member

I don't think introducing issues on purpose is a good idea

@littleblack111
Copy link
Contributor Author

littleblack111 commented Dec 1, 2024

i mean i think this should be a intended behavior, kind of like how draging a fullscreen window will turn them into tiled or floating but not return to fullscreen state after

@littleblack111
Copy link
Contributor Author

would u want me to work on it?

@vaxerski
Copy link
Member

vaxerski commented Dec 9, 2024

ah yeah sorry so many notifications, feel free

@vaxerski
Copy link
Member

vaxerski commented Dec 9, 2024

re-reading this:

there is an issue now, if you have a fullscreen window and replace it with a floating pinned window, that originally fullscreened window won't restore back to fullscreen after un-fullscreening the floating pinned window. don't know how to fix

I don't think that's a problem. I am fine with this as-is

@vaxerski
Copy link
Member

vaxerski commented Dec 9, 2024

sorry for my previous comments idk I may have been braindead. Let me know if you are fine with this as is

@littleblack111
Copy link
Contributor Author

littleblack111 commented Dec 10, 2024

ya sure, feel free to merge

@vaxerski vaxerski merged commit d94d8b4 into hyprwm:main Dec 10, 2024
12 checks passed
@littleblack111 littleblack111 deleted the fullscreen-replace branch December 10, 2024 23:48
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.

2 participants