diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2024-08-08 18:47:02 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2024-08-08 18:47:02 +0200 |
| commit | 539930f228d9dda1fe3462e5a6d913061dc6a652 (patch) | |
| tree | ba5a106c1b8729b53547fe9c2dc4cf714efa76e6 /protocols/Wayland | |
| parent | 4d51231141d9f35074660e101c478b664b96683d (diff) | |
finish implementing wayland server api
Diffstat (limited to 'protocols/Wayland')
| -rw-r--r-- | protocols/Wayland/Protocols/Core/WLOutput.hs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Wayland/Protocols/Core/WLOutput.hs b/protocols/Wayland/Protocols/Core/WLOutput.hs index 3c4a8f5..625ccd9 100644 --- a/protocols/Wayland/Protocols/Core/WLOutput.hs +++ b/protocols/Wayland/Protocols/Core/WLOutput.hs @@ -13,8 +13,8 @@ module Wayland.Protocols.Core.WLOutput ) where import Data.Data (Typeable) -import Wayland.Server (Object(..), RequestClass, InterfaceDesc(..), MessageDesc(..), ArgumentDesc(..), Nullability(..), AnyObject, EventClass, marshalInt, marshalString, marshalUInt) import Data.Hashable (Hashable(..)) +import Wayland.Server newtype WLOutput = WLOutput AnyObject deriving (Show, Eq, Ord, Hashable) @@ -191,7 +191,8 @@ data Request = ReqRelease WLOutput deriving (Typeable, Show) -instance RequestClass Request where +instance MessageClass Request +instance RequestClass Request data Event = EvGeometry Geometry @@ -202,4 +203,5 @@ data Event | EvDone deriving (Typeable, Show) -instance EventClass Event where +instance MessageClass Event +instance EventClass Event |
