-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | GdkX11 bindings
--   
--   Bindings for GdkX11, autogenerated by haskell-gi.
@package gi-gdkx11
@version 3.0.15


-- | Build time configuration used during code generation.
module GI.GdkX11.Config

-- | Overrides used when generating these bindings.
overrides :: Text


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11AppLaunchContext

-- | Memory-managed wrapper type.
newtype X11AppLaunchContext
X11AppLaunchContext :: ManagedPtr X11AppLaunchContext -> X11AppLaunchContext

-- | Type class for types which can be safely cast to
--   <a>X11AppLaunchContext</a>, for instance with
--   <a>toX11AppLaunchContext</a>.
class (GObject o, IsDescendantOf X11AppLaunchContext o) => IsX11AppLaunchContext o

-- | Cast to <a>X11AppLaunchContext</a>, for types for which this is known
--   to be safe. For general casts, use <a>castTo</a>.
toX11AppLaunchContext :: (MonadIO m, IsX11AppLaunchContext o) => o -> m X11AppLaunchContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext o) => GI.GdkX11.Objects.X11AppLaunchContext.IsX11AppLaunchContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Cursor

-- | Memory-managed wrapper type.
newtype X11Cursor
X11Cursor :: ManagedPtr X11Cursor -> X11Cursor

-- | Type class for types which can be safely cast to <a>X11Cursor</a>, for
--   instance with <a>toX11Cursor</a>.
class (GObject o, IsDescendantOf X11Cursor o) => IsX11Cursor o

-- | Cast to <a>X11Cursor</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Cursor :: (MonadIO m, IsX11Cursor o) => o -> m X11Cursor

-- | Returns the X cursor belonging to a <a>Cursor</a>.
x11CursorGetXcursor :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m CULong

-- | Returns the display of a <a>Cursor</a>.
x11CursorGetXdisplay :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m Display
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Cursor.X11Cursor
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Cursor.X11Cursor o) => GI.GdkX11.Objects.X11Cursor.IsX11Cursor o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Cursor.X11Cursor)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DeviceCore

-- | Memory-managed wrapper type.
newtype X11DeviceCore
X11DeviceCore :: ManagedPtr X11DeviceCore -> X11DeviceCore

-- | Type class for types which can be safely cast to <a>X11DeviceCore</a>,
--   for instance with <a>toX11DeviceCore</a>.
class (GObject o, IsDescendantOf X11DeviceCore o) => IsX11DeviceCore o

-- | Cast to <a>X11DeviceCore</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11DeviceCore :: (MonadIO m, IsX11DeviceCore o) => o -> m X11DeviceCore
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore o) => GI.GdkX11.Objects.X11DeviceCore.IsX11DeviceCore o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DeviceManagerCore

-- | Memory-managed wrapper type.
newtype X11DeviceManagerCore
X11DeviceManagerCore :: ManagedPtr X11DeviceManagerCore -> X11DeviceManagerCore

-- | Type class for types which can be safely cast to
--   <a>X11DeviceManagerCore</a>, for instance with
--   <a>toX11DeviceManagerCore</a>.
class (GObject o, IsDescendantOf X11DeviceManagerCore o) => IsX11DeviceManagerCore o

-- | Cast to <a>X11DeviceManagerCore</a>, for types for which this is known
--   to be safe. For general casts, use <a>castTo</a>.
toX11DeviceManagerCore :: (MonadIO m, IsX11DeviceManagerCore o) => o -> m X11DeviceManagerCore
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore o) => GI.GdkX11.Objects.X11DeviceManagerCore.IsX11DeviceManagerCore o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DeviceManagerXI2

-- | Memory-managed wrapper type.
newtype X11DeviceManagerXI2
X11DeviceManagerXI2 :: ManagedPtr X11DeviceManagerXI2 -> X11DeviceManagerXI2

-- | Type class for types which can be safely cast to
--   <a>X11DeviceManagerXI2</a>, for instance with
--   <a>toX11DeviceManagerXI2</a>.
class (GObject o, IsDescendantOf X11DeviceManagerXI2 o) => IsX11DeviceManagerXI2 o

