mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
Do not check if the ClutterStageGlx parent paint vfunc is set: we
set it ourselves.
This commit is contained in:
parent
464f24fdc0
commit
898f84c9c7
@ -1,3 +1,9 @@
|
|||||||
|
2007-03-27 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/glx/clutter-stage-glx.c: Remove the check in the
|
||||||
|
paint chain up: we know for sure that the parent's paint
|
||||||
|
vfunc is present.
|
||||||
|
|
||||||
2007-03-27 Matthew Allum <mallum@openedhand.com>
|
2007-03-27 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-feature.c:
|
* clutter/clutter-feature.c:
|
||||||
|
@ -311,9 +311,7 @@ clutter_stage_glx_paint (ClutterActor *self)
|
|||||||
glDisable (GL_LIGHTING);
|
glDisable (GL_LIGHTING);
|
||||||
glDisable (GL_DEPTH_TEST);
|
glDisable (GL_DEPTH_TEST);
|
||||||
|
|
||||||
/* FIXME Check is redundant */
|
/* chain up to reach ClutterGroup->paint here */
|
||||||
if (G_LIKELY(CLUTTER_ACTOR_CLASS (clutter_stage_glx_parent_class)->paint))
|
|
||||||
/* Basically call up to ClutterGroup paint here */
|
|
||||||
CLUTTER_ACTOR_CLASS (clutter_stage_glx_parent_class)->paint (self);
|
CLUTTER_ACTOR_CLASS (clutter_stage_glx_parent_class)->paint (self);
|
||||||
|
|
||||||
/* Why this paint is done in backend as likely GL windowing system
|
/* Why this paint is done in backend as likely GL windowing system
|
||||||
@ -442,7 +440,7 @@ clutter_stage_glx_set_cursor_visible (ClutterStage *stage,
|
|||||||
if (stage_glx->xwin == None)
|
if (stage_glx->xwin == None)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CLUTTER_NOTE (MISC, "setting cursor state (%s) over stage window (%u)",
|
CLUTTER_NOTE (MISC, "setting cursor state ('%s') over stage window (%u)",
|
||||||
show_cursor ? "visible" : "invisible",
|
show_cursor ? "visible" : "invisible",
|
||||||
(unsigned int) stage_glx->xwin);
|
(unsigned int) stage_glx->xwin);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user