gtk_tooltip_position v get_nearest_screen
- From: "Dr. David Alan Gilbert" <gilbertd treblig org>
- To: gtk-devel-list gnome org
- Subject: gtk_tooltip_position v get_nearest_screen
- Date: Sun, 22 Mar 2009 17:20:12 +0000
Hi,
I've just attached a patch for get_nearest_screen to
http://bugzilla.gnome.org/show_bug.cgi?id=576306 ; it
wasn't getting the nearest screen in a common case on my machine;
comments on that fix welcome.
But, it was triggered by gtk_tooltip_position and I wonder if that
also needs fixing; it adjusts the x/y position to create a tooltip
by half the width of the cursor - but that can take the x/y off the
edge of the whole display - and it seems wrong to then pass
that into routines asking which monitor to use.
My get_nearest_screen patch fixes that behavior, but should
gtk_tooltip_position be fixed?
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]