summaryrefslogtreecommitdiff
path: root/mate-screenshot/src/screenshot-utils.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-69/+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.
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 codemonsta1-129/+0
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
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-190/+4
and require mate-panel >= 1.17
2016-11-22fix indent a bit and remove some weird commented codemonsta1-4/+4
2016-09-01GTK+-3 screenshot-utils: don't use deprecated GDK apiraveit651-0/+22
Use GdkDevice and GdkDeviceManager instead of the deprecated pointer GDK API. taken from: https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=29e5f8c
2016-09-01GTK+-3 screenshot-utils: use GtkStyleContext to draw the area selectionraveit651-2/+24
taken from: https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=e25c879
2016-09-01avoid deprecated gdk_cursor_new ()raveit651-2/+4
2016-06-20Some more fixes for gtk+3Oz N Tiram1-1/+49
* remove deprecated calls to: - gdk_keyboard_grab - gdk_pointer_grab - gdk_keyboard_ungrab - gdk_pointer_ungrab GTK+3 Replace on_preview_expose_event This method used many deprecated calles. This method was replaced with on_preview_draw, code taken directly from current gnome-screenshot
2015-12-22mate-screenshot: reduce ifdef hell a bitmonsta1-19/+12
2015-09-09mate-screenshot: move stuff to data/ and src/ subdirsmonsta1-0/+1040