-- | Cast to <a>X11DeviceManagerXI2</a>, for types for which this is known
--   to be safe. For general casts, use <a>castTo</a>.
toX11DeviceManagerXI2 :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m X11DeviceManagerXI2

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>major</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructX11DeviceManagerXI2Major :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “<tt>major</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> x11DeviceManagerXI2 #major
--   </pre>
getX11DeviceManagerXI2Major :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>minor</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructX11DeviceManagerXI2Minor :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “<tt>minor</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> x11DeviceManagerXI2 #minor
--   </pre>
getX11DeviceManagerXI2Minor :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>opcode</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructX11DeviceManagerXI2Opcode :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “<tt>opcode</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> x11DeviceManagerXI2 #opcode
--   </pre>
getX11DeviceManagerXI2Opcode :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2 o) => GI.GdkX11.Objects.X11DeviceManagerXI2.IsX11DeviceManagerXI2 o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DeviceXI2

-- | Memory-managed wrapper type.
newtype X11DeviceXI2
X11DeviceXI2 :: ManagedPtr X11DeviceXI2 -> X11DeviceXI2

-- | Type class for types which can be safely cast to <a>X11DeviceXI2</a>,
--   for instance with <a>toX11DeviceXI2</a>.
class (GObject o, IsDescendantOf X11DeviceXI2 o) => IsX11DeviceXI2 o

-- | Cast to <a>X11DeviceXI2</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11DeviceXI2 :: (MonadIO m, IsX11DeviceXI2 o) => o -> m X11DeviceXI2

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>device-id</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructX11DeviceXI2DeviceId :: (IsX11DeviceXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “<tt>device-id</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> x11DeviceXI2 #deviceId
--   </pre>
getX11DeviceXI2DeviceId :: (MonadIO m, IsX11DeviceXI2 o) => o -> m Int32
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2 o) => GI.GdkX11.Objects.X11DeviceXI2.IsX11DeviceXI2 o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Display

-- | Memory-managed wrapper type.
newtype X11Display
X11Display :: ManagedPtr X11Display -> X11Display

-- | Type class for types which can be safely cast to <a>X11Display</a>,
--   for instance with <a>toX11Display</a>.
class (GObject o, IsDescendantOf X11Display o) => IsX11Display o

-- | Cast to <a>X11Display</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Display :: (MonadIO m, IsX11Display o) => o -> m X11Display

-- | Pops the error trap pushed by <a>x11DisplayErrorTrapPush</a>. Will
--   <tt><i>XSync()</i></tt> if necessary and will always block until the
--   error is known to have occurred or not occurred, so the error code can
--   be returned.
--   
--   If you don’t need to use the return value,
--   <a>x11DisplayErrorTrapPopIgnored</a> would be more efficient.
--   
--   See <a>errorTrapPop</a> for the all-displays-at-once equivalent.
--   
--   <i>Since: 3.0</i>
x11DisplayErrorTrapPop :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Int32

-- | Pops the error trap pushed by <a>x11DisplayErrorTrapPush</a>. Does not
--   block to see if an error occurred; merely records the range of
--   requests to ignore errors for, and ignores those errors if they arrive
--   asynchronously.
--   
--   See <a>errorTrapPopIgnored</a> for the all-displays-at-once
--   equivalent.
--   
--   <i>Since: 3.0</i>
x11DisplayErrorTrapPopIgnored :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Begins a range of X requests on <i><tt>display</tt></i> for which X
--   error events will be ignored. Unignored errors (when no trap is
--   pushed) will abort the application. Use <a>x11DisplayErrorTrapPop</a>
--   or <a>x11DisplayErrorTrapPopIgnored</a>to lift a trap pushed with this
--   function.
--   
--   See also <a>errorTrapPush</a> to push a trap on all displays.
--   
--   <i>Since: 3.0</i>
x11DisplayErrorTrapPush :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Retrieves the version of the GLX implementation.
--   
--   <i>Since: 3.16</i>
x11DisplayGetGlxVersion :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Bool, Int32, Int32)

