mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Replace ClutterGeometry with cairo_rectangle_int_t
We still use ClutterGeometry internally in a couple of places, but we should really move away from that flawed rectangle data type, and use the Cairo one. Sadly, we still have some public API that we cannot remove yet.
This commit is contained in:
parent
76e85f68ea
commit
4fe7a77302
@ -673,7 +673,7 @@ clutter_win32_get_stage_from_window (HWND hwnd)
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
ClutterStageWin32 *stage_win32;
|
ClutterStageWin32 *stage_win32;
|
||||||
ClutterGeometry geom;
|
cairo_rectangle_int_t geom;
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
guint destroy_old_hwnd : 1;
|
guint destroy_old_hwnd : 1;
|
||||||
} ForeignWindowData;
|
} ForeignWindowData;
|
||||||
|
@ -1269,7 +1269,7 @@ clutter_x11_get_stage_visual (ClutterStage *stage)
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
ClutterStageX11 *stage_x11;
|
ClutterStageX11 *stage_x11;
|
||||||
ClutterGeometry geom;
|
cairo_rectangle_int_t geom;
|
||||||
Window xwindow;
|
Window xwindow;
|
||||||
guint destroy_old_xwindow : 1;
|
guint destroy_old_xwindow : 1;
|
||||||
} ForeignWindowData;
|
} ForeignWindowData;
|
||||||
|
Loading…
Reference in New Issue
Block a user