diff options
Diffstat (limited to 'lib/Phi/Bindings')
-rw-r--r-- | lib/Phi/Bindings/SystrayErrorHandler.hsc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Phi/Bindings/SystrayErrorHandler.hsc b/lib/Phi/Bindings/SystrayErrorHandler.hsc new file mode 100644 index 0000000..73fedbb --- /dev/null +++ b/lib/Phi/Bindings/SystrayErrorHandler.hsc @@ -0,0 +1,17 @@ +{-# LANGUAGE ForeignFunctionInterface #-} + +module Phi.Bindings.SystrayErrorHandler ( setSystrayErrorHandler + , getLastErrorWindow + ) where + +#include <SystrayErrorHandler.h> + + +import Graphics.X11.Xlib + + +foreign import ccall unsafe "SystrayErrorHandler.h setSystrayErrorHandler" + setSystrayErrorHandler :: IO () + +foreign import ccall unsafe "SystrayErrorHandler.h getLastErrorWindow" + getLastErrorWindow :: IO Window |