<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaylock/.git/main.c, branch 1.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/'/>
<entry>
<title>Do not crash on connecting new output</title>
<updated>2022-02-10T08:54:57+00:00</updated>
<author>
<name>tiosgz</name>
<email>alamica@protonmail.com</email>
</author>
<published>2022-02-09T16:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=92de4d2e310c7bd7dca9c9ced602219dc8245a55'/>
<id>92de4d2e310c7bd7dca9c9ced602219dc8245a55</id>
<content type='text'>
The problem here was that a commit in reaction to wl_output::geometry
was made before the surface was configured, which is a protocol error.
See 65552.531 in the following log.

    [  65537.378] wl_registry@2.global(37, "wl_output", 4)
    [  65537.534]  -&gt; wl_registry@2.bind(37, "wl_output", 3, new id [unknown]@21)
    [  65537.679]  -&gt; wl_compositor@5.create_surface(new id wl_surface@19)
    [  65537.744]  -&gt; wl_compositor@5.create_surface(new id wl_surface@23)
    [  65537.822]  -&gt; wl_subcompositor@6.get_subsurface(new id wl_subsurface@24, wl_surface@23, wl_surface@19)
    [  65537.934]  -&gt; wl_subsurface@24.set_sync()
    [  65537.973]  -&gt; ext_session_lock_v1@3.get_lock_surface(new id ext_session_lock_surface_v1@25, wl_surface@19, wl_output@21)
    [  65538.086]  -&gt; wl_compositor@5.create_region(new id wl_region@26)
    [  65538.148]  -&gt; wl_region@26.add(0, 0, 2147483647, 2147483647)
    [  65538.275]  -&gt; wl_surface@19.set_opaque_region(wl_region@26)
    [  65538.325]  -&gt; wl_region@26.destroy()
    [  65538.383]  -&gt; wl_display@1.sync(new id wl_callback@27)
    [  65551.781] wl_display@1.delete_id(26)
    [  65551.924] wl_display@1.delete_id(27)
    [  65551.971] wl_pointer@13.enter(839, wl_surface@15, 558.01562500, 785.66796875)
    [  65552.093]  -&gt; wl_pointer@13.set_cursor(839, nil, 0, 0)
    [  65552.231] wl_output@21.geometry(0, 0, 440, 300, 0, "Samsung Electric Company", "SyncMaster", 0)
    [  65552.453]  -&gt; wl_surface@19.frame(new id wl_callback@26)
    [  65552.531]  -&gt; wl_surface@19.commit()
    [  65552.568] wl_output@21.mode(1, 1680, 1050, 59883)
    [  65552.685] wl_output@21.scale(1)
    [  65552.762] wl_output@21.done()
    [  65552.796] ext_session_lock_surface_v1@25.configure(840, 1680, 1050)
    [  65552.893]  -&gt; ext_session_lock_surface_v1@25.ack_configure(840)
    [  65553.044]  -&gt; wl_shm@4.create_pool(new id wl_shm_pool@28, fd 7, 7056000)
    [  65553.156]  -&gt; wl_shm_pool@28.create_buffer(new id wl_buffer@29, 0, 1680, 1050, 6720, 0)
    [  65553.224]  -&gt; wl_shm_pool@28.destroy()
    [  65558.903]  -&gt; wl_surface@19.set_buffer_scale(1)
    [  65558.953]  -&gt; wl_surface@19.attach(wl_buffer@29, 0, 0)
    [  65558.981]  -&gt; wl_surface@19.damage_buffer(0, 0, 2147483647, 2147483647)
    [  65559.013]  -&gt; wl_surface@19.commit()
    [  65559.026]  -&gt; wl_subsurface@24.set_position(842, 465)
    [  65559.063]  -&gt; wl_surface@23.attach(nil, 0, 0)
    [  65559.088]  -&gt; wl_surface@23.commit()
    [  65559.110]  -&gt; wl_subsurface@24.set_position(782, 465)
    [  65559.186]  -&gt; wl_shm@4.create_pool(new id wl_shm_pool@30, fd 8, 58564)
    [  65559.220]  -&gt; wl_shm_pool@30.create_buffer(new id wl_buffer@31, 0, 121, 121, 484, 0)
    [  65559.266]  -&gt; wl_shm_pool@30.destroy()
    [  65559.287]  -&gt; wl_surface@23.attach(nil, 0, 0)
    [  65559.316]  -&gt; wl_surface@23.commit()
    [  65559.385]  -&gt; wl_surface@23.set_buffer_scale(1)
    [  65559.402]  -&gt; wl_surface@23.attach(wl_buffer@31, 0, 0)
    [  65559.427]  -&gt; wl_surface@23.damage_buffer(0, 0, 2147483647, 2147483647)
    [  65559.458]  -&gt; wl_surface@23.commit()
    [  65559.467]  -&gt; wl_surface@19.commit()
    [  65559.478] wl_callback@27.done(840)
    [  65559.740] wl_display@1.error(ext_session_lock_surface_v1@25, 0, "session lock surface has never been configured")
    ext_session_lock_surface_v1@25: error 0: session lock surface has never been configured
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem here was that a commit in reaction to wl_output::geometry
was made before the surface was configured, which is a protocol error.
See 65552.531 in the following log.

    [  65537.378] wl_registry@2.global(37, "wl_output", 4)
    [  65537.534]  -&gt; wl_registry@2.bind(37, "wl_output", 3, new id [unknown]@21)
    [  65537.679]  -&gt; wl_compositor@5.create_surface(new id wl_surface@19)
    [  65537.744]  -&gt; wl_compositor@5.create_surface(new id wl_surface@23)
    [  65537.822]  -&gt; wl_subcompositor@6.get_subsurface(new id wl_subsurface@24, wl_surface@23, wl_surface@19)
    [  65537.934]  -&gt; wl_subsurface@24.set_sync()
    [  65537.973]  -&gt; ext_session_lock_v1@3.get_lock_surface(new id ext_session_lock_surface_v1@25, wl_surface@19, wl_output@21)
    [  65538.086]  -&gt; wl_compositor@5.create_region(new id wl_region@26)
    [  65538.148]  -&gt; wl_region@26.add(0, 0, 2147483647, 2147483647)
    [  65538.275]  -&gt; wl_surface@19.set_opaque_region(wl_region@26)
    [  65538.325]  -&gt; wl_region@26.destroy()
    [  65538.383]  -&gt; wl_display@1.sync(new id wl_callback@27)
    [  65551.781] wl_display@1.delete_id(26)
    [  65551.924] wl_display@1.delete_id(27)
    [  65551.971] wl_pointer@13.enter(839, wl_surface@15, 558.01562500, 785.66796875)
    [  65552.093]  -&gt; wl_pointer@13.set_cursor(839, nil, 0, 0)
    [  65552.231] wl_output@21.geometry(0, 0, 440, 300, 0, "Samsung Electric Company", "SyncMaster", 0)
    [  65552.453]  -&gt; wl_surface@19.frame(new id wl_callback@26)
    [  65552.531]  -&gt; wl_surface@19.commit()
    [  65552.568] wl_output@21.mode(1, 1680, 1050, 59883)
    [  65552.685] wl_output@21.scale(1)
    [  65552.762] wl_output@21.done()
    [  65552.796] ext_session_lock_surface_v1@25.configure(840, 1680, 1050)
    [  65552.893]  -&gt; ext_session_lock_surface_v1@25.ack_configure(840)
    [  65553.044]  -&gt; wl_shm@4.create_pool(new id wl_shm_pool@28, fd 7, 7056000)
    [  65553.156]  -&gt; wl_shm_pool@28.create_buffer(new id wl_buffer@29, 0, 1680, 1050, 6720, 0)
    [  65553.224]  -&gt; wl_shm_pool@28.destroy()
    [  65558.903]  -&gt; wl_surface@19.set_buffer_scale(1)
    [  65558.953]  -&gt; wl_surface@19.attach(wl_buffer@29, 0, 0)
    [  65558.981]  -&gt; wl_surface@19.damage_buffer(0, 0, 2147483647, 2147483647)
    [  65559.013]  -&gt; wl_surface@19.commit()
    [  65559.026]  -&gt; wl_subsurface@24.set_position(842, 465)
    [  65559.063]  -&gt; wl_surface@23.attach(nil, 0, 0)
    [  65559.088]  -&gt; wl_surface@23.commit()
    [  65559.110]  -&gt; wl_subsurface@24.set_position(782, 465)
    [  65559.186]  -&gt; wl_shm@4.create_pool(new id wl_shm_pool@30, fd 8, 58564)
    [  65559.220]  -&gt; wl_shm_pool@30.create_buffer(new id wl_buffer@31, 0, 121, 121, 484, 0)
    [  65559.266]  -&gt; wl_shm_pool@30.destroy()
    [  65559.287]  -&gt; wl_surface@23.attach(nil, 0, 0)
    [  65559.316]  -&gt; wl_surface@23.commit()
    [  65559.385]  -&gt; wl_surface@23.set_buffer_scale(1)
    [  65559.402]  -&gt; wl_surface@23.attach(wl_buffer@31, 0, 0)
    [  65559.427]  -&gt; wl_surface@23.damage_buffer(0, 0, 2147483647, 2147483647)
    [  65559.458]  -&gt; wl_surface@23.commit()
    [  65559.467]  -&gt; wl_surface@19.commit()
    [  65559.478] wl_callback@27.done(840)
    [  65559.740] wl_display@1.error(ext_session_lock_surface_v1@25, 0, "session lock surface has never been configured")
    ext_session_lock_surface_v1@25: error 0: session lock surface has never been configured
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for ext-session-lock-v1</title>
<updated>2022-02-02T14:30:45+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-12-20T16:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=1d1c75b6316d21933069a9d201f966d84099f6ca'/>
<id>1d1c75b6316d21933069a9d201f966d84099f6ca</id>
<content type='text'>
This is a new protocol to lock the session [1]. It should be more
reliable than layer-shell + input-inhibitor.

