[broadway] Hack up window placement for demo

This commit is contained in:
Alexander Larsson 2010-11-23 13:00:45 +01:00
parent b82ed84709
commit 08a180a699

View File

@ -348,6 +348,14 @@ _gdk_window_impl_new (GdkWindow *window,
private->window_type == GDK_WINDOW_TEMP);
g_assert (GDK_WINDOW_TYPE (private->parent) == GDK_WINDOW_ROOT);
/* Instead of window manager placement we have this mini hack
so that the main/first window is not covered in the demos. */
if (impl->id > 1)
{
private->x = 100;
private->y = 20;
}
if (display_broadway->output)
broadway_client_new_surface (display_broadway->output,
impl->id,