| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Otherwise width and height are swapped.
https://bugzilla.gnome.org/show_bug.cgi?id=725722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GetSystemMetrics() function returns wrong values for SM_CXSIZEFRAME,
SM_CYSIZEFRAME, SM_CXFIXEDFRAME and SM_CYFIXEDFRAME when built with Visual
Studio 2012 and 2013 (unless the XP compatibility setting for the
PlatformToolset entry is turned on), causing the window of Clutter programs
to automatically shrink to a point where they become unusable.
This patch uses AdjustWindowRectEx() for builds using Visual Studio 2012
and later, which deduces the required height and width of the Window
properly. Unfortunately we can't use this for the VS 2008/2010 builds as
they cause the Window to continually expand as the program is run.
https://bugzilla.gnome.org/show_bug.cgi?id=725873
|
|
|
|
|
|
|
|
|
|
| |
Currently we where checking whether the damage_history list contains
more or equal then buffer_age entries. This is wrong because we prepend
our current clip to the list just before the check.
Fix that to check whether we have more entries instead of more or equal.
https://bugzilla.gnome.org/show_bug.cgi?id=724788
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The internal delete_text() implementation takes a start and an end
position, whereas the public delete_chars() method takes a number of
characters to delete starting from the current cursor position.
(cherry picked from commit 0dc4986f666edb067f43f328756df9103d840086)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
| |
abcf1d589f29ba7914d5648bb9814ad26c13cd83 introduced a crasher because
the 'point' variable points to a piece of memory that is being
reallocated by the begin_gesture (by a g_array_set_size) call 5 lines
before.
https://bugzilla.gnome.org/show_bug.cgi?id=710227
(cherry picked from commit 97724939c8de004d7fa230f3ff64862d957f93a9)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
|
|
|
|
|
| |
Currently, if an actor with an empty paint volume is queued for redraw, it
will union in the box +0+0x1x1 to the stage clip bounds - avoid that
by special casing empty paint volumes.
https://bugzilla.gnome.org/show_bug.cgi?id=719747
(cherry picked from commit a2551dfa602f938b168fdf23fb4d2fcef4f1d892)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Since the journal is flushed on context switches, trying to use a cached
buffer means that we will use glReadPixels when picking, which isn't what
we want. Instead, always use a clipped draw, and remove the logic for
caching the pick buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=712563
(cherry picked from commit a427c120c239a471024375277d5e03e9b8863835)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=712563
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
| |
|
|
|
|
|
|
|
|
| |
text
https://bugzilla.gnome.org/show_bug.cgi?id=722220
(cherry picked from commit cadbeceff0a729cdeafd84db237ed44ad782e820)
Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
|
|
|
|
|
|
|
|
| |
text
https://bugzilla.gnome.org/show_bug.cgi?id=722220
(cherry picked from commit bbc7d20f5ecff80f4000557b976e3153f6286252)
Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=722188
|
| |
|
|
|
|
|
|
|
| |
If the clip region includes the entire stage, ignore it - we aren't
actually clipped.
https://bugzilla.gnome.org/show_bug.cgi?id=719901
|
|
|
|
|
|
|
|
| |
Dispose() may be called more than once, so calling g_free directly
on the device name is unsafe. Instead, use g_clear_pointer() to
make sure we don't attempt to free the memory again.
https://bugzilla.gnome.org/show_bug.cgi?id=719563
|
|
|
|
|
|
|
|
|
|
|
| |
When support for implicit animation of actor position was added,
the optimization for not queueing when allocating an actor back
to the same location was lost. This optimization is important
since when we are hierarchically allocating down from the top of
the stage we constantly reallocate the actors at the top of the
hierarchy back to the same place.
https://bugzilla.gnome.org/show_bug.cgi?id=719368
|
|
|
|
|
|
|
|
|
|
|
| |
When the source actor potentially changes size, that shouldn't
necessarily result in the target actor being redrawn - it should
be like when a child of a container is reallocated due to changes
in its siblings or parent - it should redraw only to the extent
that it is moved and resized. Privately export an internal function
from clutter-actor.c to allow getting this right.
https://bugzilla.gnome.org/show_bug.cgi?id=719367
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
XFixesShowCursor / XFixesHideCursor does not actually take the suppled
window argument into account -- the effect is actually global. Use
XDefineCursor instead.
https://bugzilla.gnome.org/show_bug.cgi?id=707071
|
|
|
|
|
| |
The X server can sometimes send us coordinates in the negatives or above
our window in extreme cases. Ensure that the user never sees this.
|
|
|
|
| |
The coordinates we pass into translate_axes are already scaled.
|
|
|
|
|
| |
Otherwise it would prevent potential subclasses of ClutterInterval from
having own scriptable properties.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows the creation of ClutterTransition objects in ClutterScript:
{
"id" : "scripted-transition",
"type" : "ClutterPropertyTransition",
"property-name" : "background-color",
"interval" : {
"type" : "ClutterInterval",
"value-type" : "ClutterColor",
"initial" : "red",
"final" : "blue"
}
}
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Destroying an actor is supposed to destroy all of its children, so
it makes sense to reason that destroying the stage should destroy all
of its children, too.
Unfortunately, it seems that the stage removed all of its children
without destroying them before chaining up to what would destroy all
of its children, for whatever reason. Change this to a destroy so
resources get cleaned up.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=709762
|
|
|
|
|
|
|
|
|
| |
This will allow clutter Wayland clients to either not draw any pointer
cursor or draw its own.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=709590
|
| |
|
|
|
|
|
|
| |
ClutterTextureNode will do that for us when converting the ClutterColor
to a CoglColor, so we can simply pass a white color with the correct
alpha channel.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=709761
|
| |
|
|
|
|
|
|
|
| |
It's too easy getting bitten by the ->device red herring, thinking
that it's the original input device the event originated from.
https://bugzilla.gnome.org/show_bug.cgi?id=709620
|
|
|
|
|
|
| |
It's a flags property, not an enum one.
https://bugzilla.gnome.org/show_bug.cgi?id=708922
|
|
|
|
|
|
|
| |
This is what we already do in the actual size requests, it makes
sense to do the same in the space calculations.
https://bugzilla.gnome.org/show_bug.cgi?id=709434
|
|
|
|
|
|
|
|
| |
The calculation (n - 1) * spacing to compute the total spacing is
only correct for n >= 1 - if there are no visible rows/cols, the
required spacing is 0 rather than negative.
https://bugzilla.gnome.org/show_bug.cgi?id=709434
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=708850
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The range of a device could be 0, so we need to bail out from the
scaling during the axis translation.
https://bugzilla.gnome.org/show_bug.cgi?id=707033
|
| |
|
| |
|
| |
|