[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/131
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a new protocol to lock the session [1]. It should be more
reliable than layer-shell + input-inhibitor.

[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/131
</pre>
</div>
</content>
</entry>
<entry>
<title>Call fclose vice free, fixes #198</title>
<updated>2021-07-11T17:52:55+00:00</updated>
<author>
<name>grumpey</name>
<email>grumpey0@gmail.com</email>
</author>
<published>2021-07-11T17:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=366db56553ee02334871756ab19c72d2171ad364'/>
<id>366db56553ee02334871756ab19c72d2171ad364</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use wl_surface.damage_buffer</title>
<updated>2021-02-17T15:50:38+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-02-10T16:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=9d3da72a39771bb4d2241ea66b620d97c22298da'/>
<id>9d3da72a39771bb4d2241ea66b620d97c22298da</id>
<content type='text'>
We incorrectly used the buffer size instead of the surface size.
Let's not bother and just damage the maximum region.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We incorrectly used the buffer size instead of the surface size.
Let's not bother and just damage the maximum region.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize indicator size to zero</title>
<updated>2021-02-17T15:50:38+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-02-10T16:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=05325b1197f9921f7d03096173589e5c06411ebb'/>
<id>05325b1197f9921f7d03096173589e5c06411ebb</id>
<content type='text'>
Initializing to 1 is incorrect when the surface scale is &gt; 1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initializing to 1 is incorrect when the surface scale is &gt; 1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a potential use-after-free</title>
<updated>2020-10-15T13:17:41+00:00</updated>
<author>
<name>Martin Dørum</name>
<email>martid0311@gmail.com</email>
</author>
<published>2020-10-14T21:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=235b925df7e1bb82d98f1ac8c02e8f85d0a54ee9'/>
<id>235b925df7e1bb82d98f1ac8c02e8f85d0a54ee9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement key repeat</title>
<updated>2020-06-19T21:02:23+00:00</updated>
<author>
<name>Martin Dørum</name>
<email>martid0311@gmail.com</email>
</author>
<published>2020-06-19T21:02:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=a99afe6a7075c962da72b140f02e18318052d833'/>
<id>a99afe6a7075c962da72b140f02e18318052d833</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added option to adjust ring position via CLI arguments and the config file</title>
<updated>2019-11-28T00:53:07+00:00</updated>
<author>
<name>Matt Della</name>
<email>mrdella94@gmail.com</email>
</author>
<published>2019-11-28T00:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=a7404e109643bffb77cb63b6f22fc5d46a7cead2'/>
<id>a7404e109643bffb77cb63b6f22fc5d46a7cead2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix, clean up and sync docs and completions</title>
<updated>2019-09-12T20:33:24+00:00</updated>
<author>
<name>Olegs Jeremejevs</name>
<email>olegs@jeremejevs.com</email>
</author>
<published>2019-09-12T15:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=426e1ce93d1344414bd3fa0eb7cd50d7ca9ec075'/>
<id>426e1ce93d1344414bd3fa0eb7cd50d7ca9ec075</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds option to show indicator even if idle</title>
<updated>2019-08-04T06:15:49+00:00</updated>
<author>
<name>Alexander Martin</name>
<email>10480820+afmartin@users.noreply.github.com</email>
</author>
<published>2019-08-04T01:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=666ae950bc9c58b2676724e0d614f9018100fcca'/>
<id>666ae950bc9c58b2676724e0d614f9018100fcca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
