Package: xfe Version: 2.0.1-2 Summary ------- When xfe 2.0.1-2 (amd64, Debian 13 trixie) is displayed on Windows through the MobaXterm X server (version 12.1, multiwindow mode, X11 forwarded over SSH), the main window's title bar has no minimize, maximize or close buttons, and Alt+Space does not open the window menu. Other X applications on the same system and display (e.g. gparted) are decorated normally.
This is a regression: xfe 1.45-2 (amd64) on other Debian systems, displayed through the same MobaXterm X server, shows all three buttons normally. The problem shows up on two separate Debian 13 installs that both have 2.0.1-2. Cause ----- xfe 2.0.1-2 sets this property on its main window: _MOTIF_WM_HINTS = 0x7, 0x3e, 0x6e, 0x0 The decorations field (0x6e) includes BORDER, RESIZEH, TITLE, MINIMIZE and MAXIMIZE but omits MWM_DECOR_MENU (0x10). Window managers that follow the Motif hints strictly, such as the Cygwin/X-derived XWin server in MobaXterm, create the window without a system menu. On Windows the min/max/close buttons belong to the system menu, so they disappear even though MINIMIZE and MAXIMIZE are requested. gparted, for comparison, sets no _MOTIF_WM_HINTS and gets the full frame. Confirmation ------------ Unmapping the window, setting the decorations field to 0x7e (adding MWM_DECOR_MENU) and remapping it restores the buttons: xdotool windowunmap --sync <id> xprop -id <id> -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x7, 0x3e, 0x7e, 0x0, 0x0" xdotool windowmap --sync <id> Changing the property while the window is mapped has no effect, since the server reads the hints when the window is mapped. Suggested fix ------------- Include MWM_DECOR_MENU in the decorations xfe requests for its top-level windows (in FOX terms, add DECOR_MENU to the main window's decoration options), or don't set _MOTIF_WM_HINTS on the main window and let the window manager use its defaults. Workaround ---------- A wrapper script that launches xfe, waits for the main window, then unmaps it, sets decorations to 0x7e and remaps it.