-- | Gets the startup notification ID for a display.
--   
--   <i>Since: 2.12</i>
x11DisplayGetStartupNotificationId :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Text

-- | Returns the timestamp of the last user interaction on
--   <i><tt>display</tt></i>. The timestamp is taken from events caused by
--   user interaction such as key presses or pointer movements. See
--   <a>x11WindowSetUserTime</a>.
--   
--   <i>Since: 2.8</i>
x11DisplayGetUserTime :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Word32

-- | Returns the X display of a <a>Display</a>.
--   
--   <i>Since: 2.2</i>
x11DisplayGetXdisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Display

-- | Call <tt><i>XGrabServer()</i></tt> on <i><tt>display</tt></i>. To
--   ungrab the display again, use <a>x11DisplayUngrab</a>.
--   
--   <a>x11DisplayGrab</a>/<a>x11DisplayUngrab</a> calls can be nested.
--   
--   <i>Since: 2.2</i>
x11DisplayGrab :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Sets the cursor theme from which the images for cursor should be
--   taken.
--   
--   If the windowing system supports it, existing cursors created with
--   <a>cursorNew</a>, <a>cursorNewForDisplay</a> and
--   <a>cursorNewFromName</a> are updated to reflect the theme change.
--   Custom cursors constructed with <a>cursorNewFromPixbuf</a> will have
--   to be handled by the application (GTK+ applications can learn about
--   cursor theme changes by listening for change notification for the
--   corresponding <tt><i>GtkSetting</i></tt>).
--   
--   <i>Since: 2.8</i>
x11DisplaySetCursorTheme :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Maybe Text -> Int32 -> m ()

-- | Sets the startup notification ID for a display.
--   
--   This is usually taken from the value of the DESKTOP_STARTUP_ID
--   environment variable, but in some cases (such as the application not
--   being launched using <tt><i>exec()</i></tt>) it can come from other
--   sources.
--   
--   If the ID contains the string "_TIME" then the portion following that
--   string is taken to be the X11 timestamp of the event that triggered
--   the application to be launched and the GDK current event time is set
--   accordingly.
--   
--   The startup ID is also what is used to signal that the startup is
--   complete (for example, when opening a window or when calling
--   <a>notifyStartupComplete</a>).
--   
--   <i>Since: 3.0</i>
x11DisplaySetStartupNotificationId :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Text -> m ()

-- | Forces a specific window scale for all windows on this display,
--   instead of using the default or user configured scale. This is can be
--   used to disable scaling support by setting <i><tt>scale</tt></i> to 1,
--   or to programmatically set the window scale.
--   
--   Once the scale is set by this call it will not change in response to
--   later user configuration changes.
--   
--   <i>Since: 3.10</i>
x11DisplaySetWindowScale :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Int32 -> m ()

-- | Convert a text string from the encoding as it is stored in a property
--   into an array of strings in the encoding of the current locale. (The
--   elements of the array represent the nul-separated elements of the
--   original text string.)
--   
--   <i>Since: 2.24</i>
x11DisplayTextPropertyToTextList :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Atom -> Int32 -> Word8 -> Int32 -> Text -> m Int32

-- | Ungrab <i><tt>display</tt></i> after it has been grabbed with
--   <a>x11DisplayGrab</a>.
--   
--   <i>Since: 2.2</i>
x11DisplayUngrab :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Display.X11Display
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Display.X11Display o) => GI.GdkX11.Objects.X11Display.IsX11Display o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Display.X11Display)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DisplayManager

-- | Memory-managed wrapper type.
newtype X11DisplayManager
X11DisplayManager :: ManagedPtr X11DisplayManager -> X11DisplayManager

-- | Type class for types which can be safely cast to
--   <a>X11DisplayManager</a>, for instance with
--   <a>toX11DisplayManager</a>.
class (GObject o, IsDescendantOf X11DisplayManager o) => IsX11DisplayManager o

