Comment from: Adam Lydick <lydickaw (at) ruffledpenguin (dot) org>
LB paints itself in the center of the logical screen. This is a bummer
on dual monitors, because the center of the logical screen has a 3cm
air-and-plastic gap that makes it a little difficult to see.
Solution: Look at how gnome-session implements centering their logout
dialog. A quick hack that got things working for me (but is somewhat
lame, because it hardcodes which monitor to use) follows.
(windows_update_background() in lb-window.c)
// broken for multimon
//screen_width = gdk_screen_get_width (screen);
//screen_height = gdk_screen_get_height (screen);
//FIXME: HACK: pick the "default" monitor instead of hardcoding
//NOTE: "geometry is a GdkRectangle
gdk_screen_get_monitor_geometry(screen, 0 /* monitor# */, &geometry);
x = geometry.width / 2 - width / 2;
y = geometry.height / 2 - height / 2;