- return TRUE;
-/*
- int x = 0;
- int y = 0;
- int width = gdk_screen_width();
- int height = gdk_screen_height();
- if (rect)
- {
- x = rect->x;
- y = rect->y;
- width = rect->width;
- height = rect->height;
- }
-
- GTK cannot set transparent backgrounds. :-(
-
- GdkWindowAttr attr;
- attr.x = x;
- attr.y = y;
- attr.width = width;
- attr.height = height;
- attr.override_redirect = TRUE;
- attr.wclass = GDK_INPUT_OUTPUT;
- attr.event_mask = 0;
- attr.window_type = GDK_WINDOW_TEMP;
- m_window = gdk_window_new( NULL, &attr, GDK_WA_NOREDIR | GDK_WA_X | GDK_WA_Y );
-
- gdk_window_show( m_window );
-
- m_window = GDK_ROOT_PARENT();
-
- SetUpDC();
-
- gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS );
- gdk_gc_set_subwindow( m_brushGC, GDK_INCLUDE_INFERIORS );
- gdk_gc_set_subwindow( m_textGC, GDK_INCLUDE_INFERIORS );
- gdk_gc_set_subwindow( m_bgGC, GDK_INCLUDE_INFERIORS );
-
- return TRUE;
-*/