mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 15:26:04 +00:00
Desktop: centre melonDS's 800x600 window
AutoPlace on its own left the resized window in the top-left corner; with policy="center" it opens in the middle of the desktop. Tried in a running desktop (labwc --reconfigure).
This commit is contained in:
1 parent
7763d00b78
commit
bbb95e8a60
1 file changed
+2
-2
@@ -21,11 +21,11 @@
|
|||||||
<mouse><doubleClickTime>500</doubleClickTime></mouse>
|
<mouse><doubleClickTime>500</doubleClickTime></mouse>
|
||||||
<!-- Programs opened on the desktop at a size that suits it. melonDS remembers a 1x window for the
|
<!-- 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
|
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. -->
|
opens at 800x600, centred (AutoPlace alone kept the top-left corner). Only the desktop reads this file, so the front end is unaffected. -->
|
||||||
<windowRules>
|
<windowRules>
|
||||||
<windowRule title="melonDS*">
|
<windowRule title="melonDS*">
|
||||||
<action name="ResizeTo" width="800" height="600"/>
|
<action name="ResizeTo" width="800" height="600"/>
|
||||||
<action name="AutoPlace"/>
|
<action name="AutoPlace" policy="center"/>
|
||||||
</windowRule>
|
</windowRule>
|
||||||
</windowRules>
|
</windowRules>
|
||||||
</labwc_config>
|
</labwc_config>
|
||||||
Reference in new issue
Block a user