Trivial gnomepager_applet bug



In case this hasn't been fixed, see the attachment, which is a 
patch against CVS of 990111.

BTW, I'm now using Gnome for real (having been a longtime KDE user).
I'm tracking the CVS and it is getting really stable!

Great work!

Peter Wainwright
Home: prw@wainpr.demon.co.uk   Work: peter.wainwright@nrpb.org.uk
http://www.wainpr.demon.co.uk
Visit the Opera Exchange Homepage at http://www.treda.co.uk/opex/
diff -U4 -r gnome-core-old/applets/gnome-pager/gnomepager_applet.c gnome-core/applets/gnome-pager/gnomepager_applet.c
--- gnome-core-old/applets/gnome-pager/gnomepager_applet.c	Mon Jan 11 09:16:29 1999
+++ gnome-core/applets/gnome-pager/gnomepager_applet.c	Tue Jan 12 15:52:28 1999
@@ -571,9 +571,9 @@
     }
   XSetInputFocus(GDK_DISPLAY(), t->win, RevertToPointerRoot, CurrentTime);  
   XRaiseWindow(GDK_DISPLAY(), t->win);
   XMapWindow(GDK_DISPLAY(), t->win);
-  if ((!t->sticky) && (t->desktop != current_desk - 1))
+  if ((!t->sticky) && (t->desktop != current_desk))
     gnome_win_hints_set_current_workspace(t->desktop);
   x = ((gdk_screen_width() * area_x) + (t->x + (t->w / 2)));
   y = ((gdk_screen_height() * area_y) + (t->y + (t->h / 2)));
   desktop_set_area(x / gdk_screen_width(), y / gdk_screen_height());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]