Add floating window logic

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-03-15 17:37:54 +03:00
parent f9442af5ed
commit 2e12fa26c4
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
21 changed files with 335 additions and 98 deletions

View file

@ -1,5 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="pipetap">
<schema id="io.gitlab.nekocwd.pipetap" path="/io/gitlab/nekocwd/pipetap/">
<schema id="io.gitlab.nekocwd.pipetap.adjustments">
<key name='start-x' type='d'>
<default>0</default>
</key>
<key name='start-y' type='d'>
<default>0</default>
</key>
<key name='end-x' type='d'>
<default>0</default>
</key>
<key name='end-y' type='d'>
<default>0</default>
</key>
<key name='orientation' type='b'>
<default>false</default>
</key>
</schema>
</schemalist>
<schema id="io.gitlab.nekocwd.pipetap" path="/io/gitlab/nekocwd/pipetap/">
<child name="main-controls-pos" schema="io.gitlab.nekocwd.pipetap.adjustments"></child>
</schema>
</schemalist>

View file

@ -28,7 +28,9 @@ test(
)
install_data(
'io.gitlab.nekocwd.pipetap.gschema.xml',
[
'io.gitlab.nekocwd.pipetap.gschema.xml',
],
install_dir: get_option('datadir') / 'glib-2.0' / 'schemas',
)