Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • labwc centers my app window instead of opening at x=0 y=0 (different from X11 behavior)

$
0
0
Hi everyone,

I’ve noticed a small but annoying behavior difference when running my application under labwc (Wayland) compared to X11 on Raspberry Pi OS Bookworm.

When I launch my window (for example, a Qt or SDL app) under X11, it opens at the top-left corner (x=0, y=0) as expected.
However, under labwc, the same application is automatically centered on the screen instead of being placed at the origin.

It looks like labwc is positioning new windows in the center by default, ignoring any geometry hints I set (either from the app or via command-line parameters).

Is there a configuration option or Wayland protocol setting that controls this behavior — for example, something like window-placement = manual or geometry-hint support?
Or maybe labwc doesn’t currently allow clients to request exact positions (since Wayland handles this differently than X11)?

Any advice on how to make labwc open my window at 0,0 instead of centered would be appreciated!

Statistics: Posted by The Qtest — Mon Nov 03, 2025 1:25 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles