set window size after a video is opened
[uwplayer.git] / application / window.h
index 37d6d17..9ffa93c 100644 (file)
@@ -37,6 +37,7 @@ typedef struct Player {
     pid_t process;
     int log;
     int ipc;
+    int status;
     bool isactive;
     
     double playback_time;
@@ -56,6 +57,8 @@ typedef struct MainWindow {
 
 MainWindow* WindowCreate(Display *dp);
 
+MainWindow* GetMainWindow(void);
+
 void WindowShow(MainWindow *win);
 
 void WindowFullscreen(MainWindow *win, bool enableFullscreen);