hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.61k stars 827 forks source link

Support XDG Shell Resize/Move actions #1556

Open deeedob opened 1 year ago

deeedob commented 1 year ago

Hello,

I'm a Qt developer and am considering the switch to Hyprland recently. For this to happen I need window decorations and some freedesktop.org atoms enabled.

Especially the _NET_WM_MOVERESIZE atom is required for moving around windows natively in Qt6 QML/QtQuick I'm very unexperienced with wayland so pardon my rookie mistake if these atoms aren't even used. How does hyprland handle those?

Also - is it possible to allow system-decorations for the window?

vaxerski commented 1 year ago

Umm.... atoms... in Wayland?

Wayland has no atoms sire.

Also - is it possible to allow system-decorations for the window?

SSD? Hyprland has borders, shadows, and a group bar for grouped windows. That's it.

CSD? Forcefully disabled.

deeedob commented 1 year ago

What do you mean by SSD/CSD?

Ater exploring a bit more I think this is the required part that needs to be enabled for the wayland implementation. Qt checks it here i think.

As for the decorations. I would really love to have xdg-decorations optionally enabled. I would need this when developing gui app (rather then using) just to verify that everything works fine.

Whats the chances of enabling this? Could someone point me to the required locations here maybe?

vaxerski commented 1 year ago

Whats the chances of enabling this?

wants_to(me);

What do you mean by SSD/CSD?

Servur-Side / Client-Side Decorations

Ater exploring a bit more I think this is the required part that needs to be enabled for the wayland implementation. Qt checks it here i think.

yes, you are correct.

Bryan2333 commented 1 year ago

I am new to Hyprland. I cannot resize the floating window by dragging the window border. Is my situation related to this issue?

vaxerski commented 1 year ago

No. You can enable that in the config.

izmyname commented 1 month ago

https://github.com/hyprwm/Hyprland/commit/bc86afea7e177a7ad4335737417fc0e468698dc4 ?

vaxerski commented 1 month ago

no, this is unrelated