the wrong display of cursors

"Dmitry E. Oboukhov" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
I've set the theme about mouse cursors which is different from the
default one. 

I tested a few variants of standard themes from the Debian package
xcursor-themes. The themes were inastalled as usual by writing in
~/.Xresources the line Xcursor.theme: name_of_theme. The themes work
well in all the window managers (xfce, icewm, etc) ecxcept fluxbox. In
fluxbox only some themes' cursors work (for example the main cursor) but
for example cursors which are used when pulling out the window are
nevertheless displayed as standard ones.

This bug is displayed in  fluxbox 1.0.0 and in the last git-snapshot as
well.

I made the patch fixing this problem (for fluxbox 1.0.0, not tested on
git snapshot), see attache.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
50_cursors.diff (text/x-diff, 1.2 KB)
#! /bin/sh /usr/share/dpatch/dpatch-run
## 50_cursosrs.diff.dpatch by  <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: corner cursors patch

@DPATCH@

--- fluxbox-1.0.0+deb1/build-tree/fluxbox-1.0.0/src/FbWinFrameTheme.cc	2007-04-17 23:15:19.000000000 +0400
+++ fluxbox-1.0.0+deb1/build-tree/fluxbox-1.0.0/src/FbWinFrameTheme.cc	2008-08-04 11:58:08.000000000 +0400
@@ -71,10 +71,10 @@
     // create cursors
     Display *disp = FbTk::App::instance()->display();
     m_cursor_move = XCreateFontCursor(disp, XC_fleur);
-    m_cursor_lower_left_angle = XCreateFontCursor(disp, XC_ll_angle);
-    m_cursor_lower_right_angle = XCreateFontCursor(disp, XC_lr_angle);
-    m_cursor_upper_right_angle = XCreateFontCursor(disp, XC_ur_angle);
-    m_cursor_upper_left_angle = XCreateFontCursor(disp, XC_ul_angle);
+    m_cursor_lower_left_angle = XCreateFontCursor(disp, XC_bottom_left_corner);
+    m_cursor_lower_right_angle = XCreateFontCursor(disp, XC_bottom_right_corner);
+    m_cursor_upper_right_angle = XCreateFontCursor(disp, XC_top_right_corner);
+    m_cursor_upper_left_angle = XCreateFontCursor(disp, XC_top_left_corner);
 
     reconfigTheme();
 }
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIlro8q4wAz/jiZTcRApC5AJ95fNjXiGG4aaJa0nITaewXI23wAACg2VfD
yl0wJr57PBR4PAZG9TfV83I=
=AAqX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.