<schemalist>
  <enum id="background_transition">
    <value value="0" nick="none"/>
    <value value="1" nick="fade-in"/>
    <value value="2" nick="blend"/>
  </enum>

  <enum id="placement_mode">
    <value value="0" nick="automatic"/>
    <value value="1" nick="pointer"/>
    <value value="2" nick="manual"/>
    <value value="3" nick="center"/>
  </enum>

  <schema id="org.cinnamon.muffin" path="/org/cinnamon/muffin/"
          gettext-domain="muffin">

    <key name="overlay-key" type="s">
      <default>''</default>
      <summary>DO NOT USE</summary>
      <description>
        Use keybinding mechanisms in cinnamon instead.
      </description>
    </key>

    <key name="attach-modal-dialogs" type="b">
      <default>false</default>
      <summary>Attach modal dialogs</summary>
      <description>
        When true, instead of having independent titlebars, modal dialogs
        appear attached to the titlebar of the parent window and are moved
        together with the parent window.
      </description>
    </key>

    <key name="edge-tiling" type="b">
      <default>true</default>
      <summary>Enable edge tiling when dropping windows on screen edges</summary>
      <description>
        If enabled, dropping windows on vertical screen edges maximizes them
        vertically and resizes them horizontally to cover half of the available
        area. Dropping windows on the top screen edge maximizes them completely.
      </description>
    </key>

    <key name="tile-maximize" type="b">
      <default>false</default>
      <summary>Sets maximize as the tile action for the top edge of the screen</summary>
      <description>
        Makes tiling to the top maximize the window
      </description>
    </key>

    <key name="invert-workspace-flip-direction" type="b">
      <default>false</default>
      <summary>Inverts the direction the left and right arrows take you when
         you switch workspaces during a window drag</summary>
      <description>
        Changes left-right arrow keys to window-centric directions rather than
        workspace-centric
      </description>
    </key>

    <key name="dynamic-workspaces" type="b">
      <default>false</default>
      <summary>Workspaces are managed dynamically</summary>
      <description>
        Determines whether workspaces are managed dynamically or
        whether there’s a static number of workspaces (determined
        by the num-workspaces key in org.cinnamon.desktop.wm.preferences).
      </description>
    </key>

    <key name="workspace-cycle" type="b">
      <default>false</default>
      <summary>Allow cycling through workspaces</summary>
      <description>
        Allows cycling through workspaces, going to the workspace at the other end
        if you are at the left-most or right-most one.
      </description>
    </key>

    <key name="unredirect-fullscreen-windows" type="b">
      <default>false</default>
      <summary>Fullscreen windows are unredirected (i.e. they bypass compositing)</summary>
      <description>
        Determines whether fullscreen windows bypass compositing. False is better for vsync/screen-tearing, True gives games and apps i
      </description>
    </key>

    <key name="workspaces-only-on-primary" type="b">
      <default>false</default>
      <summary>Workspaces only on primary</summary>
      <description>
        Determines whether workspace switching should happen for windows
        on all monitors or only for windows on the primary monitor.
      </description>
    </key>

    <key name="no-tab-popup" type="b">
      <default>false</default>
      <summary>No tab popup</summary>
      <description>
        Determines whether the use of popup and highlight frame should
        be disabled for window cycling.
      </description>
    </key>

    <key name="focus-change-on-pointer-rest" type="b">
      <default>false</default>
      <summary>Delay focus changes until the pointer stops moving</summary>
      <description>
        If set to true, and the focus mode is either “sloppy” or “mouse”
        then the focus will not be changed immediately when entering a
        window, but only after the pointer stops moving.
      </description>
    </key>

    <key name="draggable-border-width" type="i">
      <default>10</default>
      <range min="0" max="64"/>
      <summary>Draggable border width</summary>
      <description>
          The amount of total draggable borders. If the theme’s visible
          borders are not enough, invisible borders will be added to meet
          this value.
      </description>
    </key>

    <key name="auto-maximize" type="b">
      <default>false</default>
      <summary>Auto maximize nearly monitor sized windows</summary>
      <description>
        If enabled, new windows that are initially the size of the monitor
        automatically get maximized.
      </description>
    </key>

    <key name="center-new-windows" type="b">
      <default>false</default>
      <summary>Obsolete — not used</summary>
    </key>

    <key name="placement-mode" enum="placement_mode">
      <default>'automatic'</default>
      <summary>Window placement mode</summary>
      <description>
        The window placement mode indicates how new windows are positioned.

        • “automatic” — the system chooses a location automatically based on
                        the space available on the desktop, or by a simple
                        cascade if there is no space

        • “pointer”   — new windows are placed according to the mouse pointer
                        position

        • “manual”    — the user must manually place the new window with the
                        mouse or keyboard.

        • “center”    — new windows are always put in the center of the active
                        screen of the monitor
      </description>
    </key>

    <key name="background-transition" enum="background_transition">
      <default>'blend'</default>
      <summary>Background transition</summary>
      <description>The type of animation performed when changing background.
      "none" means no animation at all.
      "fade-in" means the old background switches to black and the new background appears with a fade-in effect.
      "blend" means the old background disappears as the new background appears with a fade-in effect.
      </description>
    </key>

    <key name="experimental-features" type="as">
      <default>[]</default>
      <summary>Enable experimental features</summary>
      <description>
        Currently only 'x11-randr-fractional-scaling' is useful in Cinnamon

        • “x11-randr-fractional-scaling” — enable fractional scaling under X11
                                           using xrandr scaling. It might reduce
                                           performances.
                                           Does not require a restart.
      </description>
    </key>

    <key name="locate-pointer-key" type="as">
      <default>['Control_L']</default>
      <summary>Modifier to use to locate the pointer</summary>
      <description>
        This key will initiate the “locate pointer” action.
      </description>
    </key>

    <key name="check-alive-timeout" type="u">
      <default>5000</default>
      <summary>Timeout for check-alive ping</summary>
      <description>
        Number of milliseconds a client has to respond to a ping request in
        order to not be detected as frozen. Using 0 will disable the alive check
        completely.
      </description>
    </key>

    <key name="bring-windows-to-current-workspace" type="b">
      <default>false</default>
      <summary>Brings windows requiring attention to the current workspace</summary>
      <description>
        When enabled, if a window requires attention, it is brought to the current workspace.
      </description>
    </key>

    <child name="keybindings" schema="org.cinnamon.muffin.keybindings"/>

  </schema>
  <schema id="org.cinnamon.muffin.keybindings" path="/org/cinnamon/muffin/keybindings/">

    <key name="tab-popup-select" type="as">
      <default>[]</default>
      <summary>Select window from tab popup</summary>
    </key>

    <key name="tab-popup-cancel" type="as">
      <default>[]</default>
      <summary>Cancel tab popup</summary>
    </key>
  </schema>
</schemalist>
