-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(anr): add xwayland support #9436
Conversation
for xdg-shell, we can ping the wm_base, and thus render an ANR dialog if an app dies for XWayland, there probably is a similar method, but I don't know about it and don't care.
i haven't tested the wayland part (might wanna look into that) regardless xwayland support is finished |
pretty sure this fixes #7297 |
sure, anr was already implemented for wayland all this does is add support for xwayland if i am being honest that issue should have been closed with fb8eaba but i digress their are probably more issues related to that one, i cba to find them right now though. |
I don't like this, fails the vibe check, so much code dup |
wdym? |
this pr avoids that lol, shared code is extracted to helper funcs etc |
could you clarify? |
ill draft then lol and extract more logic since you dont want to give context |
just sayin it was pretty bad before as well so |
better? |
this is going to be aids to review |
tbh the duplication is kinda unavoidable... |
going to undraft, feel free to revert e195d94 if you dont like it |
their is really no other way to do this if im being real... and tbh even if e195d94 reduces code duplication ( very minor ) i still prefer it without those changes.... |
tbh I am not very convinced this is even something I am interested in. XWayland is slow, hungry, and I'd avoid sending anything more than we need over it. There are already some event issues around xwl that cause elevated cpu usage on my laptop (thats why I have to have xwl disabled on it) |
but the implementation isnt even bad lol, if you dont want to support xwayland on a lot of things then why have it in the first place. xd. |
also want to resume this on the discord server? if you unban me of course :) |
most users will want this anyways, if we stripped out a lot of the xwayland stuff and made it barebones, then the users would just want those features back. theres nothing really stopping this anyways |
I'll see what I can do tomorrow. |
any updates on this |
yes, I had other stuff to do and didnt, I have this open for wehn I have amoment |
ok |
you've messed up the code royally, I'll just rewrite it probably |
whats wrong with it 💀 |
tested on both wayland and xwayland works pefectly, disregard this:
|
their is no better way to do this regarding code dupe if thats what you mean feel free to test out these changes yourself if you dont believe me :( |
e |
you shat templates all over also, it doesn't work on my end |
skill issue, works perfectly fine for me |
u dont know xwayland well enough, you probs tried triggering it wrong |
templates are great |
unban me pls @vaxerski |
closing in favor #9456 |
adds xwayland support to anr
fixes #7297