mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 500897 - Window resizer is not drawn correctly on some themes. r+sr=roc
This commit is contained in:
parent
c9d578ace8
commit
391eac00ac
@ -2130,15 +2130,15 @@ moz_gtk_resizer_paint(GdkDrawable* drawable, GdkRectangle* rect,
|
|||||||
GtkStyle* style;
|
GtkStyle* style;
|
||||||
GtkStateType state_type = ConvertGtkState(state);
|
GtkStateType state_type = ConvertGtkState(state);
|
||||||
|
|
||||||
ensure_window_widget();
|
ensure_frame_widget();
|
||||||
gtk_widget_set_direction(gProtoWindow, direction);
|
gtk_widget_set_direction(gStatusbarWidget, direction);
|
||||||
|
|
||||||
style = gProtoWindow->style;
|
style = gStatusbarWidget->style;
|
||||||
|
|
||||||
TSOffsetStyleGCs(style, rect->x, rect->y);
|
TSOffsetStyleGCs(style, rect->x, rect->y);
|
||||||
|
|
||||||
gtk_paint_resize_grip(style, drawable, state_type, cliprect, gProtoWindow,
|
gtk_paint_resize_grip(style, drawable, state_type, cliprect, gStatusbarWidget,
|
||||||
NULL, (direction == GTK_TEXT_DIR_LTR) ?
|
"statusbar", (direction == GTK_TEXT_DIR_LTR) ?
|
||||||
GDK_WINDOW_EDGE_SOUTH_EAST :
|
GDK_WINDOW_EDGE_SOUTH_EAST :
|
||||||
GDK_WINDOW_EDGE_SOUTH_WEST,
|
GDK_WINDOW_EDGE_SOUTH_WEST,
|
||||||
rect->x, rect->y, rect->width, rect->height);
|
rect->x, rect->y, rect->width, rect->height);
|
||||||
|
Loading…
Reference in New Issue
Block a user