set window size after a video is opened
[uwplayer.git] / application / window.c
index 88a0db8..9ec4323 100644 (file)
@@ -114,6 +114,10 @@ MainWindow* WindowCreate(Display *display) {
     return window;
 }
 
+MainWindow* GetMainWindow(void) {
+    return main_window;
+}
+
 void WindowShow(MainWindow *win) {
     XtRealizeWidget(win->window);
 }