[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
I was trying to make a vertical bar.
I started out with this:
(defwindow bar
:monitor 0
:geometry (geometry :x "0%" :y "0%" :width "2%" :height "100%" :anchor "bottom left")
:stacking "fg"
:exclusive true
"a"
)
but then i found out, (#296) that i couldn't use exclusive with a bottom left anchor, it had to be center for at least one.
so, i changed my geometry anchor to bottom center, intending to just have -50% x to put it on the left side of the screen.
u cant change the x position when its bottom center. and my window manager(wayfire) starts acting very strange with window management now. (it also breaks at top center)
when i set it to just center, it was the same as top center and bottom center, but as well as breaking my window manager and not being able to change the x, it wasnt even 100% of the screen now, it was slightly downwards and changing y in the config didn't help either.
at left center, exclusive works, but it has the same y position issue as when i just do center.
Reproducing the issue
in a window on wayland, put exclusive true, and mess around with the anchor.
Expected behaviour
Well, it would be great if i could change the x and y position even when something has a center anchor.
Checklist before submitting an issue
Description of the bug
I was trying to make a vertical bar.
I started out with this: (defwindow bar :monitor 0 :geometry (geometry :x "0%" :y "0%" :width "2%" :height "100%" :anchor "bottom left") :stacking "fg" :exclusive true
"a" ) but then i found out, (#296) that i couldn't use exclusive with a bottom left anchor, it had to be center for at least one.
so, i changed my geometry anchor to bottom center, intending to just have -50% x to put it on the left side of the screen. u cant change the x position when its bottom center. and my window manager(wayfire) starts acting very strange with window management now. (it also breaks at top center)
when i set it to just center, it was the same as top center and bottom center, but as well as breaking my window manager and not being able to change the x, it wasnt even 100% of the screen now, it was slightly downwards and changing y in the config didn't help either.
at left center, exclusive works, but it has the same y position issue as when i just do center.
Reproducing the issue
in a window on wayland, put exclusive true, and mess around with the anchor.
Expected behaviour
Well, it would be great if i could change the x and y position even when something has a center anchor.
Additional context
First one (left bottom)
Next one (-50% x, bottom center)
Last one (left center)