diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-05 23:21:43 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-05 23:21:43 +0200 |
| commit | 0c930b9ca31a868679372528954ef5b8e6b83b33 (patch) | |
| tree | dc73fb5a38ec18880a2ce01b5991791489c2ca5d /src/drivers/Cairo | |
| parent | 5cedb9e174dc2c60532def5c1a8ca194b36d454e (diff) | |
Wayland: limit copied pixels when window update is a region
Diffstat (limited to 'src/drivers/Cairo')
| -rw-r--r-- | src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H index c2a7d4c54..6a782c3c5 100644 --- a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H +++ b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H @@ -28,12 +28,10 @@ typedef struct _PangoLayout PangoLayout; typedef struct _PangoContext PangoContext; typedef struct _PangoFontDescription PangoFontDescription; -#if USE_PANGO - struct flCairoRegion { - int count; - struct _cairo_rectangle *rects; - }; // a region is the union of a series of rectangles -#endif +struct flCairoRegion { + int count; + struct _cairo_rectangle *rects; +}; // a region is the union of a series of rectangles class Fl_Cairo_Font_Descriptor : public Fl_Font_Descriptor { public: |
