summaryrefslogtreecommitdiffstats
path: root/lib/Phi/Bindings/SystrayErrorHandler.hsc
blob: 73fedbbe4248cf067a2cdde12c9fc2976a6b1266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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