Skip to content

Commit

Permalink
Expose Lazy flag for xwayland create
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Ongyerth committed May 15, 2018
1 parent ccb4b04 commit 8d9fc39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion haskell-wayland
Submodule haskell-wayland updated 1 files
+1 −1 hayland.cabal
8 changes: 4 additions & 4 deletions src/Graphics/Wayland/WlRoots/XWayland.hsc
Expand Up @@ -61,11 +61,11 @@ import Utility (textFromNull)

data XWayland

foreign import ccall unsafe "wlr_xwayland_create" c_xwayland_create :: Ptr DisplayServer -> Ptr WlrCompositor -> IO (Ptr XWayland)
foreign import ccall unsafe "wlr_xwayland_create" c_xwayland_create :: Ptr DisplayServer -> Ptr WlrCompositor -> Bool -> IO (Ptr XWayland)

xwaylandCreate :: DisplayServer -> Ptr WlrCompositor -> IO (Ptr XWayland)
xwaylandCreate (DisplayServer ptr) comp =
throwErrnoIfNull "xwaylandCreate" $ c_xwayland_create ptr comp
xwaylandCreate :: DisplayServer -> Ptr WlrCompositor -> Bool -> IO (Ptr XWayland)
xwaylandCreate (DisplayServer ptr) comp lazy =
throwErrnoIfNull "xwaylandCreate" $ c_xwayland_create ptr comp lazy

foreign import ccall "wlr_xwayland_destroy" c_xwayland_destroy :: Ptr XWayland -> IO ()

Expand Down

0 comments on commit 8d9fc39

Please sign in to comment.