2007-04-29 17:35:43 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2013-01-11 11:41:27 +00:00
|
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
2007-04-29 17:35:43 +00:00
|
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
2022-08-18 11:46:27 +00:00
|
|
|
<include>config-kwin.h</include>
|
2013-01-24 14:25:34 +00:00
|
|
|
<kcfgfile arg="true" />
|
2013-01-11 11:41:27 +00:00
|
|
|
<group name="MouseBindings">
|
|
|
|
<entry name="CommandTitlebarWheel" type="String">
|
2019-09-14 08:58:12 +00:00
|
|
|
<default>Nothing</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="CommandAllKey" type="String">
|
2020-05-06 09:17:44 +00:00
|
|
|
<default>Meta</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="CommandAllWheel" type="String">
|
|
|
|
<default>Nothing</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandActiveTitlebar1" type="String">
|
|
|
|
<default>Raise</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandActiveTitlebar2" type="String">
|
2019-09-14 08:58:12 +00:00
|
|
|
<default>Nothing</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="CommandActiveTitlebar3" type="String">
|
|
|
|
<default>Operations menu</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandInactiveTitlebar1" type="String">
|
|
|
|
<default>Activate and raise</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandInactiveTitlebar2" type="String">
|
2019-09-14 08:58:12 +00:00
|
|
|
<default>Nothing</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="CommandInactiveTitlebar3" type="String">
|
|
|
|
<default>Operations menu</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandWindow1" type="String">
|
|
|
|
<default>Activate, raise and pass click</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandWindow2" type="String">
|
|
|
|
<default>Activate and pass click</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandWindow3" type="String">
|
|
|
|
<default>Activate and pass click</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandWindowWheel" type="String">
|
|
|
|
<default>Scroll</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandAll1" type="String">
|
|
|
|
<default>Move</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandAll2" type="String">
|
|
|
|
<default>Toggle raise and lower</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CommandAll3" type="String">
|
|
|
|
<default>Resize</default>
|
|
|
|
</entry>
|
|
|
|
</group>
|
|
|
|
<group name="ElectricBorders">
|
|
|
|
<entry name="Top" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="TopRight" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="Right" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="BottomRight" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="Bottom" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="BottomLeft" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="Left" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="TopLeft" type="String">
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
|
|
|
</group>
|
|
|
|
<group name="Windows">
|
|
|
|
<entry name="CondensedTitle" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="FocusPolicy" type="Enum">
|
2013-01-24 13:17:19 +00:00
|
|
|
<choices name="KWin::Options::FocusPolicy">
|
2013-01-11 11:41:27 +00:00
|
|
|
<choice name="ClickToFocus"/>
|
|
|
|
<choice name="FocusFollowsMouse"/>
|
|
|
|
<choice name="FocusUnderMouse"/>
|
|
|
|
<choice name="FocusStrictlyUnderMouse"/>
|
|
|
|
</choices>
|
2013-01-24 13:17:19 +00:00
|
|
|
<default>Options::ClickToFocus</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="NextFocusPrefersMouse" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="SeparateScreenFocus" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ActiveMouseScreen" type="Bool">
|
2021-04-22 19:05:59 +00:00
|
|
|
<default>true</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="RollOverDesktops" type="Bool">
|
2022-07-14 14:21:40 +00:00
|
|
|
<default>false</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="FocusStealingPreventionLevel" type="Int">
|
|
|
|
<default>1</default>
|
|
|
|
<min>0</min>
|
|
|
|
<max>4</max>
|
|
|
|
</entry>
|
|
|
|
<entry name="Placement" type="Enum">
|
2022-08-31 20:29:15 +00:00
|
|
|
<choices name="KWin::PlacementPolicy">
|
|
|
|
<choice name="PlacementNone" value="NoPlacement"/>
|
|
|
|
<choice name="PlacementDefault" value="Default"/>
|
|
|
|
<choice name="PlacementUnknown" value="Unknown"/>
|
|
|
|
<choice name="PlacementRandom" value="Random"/>
|
|
|
|
<choice name="PlacementSmart" value="Smart"/>
|
|
|
|
<choice name="PlacementCentered" value="Centered"/>
|
|
|
|
<choice name="PlacementZeroCornered" value="ZeroCornered"/>
|
|
|
|
<choice name="PlacementUnderMouse" value="UnderMouse"/>
|
|
|
|
<choice name="PlacementOnMainWindow" value="OnMainWindow"/>
|
|
|
|
<choice name="PlacementMaximizing" value="Maximizing"/>
|
2013-01-11 11:41:27 +00:00
|
|
|
</choices>
|
2022-08-18 11:46:27 +00:00
|
|
|
<default type="code">[] {
|
|
|
|
#if KWIN_BUILD_DECORATIONS
|
2022-08-31 20:29:15 +00:00
|
|
|
return PlacementCentered;
|
2022-08-18 11:46:27 +00:00
|
|
|
#else
|
2022-08-31 20:29:15 +00:00
|
|
|
return PlacementMaximizing;
|
2022-08-18 11:46:27 +00:00
|
|
|
#endif
|
|
|
|
}()</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
2022-08-31 18:57:21 +00:00
|
|
|
<entry name="ActivationDesktopPolicy" type="Enum">
|
|
|
|
<choices name="KWin::Options::ActivationDesktopPolicy">
|
|
|
|
<choice name="SwitchToOtherDesktop"/>
|
|
|
|
<choice name="BringToCurrentDesktop"/>
|
|
|
|
</choices>
|
|
|
|
<default>KWin::Options::ActivationDesktopPolicy::SwitchToOtherDesktop</default>
|
|
|
|
</entry>
|
2013-01-11 11:41:27 +00:00
|
|
|
<entry name="AutoRaise" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="AutoRaiseInterval" type="Int">
|
2013-01-24 13:17:19 +00:00
|
|
|
<default>750</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="DelayFocusInterval" type="Int">
|
2013-01-24 13:17:19 +00:00
|
|
|
<default>300</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="ShadeHover" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ShadeHoverInterval" type="Int">
|
|
|
|
<default>250</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ClickRaise" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="BorderSnapZone" type="Int">
|
|
|
|
<default>10</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="WindowSnapZone" type="Int">
|
|
|
|
<default>10</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="CenterSnapZone" type="Int">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="SnapOnlyWhenOverlapping" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ElectricBorders" type="Int">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
2013-02-09 23:26:30 +00:00
|
|
|
<entry name="ElectricBorderDelay" type="Int">
|
2013-01-11 11:41:27 +00:00
|
|
|
<default>150</default>
|
|
|
|
</entry>
|
2013-02-09 23:26:30 +00:00
|
|
|
<entry name="ElectricBorderCooldown" type="Int">
|
2013-01-11 11:41:27 +00:00
|
|
|
<default>350</default>
|
|
|
|
</entry>
|
2013-02-09 23:26:30 +00:00
|
|
|
<entry name="ElectricBorderPushbackPixels" type="Int">
|
2013-01-11 11:41:27 +00:00
|
|
|
<default>1</default>
|
|
|
|
</entry>
|
2013-02-09 23:26:30 +00:00
|
|
|
<entry name="ElectricBorderMaximize" type="Bool">
|
2013-01-11 11:41:27 +00:00
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
2013-02-09 23:26:30 +00:00
|
|
|
<entry name="ElectricBorderTiling" type="Bool">
|
2013-01-11 11:41:27 +00:00
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ElectricBorderCornerRatio" type="Double">
|
|
|
|
<default>0.25</default>
|
|
|
|
<min>0.0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
</entry>
|
|
|
|
<entry name="TitlebarDoubleClickCommand" type="String">
|
|
|
|
<default>Maximize</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="MaximizeButtonLeftClickCommand" type="String">
|
|
|
|
<default>Maximize</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="MaximizeButtonMiddleClickCommand" type="String">
|
2020-05-14 05:28:37 +00:00
|
|
|
<default>Maximize (vertical only)</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="MaximizeButtonRightClickCommand" type="String">
|
2020-05-14 05:28:37 +00:00
|
|
|
<default>Maximize (horizontal only)</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="KillPingTimeout" type="Int">
|
|
|
|
<default>5000</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="HideUtilityWindowsForInactive" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="InactiveTabsSkipTaskbar" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="AutogroupSimilarWindows" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="AutogroupInForeground" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="BorderlessMaximizedWindows" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
</group>
|
2022-05-11 00:18:14 +00:00
|
|
|
<group name="ScreenEdges">
|
|
|
|
<entry name="RemainActiveOnFullscreen" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
</group>
|
2013-01-11 11:41:27 +00:00
|
|
|
<group name="Compositing">
|
|
|
|
<entry name="Backend" type="String">
|
|
|
|
<default>OpenGL</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="Enabled" type="Bool">
|
|
|
|
<default>true</default>
|
2022-09-23 12:31:21 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="LastFailureTimestamp" type="Int">
|
|
|
|
<default>0</default>
|
2013-01-11 11:41:27 +00:00
|
|
|
</entry>
|
|
|
|
<entry name="GLTextureFilter" type="Int">
|
|
|
|
<default>2</default>
|
|
|
|
<min>-1</min>
|
|
|
|
<max>2</max>
|
|
|
|
</entry>
|
|
|
|
<entry name="GLStrictBinding" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="GLLegacy" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="HiddenPreviews" type="Int">
|
|
|
|
<default>5</default>
|
|
|
|
<min>4</min>
|
|
|
|
<max>6</max>
|
|
|
|
</entry>
|
2014-04-22 07:30:08 +00:00
|
|
|
<entry name="GLPlatformInterface" type="String">
|
|
|
|
<default>glx</default>
|
|
|
|
</entry>
|
2016-08-26 06:56:42 +00:00
|
|
|
<entry name="WindowsBlockCompositing" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
Introduce RenderLoop
At the moment, our frame scheduling infrastructure is still heavily
based on Xinerama-style rendering. Specifically, we assume that painting
is driven by a single timer, etc.
This change introduces a new type - RenderLoop. Its main purpose is to
drive compositing on a specific output, or in case of X11, on the
overlay window.
With RenderLoop, compositing is synchronized to vblank events. It
exposes the last and the next estimated presentation timestamp. The
expected presentation timestamp can be used by effects to ensure that
animations are synchronized with the upcoming vblank event.
On Wayland, every outputs has its own render loop. On X11, per screen
rendering is not possible, therefore the platform exposes the render
loop for the overlay window. Ideally, the Scene has to expose the
RenderLoop, but as the first step towards better compositing scheduling
it's good as is for the time being.
The RenderLoop tries to minimize the latency by delaying compositing as
close as possible to the next vblank event. One tricky thing about it is
that if compositing is too close to the next vblank event, animations
may become a little bit choppy. However, increasing the latency reduces
the choppiness.
Given that, there is no any "silver bullet" solution for the choppiness
issue, a new option has been added in the Compositing KCM to specify the
amount of latency. By default, it's "Medium," but if a user is not
satisfied with the upstream default, they can tweak it.
2020-11-19 08:52:29 +00:00
|
|
|
<entry name="LatencyPolicy" type="Enum">
|
|
|
|
<choices name="KWin::LatencyPolicy">
|
|
|
|
<choice name="LatencyExtremelyLow" value="ExtremelyLow"/>
|
|
|
|
<choice name="LatencyLow" value="Low"/>
|
|
|
|
<choice name="LatencyMedium" value="Medium"/>
|
|
|
|
<choice name="LatencyHigh" value="High"/>
|
|
|
|
<choice name="LatencyExtremelyHigh" value="ExtremelyHigh"/>
|
|
|
|
</choices>
|
|
|
|
<default>LatencyMedium</default>
|
|
|
|
</entry>
|
2020-11-28 15:12:38 +00:00
|
|
|
<entry name="RenderTimeEstimator" type="Enum">
|
|
|
|
<choices name="KWin::RenderTimeEstimator">
|
|
|
|
<choice name="RenderTimeEstimatorMinimum" value="Minimum"/>
|
|
|
|
<choice name="RenderTimeEstimatorMaximum" value="Maximum"/>
|
|
|
|
<choice name="RenderTimeEstimatorAverage" value="Average"/>
|
|
|
|
</choices>
|
|
|
|
<default>RenderTimeEstimatorMaximum</default>
|
|
|
|
</entry>
|
2022-10-24 22:39:41 +00:00
|
|
|
<entry name="AllowTearing" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
2013-01-11 11:41:27 +00:00
|
|
|
</group>
|
2013-01-31 07:26:06 +00:00
|
|
|
<group name="TabBox">
|
|
|
|
<entry name="ShowDelay" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="DelayTime" type="Int">
|
|
|
|
<default>90</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="DesktopMode" type="UInt">
|
|
|
|
<default>1</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ActivitiesMode" type="UInt">
|
|
|
|
<default>1</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ApplicationsMode" type="UInt">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="MinimizedMode" type="UInt">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ShowDesktopMode" type="UInt">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="MultiScreenMode" type="UInt">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="SwitchingMode" type="UInt">
|
|
|
|
<default>0</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ShowOutline" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="ShowTabBox" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="HighlightWindows" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="LayoutName" type="String">
|
|
|
|
<default>thumbnails</default>
|
|
|
|
</entry>
|
2020-10-20 20:15:46 +00:00
|
|
|
<entry name="MoveMinimizedWindowsToEndOfTabBoxFocusChain" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
2013-01-31 07:26:06 +00:00
|
|
|
</group>
|
2019-09-25 13:31:48 +00:00
|
|
|
<group name="KDE">
|
|
|
|
<entry name="AnimationDurationFactor" type="Double">
|
|
|
|
<default>1</default>
|
|
|
|
<min>0</min>
|
|
|
|
</entry>
|
|
|
|
</group>
|
2020-12-23 00:41:47 +00:00
|
|
|
<group name="Wayland">
|
|
|
|
<entry name="InputMethod" type="Path" />
|
2021-05-07 07:27:54 +00:00
|
|
|
<entry name="DoubleTapWakeup" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
2022-05-28 14:38:53 +00:00
|
|
|
<entry name="EnablePrimarySelection" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
2020-12-23 00:41:47 +00:00
|
|
|
</group>
|
2020-08-27 09:05:28 +00:00
|
|
|
<group name="Xwayland">
|
|
|
|
<entry name="XwaylandCrashPolicy" type="Enum">
|
|
|
|
<choices name="KWin::XwaylandCrashPolicy">
|
|
|
|
<choice name="Stop"/>
|
|
|
|
<choice name="Restart"/>
|
|
|
|
</choices>
|
|
|
|
<default>XwaylandCrashPolicy::Restart</default>
|
|
|
|
</entry>
|
|
|
|
<entry name="XwaylandMaxCrashCount" type="UInt">
|
|
|
|
<default>3</default>
|
|
|
|
</entry>
|
2022-01-27 19:14:53 +00:00
|
|
|
|
|
|
|
<entry name="XwaylandEavesdrops" type="Enum">
|
|
|
|
<choices>
|
|
|
|
<choice name="None"/>
|
|
|
|
<choice name="Modifiers"/>
|
|
|
|
<choice name="Combinations"/>
|
|
|
|
<choice name="All"/>
|
|
|
|
</choices>
|
|
|
|
<default>None</default>
|
|
|
|
</entry>
|
2020-08-27 09:05:28 +00:00
|
|
|
</group>
|
2007-04-29 17:35:43 +00:00
|
|
|
</kcfg>
|