Commit ae7fa236 authored by Antonio Ospite's avatar Antonio Ospite Committed by Alberts Muktupāvels
Browse files

screenshot: fix a typo

The cursor was never included in screenshots because of a typo
about the screenshot type. There is a comment which explains the
reasoning behind the intended check, but the code is not following.
parent 1007ebf7
......@@ -715,7 +715,7 @@ take_screenshot_real (GfScreenshot *screenshot,
/* If we have a selected area, there were by definition no cursor in the
* screenshot. */
if (include_cursor && type == SCREENSHOT_AREA)
if (include_cursor && type != SCREENSHOT_AREA)
GdkCursor *cursor;
GdkPixbuf *cursor_pixbuf;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment