<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/src, branch document-button-values</title>
<subtitle>gitlab.gnome.org: GNOME/mutter.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/'/>
<entry>
<title>Document button values in the RemoteDesktop api</title>
<updated>2021-05-01T00:40:21+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2021-05-01T00:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=320866c10be44973df64b45c050fab5bd3f052b1'/>
<id>320866c10be44973df64b45c050fab5bd3f052b1</id>
<content type='text'>
I spent some time trying to pass X11 button values
and was a bit miffed that it didn't work. So lets
document the expected values to minimize future
frustation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I spent some time trying to pass X11 button values
and was a bit miffed that it didn't work. So lets
document the expected values to minimize future
frustation.
</pre>
</div>
</content>
</entry>
<entry>
<title>xwayland: Check permissions on /tmp/.X11-unix</title>
<updated>2021-03-18T16:43:02+00:00</updated>
<author>
<name>Olivier Fourdan</name>
<email>ofourdan@redhat.com</email>
</author>
<published>2021-03-18T08:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=1f1bf4cd9d1c8a18c7ae1dd7f5e69be32546fa7c'/>
<id>1f1bf4cd9d1c8a18c7ae1dd7f5e69be32546fa7c</id>
<content type='text'>
For Xwayland, mutter creates the sockets in the standard /tmp/.X11-unix
directory.

Yet, if that directory already exists, it may have been created by
another user with full control over the created socket.

To avoid that issue, if the directory /tmp/.X11-unix already exists,
check that the permissions are as we expect, i.e. the directory belongs
to either root or the user herself, is writable and has the sticky bit.

Thanks to fabian@ritter-vogt.de for reporting that issue.

https://gitlab.gnome.org/GNOME/mutter/-/issues/1708

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1787&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Xwayland, mutter creates the sockets in the standard /tmp/.X11-unix
directory.

Yet, if that directory already exists, it may have been created by
another user with full control over the created socket.

To avoid that issue, if the directory /tmp/.X11-unix already exists,
check that the permissions are as we expect, i.e. the directory belongs
to either root or the user herself, is writable and has the sticky bit.

Thanks to fabian@ritter-vogt.de for reporting that issue.

https://gitlab.gnome.org/GNOME/mutter/-/issues/1708

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1787&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xwayland: Use defines for X11 directory and path</title>
<updated>2021-03-18T16:43:02+00:00</updated>
<author>
<name>Olivier Fourdan</name>
<email>ofourdan@redhat.com</email>
</author>
<published>2021-03-18T09:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=7b5e8550322ef4ab901f1bea8933dec239d8f8ce'/>
<id>7b5e8550322ef4ab901f1bea8933dec239d8f8ce</id>
<content type='text'>
Rather than repeating the same strings for X11 directory and path all
around the code, use a define.

No functional change.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1787&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than repeating the same strings for X11 directory and path all
around the code, use a define.

No functional change.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1787&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wayland/surface: Do not free placement ops of cached state</title>
<updated>2021-03-15T12:49:45+00:00</updated>
<author>
<name>Robert Mader</name>
<email>robert.mader@posteo.de</email>
</author>
<published>2021-03-14T01:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=2ef6490323d143e99af2091f635c70aeded7c1d4'/>
<id>2ef6490323d143e99af2091f635c70aeded7c1d4</id>
<content type='text'>
The list gets freed in `meta_wayland_surface_state_clear()`
if the pointer is still set.

Fixes ba8499f9ec0ca017f11bcc8e50e66302b2f73aa7

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1783&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The list gets freed in `meta_wayland_surface_state_clear()`
if the pointer is still set.

Fixes ba8499f9ec0ca017f11bcc8e50e66302b2f73aa7

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1783&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wayland/subsurface: Move placement ops to the parents pending state</title>
<updated>2021-03-13T23:38:18+00:00</updated>
<author>
<name>Robert Mader</name>
<email>robert.mader@posteo.de</email>
</author>
<published>2021-03-09T21:24:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=ba8499f9ec0ca017f11bcc8e50e66302b2f73aa7'/>
<id>ba8499f9ec0ca017f11bcc8e50e66302b2f73aa7</id>
<content type='text'>
Unlike other subsurface state, placement operations need to get
applied in order. As per spec:

```
Requests are handled in order and applied immediately to a pending
state. The final pending state is copied to the active state the
next time the state of the parent surface is applied.
```

Having placement operations being part of the subsurface state
makes it difficult to support arbitrary orderings. Make them
part of the parents surface pending state instead.

Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/1691

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1768&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike other subsurface state, placement operations need to get
applied in order. As per spec:

```
Requests are handled in order and applied immediately to a pending
state. The final pending state is copied to the active state the
next time the state of the parent surface is applied.
```

Having placement operations being part of the subsurface state
makes it difficult to support arbitrary orderings. Make them
part of the parents surface pending state instead.

Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/1691

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1768&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Expose hooks to manage context with more granularity</title>
<updated>2021-03-13T18:56:21+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-12T07:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=12f2fcd3325ec20f9f99e75bad69272ba5aadab1'/>
<id>12f2fcd3325ec20f9f99e75bad69272ba5aadab1</id>
<content type='text'>
This is to allow gnome-shell to tear down more gracefully. It's a stop
gap solution until there is a better context handling system, but will
have to do for now.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to allow gnome-shell to tear down more gracefully. It's a stop
gap solution until there is a better context handling system, but will
have to do for now.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backend: Destroy stage when destroying backend</title>
<updated>2021-03-13T18:56:21+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-12T07:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=c3aa32987a15ba22709cf9b34fa3480af14b354b'/>
<id>c3aa32987a15ba22709cf9b34fa3480af14b354b</id>
<content type='text'>
Otherwise we leak it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we leak it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backend: Destroy backend explicitly</title>
<updated>2021-03-13T18:56:21+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-12T07:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=c5f699b8b3b668b2a090201012745ac1fad39be4'/>
<id>c5f699b8b3b668b2a090201012745ac1fad39be4</id>
<content type='text'>
This now ensures that calling meta_release_backend() destroys the
backend.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This now ensures that calling meta_release_backend() destroys the
backend.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backend: Destroy clutter backend explicitly</title>
<updated>2021-03-13T18:56:21+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-12T07:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=c1810d6947aa8d518d8ce94eb7e43f1e777e99fa'/>
<id>c1810d6947aa8d518d8ce94eb7e43f1e777e99fa</id>
<content type='text'>
Instead of relying on reference counting, destroy it with a destroy
function that calls run_dispose() on before removing a reference.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of relying on reference counting, destroy it with a destroy
function that calls run_dispose() on before removing a reference.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backend: Destroy seat explicitly</title>
<updated>2021-03-13T18:56:21+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-12T07:34:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=ab600cafd270897340147e1ab22596fd4133da08'/>
<id>ab600cafd270897340147e1ab22596fd4133da08</id>
<content type='text'>
Don't let any dangling pointer keeping it alive.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't let any dangling pointer keeping it alive.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775&gt;
</pre>
</div>
</content>
</entry>
</feed>
