]> 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 347d26451cc806d22a44d3717a1b6447dd9d8ad7..1b335546543b2a5df2b2ab96e1f6bc91a7e3acce 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 /**
  * \file xscreen.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author unknown
  * \author John Levon 
 #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