https://bugs.kde.org/show_bug.cgi?id=15329

Sdar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #122 from Sdar <[email protected]> ---
I know this is probably not the right place to ask and I'm fine if a moderator
hides this as spam or off-topic, but I'd appreciate if someone can point me in
the right direction or tell me if this is even possible.

I’m porting a JPEGView feature (Windows image viewer) to qimgv: when you zoom
in/out, the app window resizes to match the image size, there's a little more
into it, but that's the general idea.

On X11 everything works perfectly but on Wayland, I can resize the window, but
it always grows/shrinks from the top-left corner rather than from the center. I
haven’t found a way to recenter the window or make it expand from its center.

I found this line in Nate Graham’s canned responses about Wayland:
> Native Wayland windows are not allowed to determine where to place themselves 
> on screen at all; the compositor does this.

My questions are:
Is there truly no way for a client to move a window or control the “resize
origin” (e.g., expand from center)?
If not, would this require a feature request in KWin, or a new Wayland protocol
or portal?

Thanks for any guidance.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to