[compiz] [PATCH] Use X-Fleur cursor on move

Mike Dransfield mike at blueroot.co.uk
Sat Jun 9 10:35:05 PDT 2007


Treviño wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all, I'm Treviño (AKA Trevinho, AKA 3v1n0, AKA trevi55 ;P) it's my
> first message here, also if I'm reading the ML from the archives since
> long time...
> I maintened a beryl-svn (then git) repository, and I'm planning to do
> the same as soon as I can for compiz-git (BTW, some pre-release
> packages are at http://tinyurl.com/396up9), however for doing so I'm
> applying some patches to compiz; mostly of them are the ones already
> posted here or taken from the ubuntu gutsy source package, but I've
> made some of them too.
>
> The first one, that I've attached here is a patch for the move plugin
> to make it show the X-fleur mouse cursor while moving a windows
> instead of the X-plus.
>   

I have  applied this patch since it was agreed.

If there are complaints, then Ill make it a restricted option.

Regards
Mike



> This is needed to use the same cursor used by the most common Desktop
> Environments like KDE and GNOME (I don't know in xfce and others).
>
> Simply take the patch and apply it (it's only 1 line); then you won't
> have anymore the bad (imho) "+" cursor ;)
>
> Regards,
> Treviño
>
> - --
> Treviño's Blog - Life and Linux
> http://3v1n0.tuxfamily.org/blog/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGZuc+LWz7RN2ADNkRAgpKAJ97lL+zgEUwdkl99tfgIGWwkUxwMwCgqZSd
> b++DUC2PkbBlv0IcK6TgfKM=
> =G1CP
> -----END PGP SIGNATURE-----
>
>   
> ------------------------------------------------------------------------
>
> diff --git a/plugins/move.c b/plugins/move.c
> index 4ba74bd..42b2985 100644
> --- a/plugins/move.c
> +++ b/plugins/move.c
> @@ -832,7 +832,7 @@ moveInitScreen (CompPlugin *p,
>  
>      ms->grabIndex = 0;
>  
> -    ms->moveCursor = XCreateFontCursor (s->display->display, XC_plus);
> +    ms->moveCursor = XCreateFontCursor (s->display->display, XC_fleur);
>  
>      WRAP (ms, s, paintWindow, movePaintWindow);
>  
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz
>   



More information about the compiz mailing list