-
Notifications
You must be signed in to change notification settings - Fork 597
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
Support _NET_WM_MOVERESIZE #2140
Comments
What is clumsy and sometimes buggy with their implementation? From a quick check, only the maximisation handling seems to be weird (if the y position on the root window is smaller than 10, the window is maximized). I don't really see what we would do better here besides that. Edit: And apparently i3 chose not to implement this properly either: https://sources.debian.org/src/i3-wm/4.14.1-1/src/handlers.c/?hl=922#L936 Edit: So far I looked at i3 and kwin. i3 seems to ignore most of the message and kwin is complicated code where I learnt that the difference between |
@psychon well it used to make firefox crash.. https://bugzilla.mozilla.org/show_bug.cgi?id=1186967 |
I want to ask if I see a related issue or if this is something entirely different: |
Hey, are there any plans to integrate this? I would really need it! |
could you please elaborate why |
I develop GUIs extensively, and thus it is often necessary to have these WM hints enabled. In Qt, for example, these are checked and used to trigger the movement or resizing of a window. |
weird, i have few qt6 apps which seems to handle move/resize correctly, mb you could point to exact code branch in qt6 code where that WM hint matter? |
Let me GitHub-search that for me. There aren't that many hits for |
i was suspecting that, like in gtk, it's loading two alternative implementations depending if that hint is present - which is not the case, so we indeed seems to be needing this hint (not sure though why move/resize still working in the apps) |
So, as stated in the docs. If this atom is not enabled setPosition is used which is ... somewhat suboptimal. I encountered problems where the window starts jiggling around. It is just better to have the move and resize handled by the window manager natively :) |
Output of
awesome --version
:awesome v4.2 (Human after all)
• Compiled against Lua 5.2.4 (running with Lua 5.2)
• D-Bus support: ✔
• execinfo support: ✘
• xcb-randr version: 1.5
• LGI version: 0.9.2
gtk+ relies on this to detect if the WM supports move and resize. Otherwise gtk+ will use a clumsy and sometimes buggy implementation of move and resize.
The text was updated successfully, but these errors were encountered: