mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-12 03:21:08 +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>
|
||||
<!-- 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. -->
|
||||
opens at 800x600, centred (AutoPlace alone kept the top-left corner). 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"/>
|
||||
<action name="AutoPlace" policy="center"/>
|
||||
</windowRule>
|
||||
</windowRules>
|
||||
</labwc_config>
|
||||
Reference in new issue
Block a user