-- | Cast to <a>X11DisplayManager</a>, for types for which this is known to
--   be safe. For general casts, use <a>castTo</a>.
toX11DisplayManager :: (MonadIO m, IsX11DisplayManager o) => o -> m X11DisplayManager
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager o) => GI.GdkX11.Objects.X11DisplayManager.IsX11DisplayManager o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11DragContext

-- | Memory-managed wrapper type.
newtype X11DragContext
X11DragContext :: ManagedPtr X11DragContext -> X11DragContext

-- | Type class for types which can be safely cast to
--   <a>X11DragContext</a>, for instance with <a>toX11DragContext</a>.
class (GObject o, IsDescendantOf X11DragContext o) => IsX11DragContext o

-- | Cast to <a>X11DragContext</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11DragContext :: (MonadIO m, IsX11DragContext o) => o -> m X11DragContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DragContext.X11DragContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DragContext.X11DragContext o) => GI.GdkX11.Objects.X11DragContext.IsX11DragContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DragContext.X11DragContext)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11GLContext

-- | Memory-managed wrapper type.
newtype X11GLContext
X11GLContext :: ManagedPtr X11GLContext -> X11GLContext

-- | Type class for types which can be safely cast to <a>X11GLContext</a>,
--   for instance with <a>toX11GLContext</a>.
class (GObject o, IsDescendantOf X11GLContext o) => IsX11GLContext o

-- | Cast to <a>X11GLContext</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11GLContext :: (MonadIO m, IsX11GLContext o) => o -> m X11GLContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11GLContext.X11GLContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11GLContext.X11GLContext o) => GI.GdkX11.Objects.X11GLContext.IsX11GLContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11GLContext.X11GLContext)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Keymap

-- | Memory-managed wrapper type.
newtype X11Keymap
X11Keymap :: ManagedPtr X11Keymap -> X11Keymap

-- | Type class for types which can be safely cast to <a>X11Keymap</a>, for
--   instance with <a>toX11Keymap</a>.
class (GObject o, IsDescendantOf X11Keymap o) => IsX11Keymap o

-- | Cast to <a>X11Keymap</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Keymap :: (MonadIO m, IsX11Keymap o) => o -> m X11Keymap

-- | Extracts the group from the state field sent in an X Key event. This
--   is only needed for code processing raw X events, since <a>EventKey</a>
--   directly includes an is_modifier field.
--   
--   <i>Since: 3.6</i>
x11KeymapGetGroupForState :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Int32

-- | Determines whether a particular key code represents a key that is a
--   modifier. That is, it’s a key that normally just affects the keyboard
--   state and the behavior of other keys rather than producing a direct
--   effect itself. This is only needed for code processing raw X events,
--   since <a>EventKey</a> directly includes an is_modifier field.
--   
--   <i>Since: 3.6</i>
x11KeymapKeyIsModifier :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Bool
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Keymap.X11Keymap
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Keymap.X11Keymap o) => GI.GdkX11.Objects.X11Keymap.IsX11Keymap o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Keymap.X11Keymap)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Monitor

-- | Memory-managed wrapper type.
newtype X11Monitor
X11Monitor :: ManagedPtr X11Monitor -> X11Monitor

-- | Type class for types which can be safely cast to <a>X11Monitor</a>,
--   for instance with <a>toX11Monitor</a>.
class (GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o

-- | Cast to <a>X11Monitor</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Monitor :: (MonadIO m, IsX11Monitor o) => o -> m X11Monitor

-- | <i>No description available in the introspection data.</i>
x11MonitorGetOutput :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m CULong
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Monitor.X11Monitor
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Monitor.X11Monitor o) => GI.GdkX11.Objects.X11Monitor.IsX11Monitor o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Monitor.X11Monitor)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Visual

-- | Memory-managed wrapper type.
newtype X11Visual
X11Visual :: ManagedPtr X11Visual -> X11Visual

-- | Type class for types which can be safely cast to <a>X11Visual</a>, for
--   instance with <a>toX11Visual</a>.
class (GObject o, IsDescendantOf X11Visual o) => IsX11Visual o

-- | Cast to <a>X11Visual</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Visual :: (MonadIO m, IsX11Visual o) => o -> m X11Visual

-- | Returns the X visual belonging to a <a>Visual</a>.
x11VisualGetXvisual :: (HasCallStack, MonadIO m, IsX11Visual a) => a -> m Visual
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Visual.X11Visual
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Visual.X11Visual o) => GI.GdkX11.Objects.X11Visual.IsX11Visual o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Visual.X11Visual)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Screen

-- | Memory-managed wrapper type.
newtype X11Screen
X11Screen :: ManagedPtr X11Screen -> X11Screen

-- | Type class for types which can be safely cast to <a>X11Screen</a>, for
--   instance with <a>toX11Screen</a>.
class (GObject o, IsDescendantOf X11Screen o) => IsX11Screen o

-- | Cast to <a>X11Screen</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Screen :: (MonadIO m, IsX11Screen o) => o -> m X11Screen

-- | Returns the current workspace for <i><tt>screen</tt></i> when running
--   under a window manager that supports multiple workspaces, as described
--   in the <a>Extended Window Manager Hints</a> specification.
--   
--   <i>Since: 3.10</i>
x11ScreenGetCurrentDesktop :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Word32

-- | Gets the XID of the specified output/monitor. If the X server does not
--   support version 1.2 of the RANDR extension, 0 is returned.
--   
--   <i>Since: 2.14</i>
x11ScreenGetMonitorOutput :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> Int32 -> m CULong

-- | Returns the number of workspaces for <i><tt>screen</tt></i> when
--   running under a window manager that supports multiple workspaces, as
--   described in the <a>Extended Window Manager Hints</a> specification.
--   
--   <i>Since: 3.10</i>
x11ScreenGetNumberOfDesktops :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Word32

-- | Returns the index of a <a>Screen</a>.
--   
--   <i>Since: 2.2</i>
x11ScreenGetScreenNumber :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Int32

-- | Returns the name of the window manager for <i><tt>screen</tt></i>.
--   
--   <i>Since: 2.2</i>
x11ScreenGetWindowManagerName :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Text

-- | Returns the screen of a <a>Screen</a>.
--   
--   <i>Since: 2.2</i>
x11ScreenGetXscreen :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Screen

-- | Looks up the <a>Visual</a> for a particular screen and X Visual ID.
--   
--   <i>Since: 2.2</i>
x11ScreenLookupVisual :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> CULong -> m X11Visual

-- | This function is specific to the X11 backend of GDK, and indicates
--   whether the window manager supports a certain hint from the
--   <a>Extended Window Manager Hints</a> specification.
--   
--   When using this function, keep in mind that the window manager can
--   change over time; so you shouldn’t use this function in a way that
--   impacts persistent application state. A common bug is that your
--   application can start up before the window manager does when the user
--   logs in, and before the window manager starts
--   <a>x11ScreenSupportsNetWmHint</a> will return <a>False</a> for every
--   property. You can monitor the window_manager_changed signal on
--   <a>Screen</a> to detect a window manager change.
--   
--   <i>Since: 2.2</i>
x11ScreenSupportsNetWmHint :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> Atom -> m Bool

-- | <i>No description available in the introspection data.</i>
type X11ScreenWindowManagerChangedCallback = IO ()

-- | Connect a signal handler for the <a>windowManagerChanged</a> signal,
--   to be run after the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>after</a> x11Screen #windowManagerChanged callback
--   </pre>
--   
--   By default the object invoking the signal is not passed to the
--   callback. If you need to access it, you can use the implit
--   <tt>?self</tt> parameter. Note that this requires activating the
--   <tt>ImplicitParams</tt> GHC extension.
afterX11ScreenWindowManagerChanged :: (IsX11Screen a, MonadIO m) => a -> ((?self :: a) => X11ScreenWindowManagerChangedCallback) -> m SignalHandlerId

