<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/src/core/stack-tracker.c, branch main</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>compositor: Don't make internal API public</title>
<updated>2022-12-17T14:13:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2022-09-07T15:45:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=4b3cab2ccad5a46e207184326abc260553176e65'/>
<id>4b3cab2ccad5a46e207184326abc260553176e65</id>
<content type='text'>
Things like meta_compositor_destroy() and meta_compositor_add_window()
isn't intended to be used externally, and if they was, things would
probably fall apart rather quickly.

MetaCompositor also isn't introspected, meaning things that technically
belong to the compositing parts isn't easily available via some object,
but much take detours via other objects like MetaDisplay.

So move the API intended for internal usage to compositor-private.h, and
leave API that is meant to be expose in the public compositor.h.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Things like meta_compositor_destroy() and meta_compositor_add_window()
isn't intended to be used externally, and if they was, things would
probably fall apart rather quickly.

MetaCompositor also isn't introspected, meaning things that technically
belong to the compositing parts isn't easily available via some object,
but much take detours via other objects like MetaDisplay.

So move the API intended for internal usage to compositor-private.h, and
leave API that is meant to be expose in the public compositor.h.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: Setup and use ownership chains</title>
<updated>2022-12-17T14:13:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2022-05-27T20:27:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=dd2beae6a86eedbfbd7aaceb638cc505da8338cf'/>
<id>dd2beae6a86eedbfbd7aaceb638cc505da8338cf</id>
<content type='text'>
As with other parts, make objects have the ability to walk up the
ownership chain to the context, to get things like the Wayland
compositor or backend instances.

Contains these squashed commits:

display: Don't get backend from singleton

window: Don't get backend from singleton

keybindings: Don't get backend from singleton

workspace: Don't get backend from singleton

display: Don't get Wayland compositor from singleton

selection: Add display getter

context/main: Get backend directly from the context

clipboard-manager: Don't get display from singleton

stack-tracker: Don't use singleton MetaLater API

startup-notification: Hook up sequences and activations to display

This allows using context aware API directly.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As with other parts, make objects have the ability to walk up the
ownership chain to the context, to get things like the Wayland
compositor or backend instances.

Contains these squashed commits:

display: Don't get backend from singleton

window: Don't get backend from singleton

keybindings: Don't get backend from singleton

workspace: Don't get backend from singleton

display: Don't get Wayland compositor from singleton

selection: Add display getter

context/main: Get backend directly from the context

clipboard-manager: Don't get display from singleton

stack-tracker: Don't use singleton MetaLater API

startup-notification: Hook up sequences and activations to display

This allows using context aware API directly.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>util: Remove push/pop no msg prefix logging</title>
<updated>2021-11-21T20:53:33+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-11-15T18:42:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=8c8bbb8008b90c6f6988072dddfb539731919723'/>
<id>8c8bbb8008b90c6f6988072dddfb539731919723</id>
<content type='text'>
Used to log multiple line entries. Just make continue prefix things, no
need to mess with maybe-prefixing; it'll just complicate using some less
custom logging functionality.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2094&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Used to log multiple line entries. Just make continue prefix things, no
need to mess with maybe-prefixing; it'll just complicate using some less
custom logging functionality.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2094&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>src: Stop using GSlice</title>
<updated>2021-02-22T12:52:27+00:00</updated>
<author>
<name>Robert Mader</name>
<email>robert.mader@posteo.de</email>
</author>
<published>2020-10-19T17:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=6eeeffdc680a41057da1ab4d1b75185dd48000db'/>
<id>6eeeffdc680a41057da1ab4d1b75185dd48000db</id>
<content type='text'>
It has been inofficially deprecated for years, is known to cause issues
with valgrind and potentially hides memory corruption.
Lets stop using it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1512&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has been inofficially deprecated for years, is known to cause issues
with valgrind and potentially hides memory corruption.
Lets stop using it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1512&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stack: Add some trace instrumentation</title>
<updated>2020-12-01T11:41:11+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2020-11-30T11:06:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=48a90e3a8623d0ae08067f56d3ee844a77352697'/>
<id>48a90e3a8623d0ae08067f56d3ee844a77352697</id>
<content type='text'>
The stack and stack tracker tend to cause missed frames from time to
time, especially when there are many open windows. Add some
instrumentation to make it this easily verifiable when profiling.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1616&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stack and stack tracker tend to cause missed frames from time to
time, especially when there are many open windows. Add some
instrumentation to make it this easily verifiable when profiling.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1616&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make meta_* logging utilities not require line break</title>
<updated>2020-10-08T14:38:41+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2020-10-02T15:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=313e3e771c2b54e9ee4d5b043ea866763cf2e85e'/>
<id>313e3e771c2b54e9ee4d5b043ea866763cf2e85e</id>
<content type='text'>
Unlike g_* logging utilities, the meta_* counterparts behave like odd
printf() functions. Lets change that so they fit better into how logging
is done everywhere else.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike g_* logging utilities, the meta_* counterparts behave like odd
printf() functions. Lets change that so they fit better into how logging
is done everywhere else.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
</pre>
</div>
</content>
</entry>
<entry>
<title>stack-tracker: Don't log warnings on race conditions</title>
<updated>2020-06-09T18:46:38+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2020-06-09T17:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=53f61f3778a41bb2e316e55eb7e6dd864b3dd573'/>
<id>53f61f3778a41bb2e316e55eb7e6dd864b3dd573</id>
<content type='text'>
X11 window stacking operations are by nature prone to race conditions.
For example, we might queue a "raise above" operation, but before it
actually takes place, the sibling the window was to be rased above, is
withdrawn.

