| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This was only living in gtkcontainer.c for historic
reasons. Move it closer to where it belongs, and
rename it from 'idle' to 'layout', since it is
really about the layout phase of the frame clock,
nowadays.
|
|
|
|
| |
Fold it into gtk_container_start_idle_sizer()
|
|
|
|
| |
It's the same as gtk_container_maybe_start_idle_sizer()
|
|
|
|
| |
The more general version of this code lives in gtkwidgetfocus.s now.
|
|
|
|
| |
Unused.
|
| |
|
| |
|
|
|
|
|
| |
It's equivalent to gtk_container_propagate_draw() and then one is
public, too.
|
|
|
|
| |
It's unused now.
|
|
|
|
|
|
|
|
|
| |
We now try to emulate cairo_t:
We keep a stack of nodes via push/pop and a transform matrix.
So whenever a new node is added to the snapshot, we transform it
by the current transform matrix and append it to the current node.
|
| |
|
|
|
|
|
| |
Add a function that propagates a render node for a single
child. This will be used in the box gadget to handle widgets.
|
|
|
|
|
|
|
|
| |
We cannot implement GtkWidgetClass.get_render_node() in GtkContainer
without breaking the fallback path that renders a widget to a single
render node rasterization. For GtkContainer subclasses we should provide
a simple API, similar to gtk_container_propagate_draw(), that gathers
all the render nodes for each child.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of
GtkContainer widgets requesting an IMMEDIATE resize-mode.
However, GtkWindow has been stomping on resize-mode during realize()
since commit addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination
of factors that led to this not being a visible problem during all this
while is uncertain, but this now causes the Shell to continuously try to
relayout its ShellEmbeddedWindow (a GtkWindow subclass).
This commit separates the resize-mode as set internally by GtkWindow
from the one set with the external API, so that GtkWindow only changes
it when it had not been set before by the subclass.
https://bugzilla.gnome.org/show_bug.cgi?id=763650
|
|
|
|
|
| |
Computing the clip for all children is something I want to do in other
places.
|
| |
|
|
|
|
| |
They were only used with geometry widgets.
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 3eacfa88f2d9c690a006de9cac1cd3c60901686c.
Apart from the patch not being correct, we don't want to expose private
structures in header files if we can avoid it.
And this type-checking overhead is not an optimization that is even
measurable.
https://bugzilla.gnome.org/show_bug.cgi?id=754932
|
| |
|
|
|
|
| |
Instead, reorder CSS nodes.
|
|
|
|
|
|
|
| |
This fixes an issue where the theme-provided border-width prevents
dialog contents from lining up properly with the headerbar. To make
this work in message dialogs, we have to explicitly set the border-
width of the action area to 0.
|
|
|
|
|
|
|
| |
This reverts commit 6e4567e73bceb66200b9605c51b4b5ad6e807483.
For some reason, this causes buttons in message dialogs to have an
unwanted border.
|
|
|
|
|
| |
This fixes an issue where the theme-provided border-width prevents
dialog contents from lining up properly with the headerbar.
|
|
|
|
|
|
| |
We need to disconnect the frame clock when we unrealize (at which
point the old clock is still alive) not in destroy(). Since there
is no common unrealize for containers, trigger this from GtkWidget.
|
|
|
|
|
|
|
| |
Add a ::layout signal to GdkFrameClock and use it instead of an idle
handler to drive the restyling and relayout of containers.
https://bugzilla.gnome.org/show_bug.cgi?id=685460
|
|
|
|
|
|
| |
Instead of using 1 global queue for both resizes and style validation,
use 2 queues. This makes the code a lot simpler and fixes a bug where we
could accidentally stop restylying for very delayed restyles.
|
| |
|
|
|
|
|
| |
GtkContainer::need_resize and GtkWidget::alloc_needed are the same
thing.
|
|
|
|
|
| |
- Ensure arrow button is always included
- Invalidate list when direction changes
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=651707
|