]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xscreen.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / xscreen.h
index a927df6c99af5162bc1665a938657695e6a2f928..1b335546543b2a5df2b2ab96e1f6bc91a7e3acce 100644 (file)
 #pragma interface
 #endif
 
-#include <X11/Xlib.h>
-
 #include "screen.h"
+#include <X11/Xlib.h> // for Pixmap, GC
 
-#include "XWorkArea.h"
+class XWorkArea;
 
 /** The class XScreen is used for the main Textbody.
     Concretely, the screen is held in a pixmap.  This pixmap is kept up to