gnome-shell/src/st
Owen W. Taylor 524e2ca8e2 [StScrollBar] avoid queueing a relayout during allocation
When an StScrollView is allocated, allocating the child would
cause the adjustment values to change, which would result in
the scrollbars queueing a relayout, which isn't allowed during
allocation.

To avoid this, instead of queueing a relayout when the adjustment
changes:

 - When we have a valid allocation already, just go ahead
   and reallocate the children.
 - Otherwise do nothing immediately and wait until we get allocated

Because the 'needs_allocation' flag in ClutterActor isn't exposed,
this requires some slightly ugly code to shadow that state locally.

https://bugzilla.gnome.org/show_bug.cgi?id=611944
2010-03-11 15:08:48 -05:00
..
st-adjustment.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-adjustment.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-bin.c [St] Make allocation handling more consistent 2010-02-16 14:06:39 -05:00
st-bin.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-border-image.c Rename StThemeImage to StBorderImage 2009-10-01 14:41:19 -04:00
st-border-image.h Rename StThemeImage to StBorderImage 2009-10-01 14:41:19 -04:00
st-box-layout-child.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-box-layout-child.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-box-layout.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
st-box-layout.h [St] Add st_box_layout_move_child and st_box_layout_insert_actor 2010-01-13 15:13:20 -05:00
st-button.c Remove st_widget accessors for background and border actors 2010-03-08 16:28:34 -05:00
st-button.h Remove st_widget accessors for background and border actors 2010-03-08 16:28:34 -05:00
st-clickable.c Import ShellButtonBox as StClickable 2009-11-23 14:33:48 -05:00
st-clickable.h Import ShellButtonBox as StClickable 2009-11-23 14:33:48 -05:00
st-clipboard.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-clipboard.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-drawing-area.c Rework StDrawingArea not to use ClutterCairoTexture 2010-03-11 15:08:48 -05:00
st-drawing-area.h Rework StDrawingArea not to use ClutterCairoTexture 2010-03-11 15:08:48 -05:00
st-entry.c Add hover style property 2010-03-08 19:33:12 +01:00
st-entry.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-enum-types.c.in Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-enum-types.h.in Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-im-text.c Use GtkIMContext instead of ClutterIMContext 2009-10-06 14:48:32 -04:00
st-im-text.h Use GtkIMContext instead of ClutterIMContext 2009-10-06 14:48:32 -04:00
st-label.c [St] Implement text-decoration: [underline|strikethrough] 2009-12-18 11:20:05 -05:00
st-label.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-marshal.list Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-overflow-box.c [St] share common ClutterContainer implementation code 2010-03-04 15:41:25 -05:00
st-overflow-box.h [StOverflowBox] Vertical box which skips painting underallocated children 2009-12-18 10:01:36 -05:00
st-private.c [St] share common ClutterContainer implementation code 2010-03-04 15:41:25 -05:00
st-private.h [St] share common ClutterContainer implementation code 2010-03-04 15:41:25 -05:00
st-scroll-bar.c [StScrollBar] avoid queueing a relayout during allocation 2010-03-11 15:08:48 -05:00
st-scroll-bar.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-scroll-view.c Fix problems on destruction 2010-03-02 16:37:05 -05:00
st-scroll-view.h Add top and bottom shadows to app browser 2010-02-23 01:12:13 +03:00
st-scrollable.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-scrollable.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-shadow-texture.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
st-shadow-texture.h Implement -st-shadow for StWidget 2010-01-05 21:48:09 +01:00
st-shadow.c Implement -st-shadow for StWidget 2010-01-05 21:48:09 +01:00
st-shadow.h Implement -st-shadow for StWidget 2010-01-05 21:48:09 +01:00
st-subtexture.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
st-subtexture.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-table-child.c [StTable] fix x-align/y-align properties to be StAlign, not double 2010-02-16 14:06:39 -05:00
st-table-child.h [StTable] fix x-align/y-align properties to be StAlign, not double 2010-02-16 14:06:39 -05:00
st-table-private.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
st-table.c [St] share common ClutterContainer implementation code 2010-03-04 15:41:25 -05:00
st-table.h Port StTable to StThemeNode 2009-10-01 14:46:33 -04:00
st-texture-cache.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
st-texture-cache.h Add st_texture_cache_load 2010-03-08 15:50:59 -05:00
st-texture-frame.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-texture-frame.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-theme-context.c Add support for inline styles 2009-10-01 14:41:18 -04:00
st-theme-context.h Import stylesheet code from hippo-canvas 2009-10-01 14:41:18 -04:00
st-theme-node.c Add get_horizontal/vertical_padding() methods 2010-03-11 18:04:37 +01:00
st-theme-node.h Add get_horizontal/vertical_padding() methods 2010-03-11 18:04:37 +01:00
st-theme-private.h Work around libcroco < 0.6.2 parsing bug for 'rgba' 2009-10-05 16:25:38 -04:00
st-theme.c Add functions to dynamically load/unload stylesheets 2009-12-01 15:00:56 -05:00
st-theme.h Add functions to dynamically load/unload stylesheets 2009-12-01 15:00:56 -05:00
st-tooltip.c Remove st_widget accessors for background and border actors 2010-03-08 16:28:34 -05:00
st-tooltip.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-types.h [StScrollView] Add support for GtkPolicyType for scrollbars 2010-02-19 15:37:40 -05:00
st-widget.c st_widget_get_theme_node: g_error if called on an unparented widget 2010-03-10 09:29:48 -05:00
st-widget.h Remove st_widget accessors for background and border actors 2010-03-08 16:28:34 -05:00
test-theme.c StThemeNode: Add border-radius support 2009-10-01 14:41:18 -04:00
test-theme.css StThemeNode: Add border-radius support 2009-10-01 14:41:18 -04:00