mutter:wip/carlosg/avoid-app-updates-2

Last commit made on 2019-07-24
Get this branch:
git clone -b wip/carlosg/avoid-app-updates-2 https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/carlosg/avoid-app-updates-2
Repository:
lp:mutter

Recent commits

d7f799b... by Carlos Garnacho

core: Only trigger MetaWorkspace::window-* on toplevel window types

Popups and other override-redirect windows are irrelevant to all listeners
of MetaWorkspace::window-*. Ignoring those windows will namely result in
less activity on ShellWindowTracker, less ShellApp::windows-changed
signal emissions and less AppMenuButton updates.

Reduces gnome-shell CPU activity while typing on the Epiphany addressbar,
as the pop up animation there results in a number of xdg_popup being
created and destroyed.

https://gitlab.gnome.org/GNOME/mutter/issues/556

09bab98... by Carlos Garnacho

core: Avoid consecutive workspace changes in window construction

We first set the workspace to the transient-for parent's, and then
try to set on the current workspace. If both happen, we double the
work on adding/removing it from the workspace, and everything that
happens in result.

Should reduce some activity while typing on the Epiphany address
bar, as the animation results in a number of xdg_popup being created
and destroyed to handle the animation.

https://gitlab.gnome.org/GNOME/mutter/issues/556

aee8bfc... by Carlos Garnacho

core: Only notify on MetaWindow::user-time on actual changes

If the timestamp is the same, it doesn't make sense to update and we
don't do so. So it doesn't make sense to notify on the property either.

https://gitlab.gnome.org/GNOME/mutter/issues/556

9286818... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

build: Bump API version automatically each development cycle

Since the API version was added, we've bumped it at some point late-ish in
the cycle when enough changes had accumulated (but way after the first ABI
break). Automate that process by computing the API version automatically
from the project version:
With this commit, the new API version will be 5 for the remaining 3.33.x
releases and all 3.34.x stable versions; 3.35.1 will then bump it to 6 and
so forth.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/696

08a3cbf... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

clutter: Force an allocation on clone source if necessary

Since commit 0eab73dc, actors are only allocated when they are actually
visible. While this generally works well, it breaks - because of *course*
it does - ClutterClones when the clone source (or any of its ancestors)
is hidden.

Force an allocation in that case to allow the clone's paint to work as
intended.

https://gitlab.gnome.org/GNOME/mutter/issues/683

59fb26c... by Iain Lane <email address hidden>

cogl/tests: Only install run-tests.sh when building installed tests

This is a script for installed tests; leave it out otherwise.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/694

87c734c... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

cleanup: Really stop using G_TYPE_INSTANCE_GET_PRIVATE()

Commit 4259cfd4c6 missed some occurences, move those to the generated
get_instance_private() functions as well.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/691

c755fb6... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

clutter-tests: Fix macro definitions

FOO_OBJECT() macros should cast to the corresponding instance type,
not the class.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/691

e9cc220... by markb

x11: Remove benign warning for older X clients

The default configuration of libinput-gestures utility invokes wmctrl to
switch between desktops. It uses wmctrl because this works on both Xorg
and Wayland (via XWayland). Unfortunately, this generates the following
warning message every time, in both Xorg and Wayland desktops:

"Received a NET_CURRENT_DESKTOP message from a broken (outdated) client
who sent a 0 timestamp"

The desktop switch still works fine. The tiny code change here removes
this specific warning because, as the prefacing code comment originally
said and still says, older clients can validly pass a 0 time value so
why complain about that?

I also refactored the "if (workspace)" code slightly to avoid the double
test of the workspace value.

This is submitted for MR
https://gitlab.gnome.org/GNOME/mutter/merge_requests/671.

92f2100... by Rafael Fontenelle

Update Brazilian Portuguese translation