Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
330ce648d3 | ||
![]() |
0c0973bbd8 | ||
![]() |
a967d479c5 | ||
![]() |
9707c1061d | ||
![]() |
29cb77ce70 | ||
![]() |
f93fa1d705 |
11
NEWS
11
NEWS
@@ -1,3 +1,14 @@
|
||||
3.12.1
|
||||
======
|
||||
* Fix opacity values from _NET_WM_WINDOW_OPACITY [Nirbheek; #727874]
|
||||
* Misc. cleanups [Jasper; #720631]
|
||||
|
||||
Contributors:
|
||||
Nirbheek Chauhan, Jasper St. Pierre
|
||||
|
||||
Translations:
|
||||
Inaki Larranaga Murgoitio [eu], marablack3 [el]
|
||||
|
||||
3.12.0
|
||||
======
|
||||
|
||||
|
@@ -3,7 +3,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
m4_define([mutter_major_version], [3])
|
||||
m4_define([mutter_minor_version], [12])
|
||||
m4_define([mutter_micro_version], [0])
|
||||
m4_define([mutter_micro_version], [1])
|
||||
|
||||
m4_define([mutter_version],
|
||||
[mutter_major_version.mutter_minor_version.mutter_micro_version])
|
||||
|
@@ -968,27 +968,6 @@ is_frozen (MetaWindowActor *self)
|
||||
return self->priv->freeze_count ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
meta_window_actor_queue_create_pixmap (MetaWindowActor *self)
|
||||
{
|
||||
MetaWindowActorPrivate *priv = self->priv;
|
||||
|
||||
priv->needs_pixmap = TRUE;
|
||||
|
||||
if (is_frozen (self))
|
||||
return;
|
||||
|
||||
/* This will cause the compositor paint function to be run
|
||||
* if the actor is visible or a clone of the actor is visible.
|
||||
* if the actor isn't visible in any way, then we don't
|
||||
* need to repair the window anyways, and can wait until
|
||||
* the stage is redrawn for some other reason
|
||||
*
|
||||
* The compositor paint function repairs all windows.
|
||||
*/
|
||||
clutter_actor_queue_redraw (priv->actor);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
is_freeze_thaw_effect (gulong event)
|
||||
{
|
||||
@@ -1172,7 +1151,7 @@ meta_window_actor_detach (MetaWindowActor *self)
|
||||
XFreePixmap (xdisplay, priv->back_pixmap);
|
||||
priv->back_pixmap = None;
|
||||
|
||||
meta_window_actor_queue_create_pixmap (self);
|
||||
priv->needs_pixmap = TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
@@ -1311,7 +1290,7 @@ meta_window_actor_sync_actor_geometry (MetaWindowActor *self,
|
||||
|
||||
if (priv->size_changed)
|
||||
{
|
||||
meta_window_actor_queue_create_pixmap (self);
|
||||
priv->needs_pixmap = TRUE;
|
||||
meta_window_actor_update_shape (self);
|
||||
}
|
||||
|
||||
@@ -1484,7 +1463,7 @@ meta_window_actor_new (MetaWindow *window)
|
||||
priv->last_width = -1;
|
||||
priv->last_height = -1;
|
||||
|
||||
meta_window_actor_queue_create_pixmap (self);
|
||||
priv->needs_pixmap = TRUE;
|
||||
|
||||
meta_window_actor_set_updates_frozen (self,
|
||||
meta_window_updates_are_frozen (priv->window));
|
||||
|
@@ -1714,12 +1714,12 @@ reload_window_opacity (MetaWindow *window,
|
||||
gboolean initial)
|
||||
|
||||
{
|
||||
int requested_value = 0xFF;
|
||||
guint8 opacity = 0xFF;
|
||||
|
||||
if (value->type != META_PROP_VALUE_INVALID)
|
||||
requested_value = (int) value->v.cardinal;
|
||||
opacity = (guint8)((gfloat)value->v.cardinal * 255.0 / ((gfloat)0xffffffff));
|
||||
|
||||
meta_window_set_opacity (window, requested_value);
|
||||
meta_window_set_opacity (window, opacity);
|
||||
}
|
||||
|
||||
#define RELOAD_STRING(var_name, propname) \
|
||||
|
Reference in New Issue
Block a user