Desktop: melonDS opens as an 800x600 window, centred

melonDS remembers a 1x window for the front end's full-screen toggle, too small on a desktop.
A labwc window rule (only the desktop reads rc.xml) resizes it to 800x600 on open and places
it again by the desktop's centre policy.
This commit is contained in:
The412Banner committed 2026-09-25 08:28:56 -04:00
1 parent 3452730725
commit 7763d00b78
1 file changed
+9
+9
View File
@@ -19,4 +19,13 @@
<keybind key="W-d"><action name="ToggleMaximize"/></keybind>
</keyboard>
<mouse><doubleClickTime>500</doubleClickTime></mouse>
<!-- Programs opened on the desktop at a size that suits it. melonDS remembers a 1x window for the
front end's full-screen toggle (bannerlator-pad-defaults), too small for a desktop: here it
opens at 800x600, centred. Only the desktop reads this file, so the front end is unaffected. -->
<windowRules>
<windowRule title="melonDS*">
<action name="ResizeTo" width="800" height="600"/>
<action name="AutoPlace"/>
</windowRule>
</windowRules>
</labwc_config>