In these cases we'd log warnings even though they are expected to
happen. Downgrade these warnings to debug messages, only printed when
MUTTER_VERBOSE is set.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
X11 window stacking operations are by nature prone to race conditions.
For example, we might queue a "raise above" operation, but before it
actually takes place, the sibling the window was to be rased above, is
withdrawn.

In these cases we'd log warnings even though they are expected to
happen. Downgrade these warnings to debug messages, only printed when
MUTTER_VERBOSE is set.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1300
</pre>
</div>
</content>
</entry>
<entry>
<title>stack-tracker: Fix coding style of meta_stack_op_apply()</title>
<updated>2020-06-09T18:46:38+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2020-06-09T17:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=74c0d9140c5ae5c0eb40220d46c480da1346b27a'/>
<id>74c0d9140c5ae5c0eb40220d46c480da1346b27a</id>
<content type='text'>
Change tabs to spaces, clean up variable declarations.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change tabs to spaces, clean up variable declarations.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1300
</pre>
</div>
</content>
</entry>
<entry>
<title>core: Split x11-display initialization in 2 signals</title>
<updated>2019-09-11T20:30:13+00:00</updated>
<author>
<name>Carlos Garnacho</name>
<email>carlosg@gnome.org</email>
</author>
<published>2019-09-11T20:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=850ef518795dcc20d3b9a4f661f70ff8d0ddacb2'/>
<id>850ef518795dcc20d3b9a4f661f70ff8d0ddacb2</id>
<content type='text'>
We have a "setup" phase, used internally to initialize early the x11
side of things like the stack tracker, and an "opened" phase where
other upper parts may hook up to. This latter phase is delayed during
initialization so the upper parts have a change to connect to on
plugin creation.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/771
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a "setup" phase, used internally to initialize early the x11
side of things like the stack tracker, and an "opened" phase where
other upper parts may hook up to. This latter phase is delayed during
initialization so the upper parts have a change to connect to on
plugin creation.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/771
</pre>
</div>
</content>
</entry>
<entry>
<title>core: Check X11 display availability before use in MetaStackTracker</title>
<updated>2019-08-26T17:39:10+00:00</updated>
<author>
<name>Carlos Garnacho</name>
<email>carlosg@gnome.org</email>
</author>
<published>2019-08-15T22:27:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=78232fa3ebe7a2703e3f95adca97cfb697a65f2c'/>
<id>78232fa3ebe7a2703e3f95adca97cfb697a65f2c</id>
<content type='text'>
This object can be generally triggered without a X11 display, so make sure
this is alright. For guard window checks, use our internal
meta_stack_tracker_is_guard_window() call, which is already no-x11 aware.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/730
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This object can be generally triggered without a X11 display, so make sure
this is alright. For guard window checks, use our internal
meta_stack_tracker_is_guard_window() call, which is already no-x11 aware.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/730
</pre>
</div>
</content>
</entry>
</feed>
