mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
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:
1 parent
3452730725
commit
7763d00b78
1 file changed
+9
@@ -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>
|
||||
Reference in new issue
Block a user