-- | Connect a signal handler for the <a>windowManagerChanged</a> signal,
--   to be run before the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>on</a> x11Screen #windowManagerChanged callback
--   </pre>
onX11ScreenWindowManagerChanged :: (IsX11Screen a, MonadIO m) => a -> ((?self :: a) => X11ScreenWindowManagerChangedCallback) -> m SignalHandlerId
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Screen.X11Screen
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Screen.X11Screen o) => GI.GdkX11.Objects.X11Screen.IsX11Screen o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Screen.X11Screen)


-- | <i>No description available in the introspection data.</i>
module GI.GdkX11.Objects.X11Window

-- | Memory-managed wrapper type.
newtype X11Window
X11Window :: ManagedPtr X11Window -> X11Window

-- | Type class for types which can be safely cast to <a>X11Window</a>, for
--   instance with <a>toX11Window</a>.
class (GObject o, IsDescendantOf X11Window o) => IsX11Window o

-- | Cast to <a>X11Window</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toX11Window :: (MonadIO m, IsX11Window o) => o -> m X11Window

-- | Wraps a native window in a <a>Window</a>. The function will try to
--   look up the window using <a>x11WindowLookupForDisplay</a> first. If it
--   does not find it there, it will create a new window.
--   
--   This may fail if the window has been destroyed. If the window was
--   already known to GDK, a new reference to the existing <a>Window</a> is
--   returned.
--   
--   <i>Since: 2.24</i>
x11WindowForeignNewForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m X11Window

-- | Gets the number of the workspace <i><tt>window</tt></i> is on.
--   
--   <i>Since: 3.10</i>
x11WindowGetDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m Word32

-- | Returns the X resource (window) belonging to a <a>Window</a>.
x11WindowGetXid :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m CULong

-- | Looks up the <a>Window</a> that wraps the given native window handle.
--   
--   <i>Since: 2.24</i>
x11WindowLookupForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m X11Window

-- | Moves the window to the correct workspace when running under a window
--   manager that supports multiple workspaces, as described in the
--   <a>Extended Window Manager Hints</a> specification. Will not do
--   anything if the window is already on all workspaces.
--   
--   <i>Since: 2.8</i>
x11WindowMoveToCurrentDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m ()

-- | Moves the window to the given workspace when running unde a window
--   manager that supports multiple workspaces, as described in the
--   <a>Extended Window Manager Hints</a> specification.
--   
--   <i>Since: 3.10</i>
x11WindowMoveToDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Word32 -> m ()

-- | This is the same as <a>windowSetShadowWidth</a> but it only works on
--   GdkX11Window.
--   
--   <i>Since: 3.10</i>

-- | <i>Deprecated: (Since version 3.12)Use <a>windowSetShadowWidth</a>
--   instead.</i>
x11WindowSetFrameExtents :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m ()

-- | This function can be used to disable frame synchronization for a
--   window. Normally frame synchronziation will be enabled or disabled
--   based on whether the system has a compositor that supports frame
--   synchronization, but if the window is not directly managed by the
--   window manager, then frame synchronziation may need to be disabled.
--   This is the case for a window embedded via the XEMBED protocol.
--   
--   <i>Since: 3.8</i>
x11WindowSetFrameSyncEnabled :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Bool -> m ()

-- | Set a hint for the window manager, requesting that the titlebar should
--   be hidden when the window is maximized.
--   
--   Note that this property is automatically updated by GTK+, so this
--   function should only be used by applications which do not use GTK+ to
--   create toplevel windows.
--   
--   <i>Since: 3.4</i>
x11WindowSetHideTitlebarWhenMaximized :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Bool -> m ()

-- | GTK+ applications can request a dark theme variant. In order to make
--   other applications - namely window managers using GTK+ for themeing -
--   aware of this choice, GTK+ uses this function to export the requested
--   theme variant as _GTK_THEME_VARIANT property on toplevel windows.
--   
--   Note that this property is automatically updated by GTK+, so this
--   function should only be used by applications which do not use GTK+ to
--   create toplevel windows.
--   
--   <i>Since: 3.2</i>
x11WindowSetThemeVariant :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Text -> m ()

