Juergen Spitzmueller a écrit :
Abdelrazak Younes wrote:
Could someone please commit this?

Done. However:

+///////////////////////////////////////////////////////////////
+// Specific stuff
+#ifdef Q_OS_X11
 #include <X11/Xlib.h>
 #endif

This has to be Q_WS_X11, else I get a compilation error here

OK, but I was just following Qt4 documentation here:
Q_OS_X11
Defined for the X Window System.


+////////////////////////////////////////////////////////////////////////
+// X11 specific stuff goes here...
+
+#ifdef Q_WS_X11
+bool lyxX11EventFilter(XEvent * xev)
+{

I changed this accordingly.

Thanks,
Abdel

Reply via email to