Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement client-side decorations (CSD) for Wayland #3439

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

implement client-side decorations (CSD) for Wayland #3439

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Labels
duplicate

Comments

@SDLBugzilla
Copy link
Collaborator

@SDLBugzilla SDLBugzilla commented Feb 11, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.13
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2019-10-23 18:09:42 +0000, David Heidelberg (okias) wrote:

Feature request to implement CSD, to be able switch default from X11 protocol to Wayland on linux-systems.

On 2019-10-23 18:42:26 +0000, Ryan C. Gordon wrote:

As I said before, we won’t get to this for 2.0.12, but let’s use this bug as a place to collect info in the meantime.

As I see it, we don’t need world-class CSD, especially not to start with. At a minimum, we need a basic title bar with a close button, that lets you move the window by dragging, and maybe some means to resize the window (but this last point is often less crucial for SDL apps).

Extra credit for a minimize and maximize button, but I don’t know what Wayland protocols look like for those that aren’t Gnome or KDE specific. If this is going to need magic specific to each desktop environment, we should avoid adding it. A close button (besides being the most useful decoration) can just be wired to an SDL event and not need any DE integration.

Ideally, whatever we build is “good enough” and doesn’t become a massive reimplementation of a complete desktop environment. Building something users can take for granted is certainly going to be non-trivial.

There is a proposal for a CSD library, that lets things like SDL just use GTK’s decorations without being “real” GTK apps, but that is just starting.

Wayland server-side decorations are available as a protocol on KDE, and SDL already supports these. Between this and the future CSD library, SDL will have good integration, so we’re just looking for something very basic here.

On 2020-10-31 14:17:12 +0000, Christian Rauch wrote:

What about the proposed client-side decorations in https://bugzilla.libsdl.org/show_bug.cgi?id=5194 ?

On 2020-11-18 15:46:40 +0000, Ryan C. Gordon wrote:

Going to mark this as a duplicate of Bug # 5194 so we focus discussion over there.

--ryan.

*** This bug has been marked as a duplicate of bug 5194 ***

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate
Projects
None yet
Development

No branches or pull requests

1 participant