libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.06k stars 1.81k forks source link

[LINUX] RetroArch not providing WM hints used by some window managers like WindowMaker #6335

Open ghost opened 6 years ago

ghost commented 6 years ago

Description

Missing Window Manager Hints.

In the case of Window Maker specifically: No application icon or taskbar button. Unable to pin app to the dock.

Expected behaviour

Window Manager Hints are given.

In the case of Window Maker specifically: Window Icon and Window Button displayed in dock

Actual behaviour

Required Window Manager Hints are not given.

What steps will reproduce the problem?

  1. Just Run RetroArch on windowmaker as a window manager
  2. Right-click on window title, selecting attributes
  3. The window specification window should appear. You can also click the Select window button and click on the background chrome window to auto-select this.
  4. Click on the top combo to select the application-specific menu and it should be greyed out if you have recreated the issue.

Version/Commit

Window Maker 0.95.8 although should effect other Window Managers in other ways (eg. FVWM, etc.)

Environment information

RobLoach commented 6 years ago

What do you mean by window hints?

ghost commented 6 years ago

They're part of the Free Desktop spec (XDG) for Linux GUI apps. Most apps have them as they're typically included by default in GTK, QT, and similar toolkits.

I'm not sure if libui implements Window Manager Hints, but both #6336 and this issue seem to do with ICCCM issues.

Resources: https://en.wikipedia.org/wiki/Extended_Window_Manager_Hints https://developer.gnome.org/wm-spec/