mpv-player / mpv-player/mpv

[Wayland] Use libdecor for window decorations

Open
#11,665 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request priority:on-ice vo:gpu:wayland
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

  • mpv version : 0.35.1
  • Linux Distribution and Version : Arch Linux rolling
  • Source of the mpv binary : Flatpak
  • If known which version of mpv introduced the problem
  • Window Manager and version : Mutter 44.1
  • GPU driver and version : Mesa 23.0.2
Reproduction steps
  1. Use Weston(reference wayland compositor) or GNOME
  2. Use MPV as a native Wayland client
  3. See missing window decorations
Expected behavior
  1. For there to be window decorations
Actual behavior
  1. No Window decorations
Log file

mpv.log

Additional Information

libdecor is a library for apps to easily draw CSDs for Wayland and has been implemented in

  • Blender
  • SDL2
  • FLTK
  • GLFW

libdecor also has a GTK plugin that allows libdecor window decorations to use GTK and Cairo to render itself, thus utilizing GTK themes as well, making the CSD look uniform

Qt plugin is also possible, but no one worked on that yet

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named in the issue. Start by reproducing the missing decorations with mpv as a native Wayland client under Weston or GNOME, then review libdecor's integration requirements; done means native Wayland windows display decorations consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.