-- | The application can use this call to update the _NET_WM_USER_TIME
--   property on a toplevel window. This property stores an Xserver time
--   which represents the time of the last user input event received for
--   this window. This property may be used by the window manager to alter
--   the focus, stacking, and/or placement behavior of windows when they
--   are mapped depending on whether the new window was created by a user
--   action or is a "pop-up" window activated by a timer or some other
--   event.
--   
--   Note that this property is automatically updated by GDK, so this
--   function should only be used by applications which handle input events
--   bypassing GDK.
--   
--   <i>Since: 2.6</i>
x11WindowSetUserTime :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Word32 -> m ()

-- | This function modifies or removes an arbitrary X11 window property of
--   type UTF8_STRING. If the given <i><tt>window</tt></i> is not a
--   toplevel window, it is ignored.
--   
--   <i>Since: 3.4</i>
x11WindowSetUtf8Property :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Text -> Maybe Text -> m ()
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Window.X11Window
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Window.X11Window o) => GI.GdkX11.Objects.X11Window.IsX11Window o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Window.X11Window)


module GI.GdkX11.Objects


module GI.GdkX11.Functions

-- | Converts from a <a>Atom</a> to the X atom for the default GDK display
--   with the same string value.
x11AtomToXatom :: (HasCallStack, MonadIO m) => Atom -> m CULong

-- | Converts from a <a>Atom</a> to the X atom for a <a>Display</a> with
--   the same string value. The special value <tt><i>GDK_NONE</i></tt> is
--   converted to <tt><i>None</i></tt>.
--   
--   <i>Since: 2.2</i>
x11AtomToXatomForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Atom -> m CULong

-- | Returns the device ID as seen by XInput2.
--   
--   <pre>
--   If 'GI.Gdk.Functions.disableMultidevice' has been called, this function
--   will respectively return 2\/3 for the core pointer and keyboard,
--   (matching the IDs for the Virtual Core Pointer and Keyboard in
--   XInput 2), but calling this function on any slave devices (i.e.
--   those managed via XInput 1.x), will return 0.
--   </pre>
--   
--   <i>Since: 3.2</i>
x11DeviceGetId :: (HasCallStack, MonadIO m, IsX11DeviceCore a) => a -> m Int32

-- | Returns the <a>Device</a> that wraps the given device ID.
--   
--   <i>Since: 3.2</i>
x11DeviceManagerLookup :: (HasCallStack, MonadIO m, IsX11DeviceManagerCore a) => a -> Int32 -> m (Maybe X11DeviceCore)

-- | Frees the data returned from <a>x11DisplayStringToCompoundText</a>.
--   
--   <i>Since: 2.24</i>
x11FreeCompoundText :: (HasCallStack, MonadIO m) => Word8 -> m ()

-- | Frees the array of strings created by
--   <a>x11DisplayTextPropertyToTextList</a>.
--   
--   <i>Since: 2.24</i>
x11FreeTextList :: (HasCallStack, MonadIO m) => Text -> m ()

-- | Gets the root window of the default screen (see
--   <a>x11GetDefaultScreen</a>).
x11GetDefaultRootXwindow :: (HasCallStack, MonadIO m) => m CULong

-- | Gets the default GTK+ screen number.
x11GetDefaultScreen :: (HasCallStack, MonadIO m) => m Int32

-- | Gets the default GTK+ display.
x11GetDefaultXdisplay :: (HasCallStack, MonadIO m) => m Display

-- | Used with <a>windowSetBackgroundPattern</a> to inherit background from
--   parent window. Useful for imitating transparency when compositing is
--   not available. Otherwise behaves like a transparent pattern.
--   
--   <i>Since: 3.24.2</i>

