| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Added support for Mir, now clutter can natively draw on MirSurfaces.
This depends on latest cogl git.
Run your clutter apps using COGL_BACKEND=mir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For a variety of complicated reasons, ClutterText currently sets fields
on the PangoContext when creating a layout. This causes ClutterText to
behave somewhat erratically in certain cases, since the PangoContext is
currently shared between all actors.
GTK+ creates a PangoContext for every single GtkWidget, so it seems like
we should do the same here.
Move the private code that was previously in clutter-main.c into
clutter-actor.c and clean it up a bit. This gives every actor its own
PangoContext it can mutilate whenever it wants, at its heart's content.
https://bugzilla.gnome.org/show_bug.cgi?id=739050
|
|
|
|
|
|
|
|
| |
clutter_set_font_flags already calls clutter_backend_set_font_options,
which emits a signal which our PangoContext listens to, so this is just
duplicate and unneeded code.
https://bugzilla.gnome.org/show_bug.cgi?id=739050
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libinput_suspend() will trigger the removal of input devices, but also
the emission of button/key releases pairing everything that is pressed
at that moment. These events are queued, but the ClutterInputDevice
pointers in these will point to invalid memory at the time these are
processed.
Fix this by flushing the event queue, in order to ensure there are no
unprocessed input events after libinput_suspend().
https://bugzilla.gnome.org/show_bug.cgi?id=738520
|
| |
|
|
|
|
|
| |
Change the URLs for mailing lists and documentation, and re-align the
output.
|
| |
|
| |
|
|
|
|
|
|
|
| |
We shouldn't be using "pt": PangoFontDescription.from_string() assumes
points, and only accepts "px" for absolute font sizes.
https://bugzilla.gnome.org/show_bug.cgi?id=736826
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The Returns: stanza is missing.
|
| |
|
|
|
|
|
| |
The API is public because we use it in the test suite, but it's not
documented.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just like unmapped children.
Apparently, layers above Clutter allow mapped children without an
allocation, instead of unmapping them. This means we need to ignore
them when computing the paint volume.
Patch originally by: Adel Gadllah <adel.gadllah@gmail.com>
Signed-off by: Emmanuele Bassi <ebassi@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=736682
|
|
|
|
|
| |
We already check for needs_allocation before getting the default paint
volume, but explicit is better than implicit.
|
| |
|
|
|
|
|
|
|
|
| |
To support sub-pixel motion events coming from relative events, the
fraction part needs to be stored in the input device state as well. To
do this, simply change the current type from gint to gfloat.
https://bugzilla.gnome.org/show_bug.cgi?id=736413
|
|
|
|
|
|
|
|
|
|
|
|
| |
If gtk_init is called after clutter_init, it can override clutter
AtkUtil implementation. In that situation, we can't say that
the accessibility is enabled, as the root object would be wrong.
In order to provide a way to prevent this:
* clutter_get_accessibility_enabled returns true of false
depending on the current AtkUtil implemented
* cally_accessibility_init always override AtkUtil implementation.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=734480
|
|
|
|
|
|
| |
So that we follow GDK's idea of a scaling factor for Clutter.
https://bugzilla.gnome.org/show_bug.cgi?id=734480
|
|
|
|
|
|
|
|
|
| |
The get_threshold_tigger_egde() method was renamed to fix the typo, but
it obviously broke the ABI. To be fair, nobody in the whole of Debian
was using the symbol, apparently, so it's not like we broke existing
code. Still, it's not nice to break ABI without bumping soname, so let's
put the old symbol back in — obviously, deprecated — as a wrapper to the
newly added one.
|
|
|
|
|
|
|
|
|
|
| |
The TestEnvironment key allows us to control the environment used by the
gnome-desktop-testing-runner harness.
We use it to disable the diagnostic messages without having to tweak the
Exec line.
https://bugzilla.gnome.org/show_bug.cgi?id=734115
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If the device manager is created and queried for the client pointer at
a very early stage in application lifetime, the device_id returned would
be 0 as the server hasn't apparently decided yet about the client pointer.
For these situations, doing XSync prior to fetching the client pointer
gets the server to device about the client pointer before we query it.
https://bugzilla.gnome.org/show_bug.cgi?id=735388
|
|
|
|
|
|
|
|
|
|
|
| |
When an application sets the scaling factor manually we should mark it as fixed
and not override it when the xsettings change. This matches GDKs behaviour.
In order for this to work we cannot use the same path when setting the value
internally so introduce a _clutter_settings_set_property_internal and use it
for that.
https://bugzilla.gnome.org/show_bug.cgi?id=735244
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Both backends are built via CI and used by GNOME, so they should not be
considered experimental any more.
|
|
|
|
|
|
|
|
|
| |
We need to release the temporary reference we acquired in order for the
signal emission to work.
https://bugzilla.gnome.org/show_bug.cgi?id=734761
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=734935
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=734934
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 398a7ac71333208e31d67f3ce50514fab58ba1bb.
We cannot really use the GDK backend without massive regressions inside
the input layer, like touch events and gestures. The GDK backend is not
entirely up to scratch, and it's late in the cycle.
Let's land this early in 3.15, and get it up to par with X11.
|
|
|
|
| |
A remnant of days gone by.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quite a few people at Guadec complained of pinpoint being broken in
speaker+fullscreen mode, with slides being half displayed. It turns
out that the X11 backend of clutter was being used and this backend
assumes the size of the current monitor is the size of the X screen
(that's not the case with multiple monitors).
To work around the shortcomings of the X11 backend we should probably
position the GDK one before. GDK implements most of the logic the
ClutterStage needs and is probably more tested.
https://bugzilla.gnome.org/show_bug.cgi?id=734587
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=733202
|
|
|
|
|
|
|
|
| |
To get correct premultiplied opacity on a canvas content, white needs
to be assigned to the color that is passed to the texture node. The
content will be very dark for lower opacity values otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=733385
|
| |
|
| |
|
|
|
|
|
| |
The porting to the ::after-paint signal was missing the boolean flag
passed as a user data.
|
|
|
|
|
|
|
| |
When the sequence is lifted the actor wouldn't be unset, so the corresponding
CLUTTER_LEAVE event would never be sent for the touch sequence.
https://bugzilla.gnome.org/show_bug.cgi?id=733560
|