mirror of
https://github.com/elementary/gala.git
synced 2024-11-30 00:44:06 +03:00
ScreenshotManager: Fix cursor inclusion for non window screenshots (#2098)
This commit is contained in:
parent
58fc51cd8b
commit
88d82d61eb
@ -394,10 +394,7 @@ namespace Gala {
|
||||
|
||||
image = new Cairo.ImageSurface (Cairo.Format.ARGB32, image_width, image_height);
|
||||
|
||||
var paint_flags = Clutter.PaintFlag.NO_CURSORS;
|
||||
if (include_cursor) {
|
||||
paint_flags |= Clutter.PaintFlag.FORCE_CURSORS;
|
||||
}
|
||||
var paint_flags = include_cursor ? Clutter.PaintFlag.FORCE_CURSORS : Clutter.PaintFlag.NO_CURSORS;
|
||||
|
||||
try {
|
||||
if (GLib.ByteOrder.HOST == GLib.ByteOrder.LITTLE_ENDIAN) {
|
||||
|
Loading…
Reference in New Issue
Block a user