-- | <i>Deprecated: (Since version 3.24)Don't use this function</i>
x11GetParentRelativePattern :: (HasCallStack, MonadIO m) => m Pattern

-- | Routine to get the current X server time stamp.
x11GetServerTime :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m Word32

-- | Returns the X atom for GDK’s default display corresponding to
--   <i><tt>atomName</tt></i>. This function caches the result, so if
--   called repeatedly it is much faster than
--   <tt><i>XInternAtom()</i></tt>, which is a round trip to the server
--   each time.
x11GetXatomByName :: (HasCallStack, MonadIO m) => Text -> m CULong

-- | Returns the X atom for a <a>Display</a> corresponding to
--   <i><tt>atomName</tt></i>. This function caches the result, so if
--   called repeatedly it is much faster than
--   <tt><i>XInternAtom()</i></tt>, which is a round trip to the server
--   each time.
--   
--   <i>Since: 2.2</i>
x11GetXatomByNameForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Text -> m CULong

-- | Returns the name of an X atom for GDK’s default display. This function
--   is meant mainly for debugging, so for convenience, unlike
--   <tt><i>XAtomName()</i></tt> and <a>atomName</a>, the result doesn’t
--   need to be freed. Also, this function will never return
--   <a>Nothing</a>, even if <i><tt>xatom</tt></i> is invalid.
x11GetXatomName :: (HasCallStack, MonadIO m) => CULong -> m Text

-- | Returns the name of an X atom for its display. This function is meant
--   mainly for debugging, so for convenience, unlike
--   <tt><i>XAtomName()</i></tt> and <a>atomName</a>, the result doesn’t
--   need to be freed.
--   
--   <i>Since: 2.2</i>
x11GetXatomNameForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m Text

-- | Call <a>x11DisplayGrab</a> on the default display. To ungrab the
--   server again, use <a>x11UngrabServer</a>.
--   
--   <a>x11GrabServer</a>/<a>x11UngrabServer</a> calls can be nested.
x11GrabServer :: (HasCallStack, MonadIO m) => m ()

-- | Find the <a>Display</a> corresponding to <i><tt>xdisplay</tt></i>, if
--   any exists.
--   
--   <i>Since: 2.2</i>
x11LookupXdisplay :: (HasCallStack, MonadIO m) => Display -> m X11Display

-- | Registers interest in receiving extension events with type codes
--   between <i><tt>eventBase</tt></i> and <tt>event_base + n_events -
--   1</tt>. The registered events must have the window field in the same
--   place as core X events (this is not the case for e.g. XKB extension
--   events).
--   
--   If an event type is registered, events of this type will go through
--   global and window-specific filters (see
--   <tt><i>gdk_window_add_filter()</i></tt>). Unregistered events will
--   only go through global filters. GDK may register the events of some X
--   extensions on its own.
--   
--   This function should only be needed in unusual circumstances, e.g.
--   when filtering XInput extension events on the root window.
--   
--   <i>Since: 2.4</i>
x11RegisterStandardEventType :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Int32 -> Int32 -> m ()

-- | Sets the <tt>SM_CLIENT_ID</tt> property on the application’s leader
--   window so that the window manager can save the application’s state
--   using the X11R6 ICCCM session management protocol.
--   
--   See the X Session Management Library documentation for more
--   information on session management and the Inter-Client Communication
--   Conventions Manual
--   
--   <i>Since: 2.24</i>
x11SetSmClientId :: (HasCallStack, MonadIO m) => Maybe Text -> m ()

-- | Ungrab the default display after it has been grabbed with
--   <a>x11GrabServer</a>.
x11UngrabServer :: (HasCallStack, MonadIO m) => m ()

-- | Convert from an X atom for the default display to the corresponding
--   <a>Atom</a>.
x11XatomToAtom :: (HasCallStack, MonadIO m) => CULong -> m Atom

-- | Convert from an X atom for a <a>Display</a> to the corresponding
--   <a>Atom</a>.
--   
--   <i>Since: 2.2</i>
x11XatomToAtomForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m Atom


module GI.GdkX11
