1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix
Simon Tatham 3c912e7994 Withdraw the horrible bodge in make_mouse_ptr().
We were previously building our own mouse pointers out of pixmaps,
having first drawn characters from the X server standard font 'cursor'
on to those pixmaps, giving an effect almost exactly the same as just
calling gdk_cursor_new(some constant) except that we got to choose the
foreground and background colours of the resulting pointers.

But it's not clear why we needed to do that! In both GTK1 and GTK2 as
of my current testing, the standard colours appear to be just what I
wanted anyway (white pointer with black outline). The previous
implementation (and commit comment) was written in 2002, so perhaps it
was working around a GTK1 bug of the time.

So I've removed it completely, and replaced it with simple calls to
gdk_cursor_new  (plus a workaround for GTK1's lack of GDK_BLANK_CURSOR,
but that's still much simpler than the previous code). If anyone does
report a colour problem, I may have to go back to doing something
clever, but if I can possibly arrange it, I'll want to do it by some
other technique, probably (as suggested in a comment in the previous
implementation) getting the underlying X cursor id and calling
XRecolorCursor.
2015-08-15 21:07:35 +01:00
..
configure Move the Unix configure script up to the top level. 2014-02-22 18:01:32 +00:00
gtkask.c Refactor the GTK drawing system to do both GDK and Cairo. 2015-08-15 21:05:56 +01:00
gtkcfg.c Fix two small memory leaks in config mechanism. 2015-05-08 18:57:18 +01:00
gtkcols.c GTK 3 prep: use the glib names for base object types. 2015-08-08 17:55:10 +01:00
gtkcols.h GTK 3 prep: use the glib names for base object types. 2015-08-08 17:55:10 +01:00
gtkcompat.h Use gtkcompat.h to slim down a few ifdefs. 2015-08-09 09:59:25 +01:00
gtkdlg.c GTK 3 prep: write a replacement for gtk_quit_add(). 2015-08-09 11:39:40 +01:00
gtkfont.c Refactor the GTK drawing system to do both GDK and Cairo. 2015-08-15 21:05:56 +01:00
gtkfont.h Refactor the GTK drawing system to do both GDK and Cairo. 2015-08-15 21:05:56 +01:00
gtkwin.c Withdraw the horrible bodge in make_mouse_ptr(). 2015-08-15 21:07:35 +01:00
unix.h GTK 3 prep: write a replacement for gtk_quit_add(). 2015-08-09 11:39:40 +01:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Support synchronous agent requests on Unix. 2015-05-11 17:52:19 +01:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxgen.c Fix another giant batch of resource leaks. (Mostly memory, but there's 2013-07-14 10:46:07 +00:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Fix a compile warning with -DDEBUG. 2015-05-18 21:17:21 +01:00
uxnet.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxpeer.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxpgnt.c Unix Pageant: man page and online help. 2015-05-19 18:24:04 +01:00
uxplink.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxpterm.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxpty.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxputty.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxsel.c Changed my mind about r7164. Instead of checking for zero flags 2007-01-26 20:00:32 +00:00
uxser.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxsftp.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxshare.c Move make_dir_and_check_ours() out into uxmisc.c. 2015-05-05 20:16:22 +01:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c Fix format string vulnerabilities. 2015-08-10 20:03:41 +01:00
uxucs.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00