Hyprland
Hyprland copied to clipboard
No message on IPC when the monitor layout is changed
Description
When a monitor is layout is changed (eg: with the "monitor" keyword in hyprctl) there is no notification on the socket.
This would enable fixing some corner-case scenarios in scripts (eg: Pyprland's scratchpads) without impacting performances for 99.9% of the use-cases.
In case we have a way to query a single monitor property at the time of this ticket implementation, a list of monitors that changed their properties should be provided in the message (to enable the "micro optimization").
Different options/ideas:
- monitorlayoutchanged
- monitorchanged NAME
- monitorschanged
- monitorschanged NAME1,NAME2
or even more specific:
- monitormoved NAME
- monitorscaled NAME
- monitortransformed NAME
- monitorupdated NAME (for everything else like frequency... ?)
monitorlayoutchanged should be enough no?
Yes. Would apply to "any" monitor property change ? (position, size and transformation at least)
I guess
Hello there!
This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.
Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)
Thank you for your understanding!