logoalt Hacker News

robinsonb5yesterday at 9:56 AM1 replyview on HN

> and ignores the window manager decorations.

That's because Gtk4 does "client side decoration". That has the advantage (or otherwise, depending on your point of view!) that the application can now place custom widgets in the title bar, and the disadvantage that when apps do that, the part of the title bar available for dragging windows around becomes significantly smaller.

My main objection to client-side decoration is that middle-clicking a window's title bar to push it to the back no longer works. (Plus, for those of us with eyes that aren't as young as they once were, it's now much harder to choose a window border style that clearly indicates which window has focus.)


Replies

antisoltoday at 5:02 AM

My biggest problem (of many) with client side decorations is that now when your program crashes, you can't just hit the close button to have the window manager kill it, because the process responsible for drawing and responding to the close button has crashed.

The trick is to avoid software using the newer gtk versions.