GNOME Bugzilla – Bug 109480
workspace width in the applet not proprotional to actual workspace size
Last modified: 2004-12-22 21:47:04 UTC
On a multihead setup with different depths we have the following issues, a) The workspace size (width) in the applets-workspace-switcher is not proportional with real workplace size b) The Netscape icons are viewable on applets-workspace-switcher of primary screen, but not on secondary.
Created attachment 15294 [details] [review] Patch fixes the problems
Can you use temporary variables to avoid making this statement so long: height_ratio = (double) workspace_rect->height / (double) gdk_screen_get_height ( + _wnck_screen_get_gdk_screen ( + wnck_window_get_screen(window))); Or alternatively, you could add _wnck_window_get_gdk_screen() perhaps. Looks like a good fix other than that.
Created attachment 15453 [details] [review] Reworked patch based on Havoc's comments.
Thanks, fixed in CVS now. (The aspect ratio patch is slightly different due to the bug #109654 changes, but the effect is the same, problem should be fixed.)