After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 490779 - include mouse pointer in screenshots
include mouse pointer in screenshots
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other Linux
: Normal enhancement
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-10-27 12:04 UTC by Sven Neumann
Modified: 2007-11-13 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
optionally create a layer with the cursor image (7.76 KB, patch)
2007-10-27 12:05 UTC, Sven Neumann
committed Details | Review

Description Sven Neumann 2007-10-27 12:04:47 UTC
Using the XFixes extension, it is possible to get the cursor image. I will attach a patch that adds this functionality to the screenshot plug-in.
Comment 1 Sven Neumann 2007-10-27 12:05:59 UTC
Created attachment 97965 [details] [review]
optionally create a layer with the cursor image
Comment 2 Sven Neumann 2007-10-31 10:36:14 UTC
I have now committed this to trunk:

2007-10-31  Sven Neumann  <sven@gimp.org>

	* configure.in: check for the XFIXES extension.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: use XFIXES_CFLAGS for compiling the
	screenshot plug-in.

	* plug-ins/common/screenshot.c: optionally add the mouse cursor
	image on an extra layer. Work in progress... (bug #490779).

This needs some more work. The cursor image should be taken together with the screen-shot, there's a FIXME for that in the source code.

Also we should review the UI for this. Currently the mouse cursor feature can only be used when creating a full-screen screen-shot. We may want to change that.
Comment 3 Sven Neumann 2007-11-13 11:32:05 UTC
Closing as FIXED for now. If changes are still needed, we can of course do them.