diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-30 17:00:19 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-30 17:00:30 +0100 |
| commit | b540c650816ac313b0d36137136b732631b42c3b (patch) | |
| tree | f3595561c9524913d30b52587607411375b7921e /src/drivers/PostScript/Fl_PostScript_image.cxx | |
| parent | 70da3a34b0b52aa4e80120064f46b52aff987fd6 (diff) | |
X11+GTK: remove warning when native file chooser runs on Wayland
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript_image.cxx')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript_image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript_image.cxx b/src/drivers/PostScript/Fl_PostScript_image.cxx index a9fcdb672..2aaa29a20 100644 --- a/src/drivers/PostScript/Fl_PostScript_image.cxx +++ b/src/drivers/PostScript/Fl_PostScript_image.cxx @@ -760,7 +760,7 @@ void Fl_PostScript_Graphics_Driver::draw_rgb_bitmap_(Fl_Image *img,int XP, int Y cairo_pattern_t *pat = cairo_pattern_create_for_surface(surf); cairo_save(cairo_); cairo_rectangle(cairo_, XP-0.5, YP-0.5, WP+1, HP+1); - cairo_clip(cairo_); // still to be tested + cairo_clip(cairo_); if (img->d() >= 1) cairo_set_source(cairo_, pat); cairo_matrix_t matrix; cairo_matrix_init_scale(&matrix, double(img->data_w())/(img->w()+1), double(img->data_h())/(img->h()+1)); |
