forked from AuroraMiddleware/gtk
[broadway] Only change window positioning for toplevels not e.g. menus
This commit is contained in:
parent
c1a35afa5f
commit
4004882b92
@ -359,7 +359,7 @@ _gdk_window_impl_new (GdkWindow *window,
|
||||
|
||||
/* 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)
|
||||
if (impl->id > 1 && private->window_type == GDK_WINDOW_TOPLEVEL)
|
||||
{
|
||||
private->x = 100;
|
||||
private->y = 20;
|
||||
|
Loading…
Reference in New Issue
Block a user