diff options
Diffstat (limited to 'client/x11/pixels_source.cpp')
-rw-r--r-- | client/x11/pixels_source.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/x11/pixels_source.cpp b/client/x11/pixels_source.cpp index d8d8cb75..7b9ed05f 100644 --- a/client/x11/pixels_source.cpp +++ b/client/x11/pixels_source.cpp @@ -94,10 +94,10 @@ ImageFromRes::~ImageFromRes() delete ((PixelsSource_p*)get_opaque())->pixmap.x_image; } -Point ImageFromRes::get_size() +SpicePoint ImageFromRes::get_size() { XImage *image = ((PixelsSource_p*)get_opaque())->pixmap.x_image; - Point pt; + SpicePoint pt; pt.x = image->width; pt.y = image->height; return pt; @@ -118,10 +118,10 @@ AlphaImageFromRes::~AlphaImageFromRes() delete ((PixelsSource_p*)get_opaque())->pixmap.x_image; } -Point AlphaImageFromRes::get_size() +SpicePoint AlphaImageFromRes::get_size() { XImage *image = ((PixelsSource_p*)get_opaque())->pixmap.x_image; - Point pt; + SpicePoint pt; pt.x = image->width; pt.y = image->height; return pt; |