summaryrefslogtreecommitdiff
path: root/mate-screenshot
AgeCommit message (Collapse)AuthorFilesLines
9 daysFix window screenshot including invisible bordersHEADmasterVictor Kareh1-2/+64
When marco resize borders are enabled, window screenshots had the entire frame window and included the invisible resize borders, causing artifacts around the window and leaking whatever was behind it. This reads the frame extents and compares with the client window position to determine the offset of the invisible borders and so we can adjust the dimensions to remove it. Fixes #236
2025-11-14mate-screenshot: Cleanup on SIGINT and SIGTERM againColomban Wendling1-0/+13
Cleanly exit on SIGINT and SIGTERM so we can properly cleanup temporary files.
2025-11-04mate-screenshot: Replace fork save with sync saveVictor Kareh1-183/+44
Newer versions of gdk-pixbuf use libglycin's asynchronous image save mechanism. This makes the fork-save redundant and has a potential of hanging when saving a screenshot.
2025-08-20mate-screenshot: Toggle shutter soundVictor Kareh2-1/+8
This setting allows user to enable/disable the shutter sound when taking a screenshot. Default is enabled to maintain current behavior. Fixes #134
2023-05-23Remove init_stock_icons code and replace gtk_drag_set_icon_stock with ↵zhuyaliang1-30/+0
gtk_drag_set_icon_name
2022-02-11Fix build warnings about missing field initializerrbuj1-1/+1
2022-01-21Unnecessary G_OBJECT cast when calling signal connect functionrbuj2-5/+7
2021-12-21mate-screenshot: fix memory leakrbuj1-1/+3
2021-11-24Use a blank line at mostrbuj3-5/+0
2021-06-25update copyright to 2021raveit6511-0/+11
2021-03-05i18n: Do not collect the translation for Iconrbuj1-1/+1
2021-02-26mate-screenshot: fix the order of the buttons at the bottomrbuj1-96/+109
2021-02-08build: allow users to disable gettext support (--disable-nls)rbuj2-0/+13
2020-12-07Add legal notice in Makefile.am filesrbuj3-0/+45
2020-12-07GNU GPL 2 license notice without post box, after copyright noticerbuj11-142/+138
- Use always the same code snippet for including the top-level config.h
2020-11-27screenshot-save: warning -Wdangling-elserbuj1-20/+24
2020-06-23add git.mk to generate .gitignoretamplan3-0/+3
2020-04-16Remove bad-function-cast warningsrbuj1-3/+3
2020-03-10Remove warnings: function declaration isn’t a prototyperbuj1-2/+2
2020-03-09Define custom macros for wrapping the calls to gtk_builder_get_objectrbuj1-11/+13
2020-02-24mate-screenshot: do not use stock icons in mate-screenshot.uirbuj1-29/+62
2020-01-20gettext: Fix locale dirrbuj1-4/+4
This allows to load the translations.
2019-12-28migrate from intltools to gettextWu Xiaotian3-7/+11
2019-12-23Use gresources for UI filesrbuj4-10/+45
2019-10-01Add WARN_CFLAGS to CFLAGSrbuj1-1/+5
2019-07-04Remove trailing whitespacesLaurent Napias5-77/+77
2019-06-10Change url projet's websiteLaurent Napias1-1/+1
2019-05-07Remove unused variablesrbuj1-1/+0
2019-05-04mate-screenshot: Variable is assigned a value that is never usedrbuj1-1/+0
2019-01-10move appdata to metainfo directorymonsta1-1/+1
fixes https://github.com/mate-desktop/mate-utils/issues/188
2018-09-23screenshot: replace deprecated gdk_flushraveit652-4/+10
2018-05-23Add support for non-interactive screenshot directly to clipboardEyal Lotem1-7/+26
2018-02-14avoid deprecated GtkStockPablo Barciela2-3/+3
2018-01-30require GTK+ 3.22 and GLib 2.50monsta2-95/+1
2018-01-27Add screenshot support for HiDPI displaysVictor Kareh1-17/+42
* Pointer coordinates needed scaling to show up in the correct location. * Window borders needed scaling to avoid a memory overflow when redrawing it. * Monitor dimensions needed scaling to show the correct size, as well as support for multi-monitor masking. Monitor masking is when you have multiple monitors with different sizes, and take a screenshot of the entire desktop. I am not currently able to test this last feature.
2018-01-15mate-screenshot: added New button (#184)Thiago Bighetti3-48/+76
* mate-screenshot: added New button
2018-01-04screenshot-save.c: Fix build warnings with ‘pipe’ ‘write’ and ↵Pablo Barciela1-9/+12
‘read’: ignoring return value declared with attribute warn_unused_result
2017-12-21WidthOfScreen and HeightOfScreen implementationPablo Barciela1-15/+11
This commit reverts: https://github.com/mate-desktop/mate-utils/commit/b210e404823cb5b1fa5b74d700fa3f89c2ea71a2 https://github.com/mate-desktop/mate-utils/commit/c0b5081bf32ee22094e15c5d76a8ac8e5806e4a5 And it applies an alternative to fix the deprecated functions: gkd_screen_width gdk_screen_height gdk_screen_get_width gdk_screen_get_height
2017-10-12screenshot: remove some unused codemonsta4-152/+0
2017-10-12screenshot: don't get window title as it's not used latermonsta1-12/+2
it's useless since https://github.com/mate-desktop/mate-utils/commit/8f060cfddeedc196cf8689ffc670a80cbe5698c6 fixes https://github.com/mate-desktop/mate-utils/issues/165
2017-08-29avoid deprecated gdk_screen_get_active_windowZenWalker1-1/+44
make new function taken from: https://git.gnome.org/browse/gtk+/commit/?id=6b9e481e38571f73237f6b8a38cb4bc6987bc4ca with little changes adapted to work in screenshot-utils.c
2017-08-21gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+4
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-11avoid deprecated gdk_screen_width/heightZenWalker1-8/+12
2017-08-11avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+3
2017-08-10screenshot: avoid deprecated GdkDevice objectsraveit651-1/+49
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+8
2017-07-28don't use deprecated gtk_show_uriraveit651-0/+7
2017-04-27mate-screenshot: fix showing busy cursor when saving area screenshotmonsta1-1/+1
invalid cast from plain struct to GtkWidget was causing a heap of runtime warnings when saving area screenshot, and no busy cursor was shown. fallout from 7d859a9e17f0c4f0b790e8b2a3d8ac25481d7fe6...
2017-04-02screenshot: don't translate the timestamp in the filenamemonsta1-4/+1
fixes https://github.com/mate-desktop/mate-utils/issues/166 same as done in: https://git.gnome.org/browse/gnome-screenshot/commit/?id=31ff64e51ec0a36d82f2c16e47e9eabc371f302e
2017-01-31drop all the ancient changelogsmonsta1-672/+0