aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ivan Molodetskikh <yalterz@gmail.com>2019-09-25 17:35:41 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2019-11-17 20:18:42 +0100
commitbd9a53f1a3e7dba247aab0a4e4268724acc12c38 (patch)
tree1547b79a82b1c4e22512d0262cbb133a14ef10a3 /sway/sway.5.scd
parentAdd sway_surface (diff)
downloadsway-bd9a53f1a3e7dba247aab0a4e4268724acc12c38.tar.gz
sway-bd9a53f1a3e7dba247aab0a4e4268724acc12c38.tar.zst
sway-bd9a53f1a3e7dba247aab0a4e4268724acc12c38.zip
view: add max_render_time
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd16
1 files changed, 16 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 9119b379..52ee9d28 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -182,6 +182,22 @@ set|plus|minus <amount>
182*layout* toggle [split|tabbed|stacking|splitv|splith] [split|tabbed|stacking|splitv|splith]... 182*layout* toggle [split|tabbed|stacking|splitv|splith] [split|tabbed|stacking|splitv|splith]...
183 Cycles the layout mode of the focused container through a list of layouts. 183 Cycles the layout mode of the focused container through a list of layouts.
184 184
185*max_render_time* off|<msec>
186 Works together with *output max_render_time* to reduce the latency even
187 further by delaying the frame callbacks sent to a surface. When set to
188 a positive number of milliseconds, delays the frame callback in such a
189 way that the surface has the specified number of milliseconds to render
190 and commit new contents before being sampled by the compositor for the
191 next presentation. See *max_render_time* in *sway-output*(5) for
192 further details.
193
194 To set this up for optimal latency:
195 . Set up *output max_render_time*.
196 . Put the target application in _full-screen_ and have it continuously
197 render something.
198 . Start by setting *max_render_time 1*. If the application drops
199 frames, increment by *1*.
200
185*move* left|right|up|down [<px> px] 201*move* left|right|up|down [<px> px]
186 Moves the focused container in the direction specified. If the container, 202 Moves the focused container in the direction specified. If the container,
187 the optional _px_ argument specifies how many pixels to move the container. 203 the optional _px_ argument specifies how many pixels to move the container.