Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* 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.
|
|
* mate-screenshot: added New button
|
|
‘read’:
ignoring return value declared with attribute warn_unused_result
|
|
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
|
|
|
|
it's useless since https://github.com/mate-desktop/mate-utils/commit/8f060cfddeedc196cf8689ffc670a80cbe5698c6
fixes https://github.com/mate-desktop/mate-utils/issues/165
|
|
make new function taken from:
https://git.gnome.org/browse/gtk+/commit/?id=6b9e481e38571f73237f6b8a38cb4bc6987bc4ca
with little changes adapted to work in screenshot-utils.c
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_window
|
|
|
|
|
|
|
|
|
|
|
|
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...
|
|
fixes https://github.com/mate-desktop/mate-utils/issues/166
same as done in:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=31ff64e51ec0a36d82f2c16e47e9eabc371f302e
|
|
no need to mention GTK+3 anymore
|
|
and require mate-panel >= 1.17
|
|
|
|
Relying on configure events to resize the preview makes us do more
work than necessary and, in particular, gtk+ sometimes sends us phony
configure events sized 1x1 which make us hit a pretty CPU intensive
resize operation in gdk-pixbuf.
Instead, we can avoid all that by creating the preview pixbuf lazily
on the draw handler using the actual allocated widget size.
https://bugzilla.gnome.org/show_bug.cgi?id=768087
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=c21823b
|
|
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
|
|
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=e25c879
|
|
|
|
|
|
* added code from gnome-screenshot basically
|
|
|
|
* 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
|
|
if using gtk3
|
|
* Add glade ui for gtk+3
* Remove usage of things like GTKHBox, GTKHButtonBox
and other deprecated widgets
|
|
|
|
|
|
fixes https://github.com/mate-desktop/mate-utils/issues/133
|
|
|
|
|
|
|
|
|
|
|
|
|