This file is indexed.

/usr/lib/ocaml/sdl/sdlwm.mli is in libsdl-ocaml-dev 0.9.1-2build4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(** Window Manager interaction *)


val set_caption : title:string -> icon:string -> unit  
(** Sets the title and icon text of the display window *)
val get_caption : unit -> string * string
(** Gets the title and icon text of the display window *)


val set_icon : Sdlvideo.surface -> unit
(** Sets the icon for the display window. 
   This function must be called before the first call to 
   {!Sdlvideo.set_video_mode}. *)

val iconify : unit -> bool
(** This function iconifies the window, and returns [true] if it
   succeeded.  If the function succeeds, it generates an
   {!Sdlevent.active_event} loss event.  This function is a noop and
   returns [false] in non-windowed environments. *)

val toggle_fullscreen : unit -> bool
(** Toggle fullscreen mode without changing the contents of the
  screen.  If this function was able to toggle fullscreen mode (change
  from running in a window to fullscreen, or vice-versa), it will
  return [true].  If it is not implemented, or fails, it returns
  [false].  *)


val grab_input : bool -> unit
(** Set the input grab state of the application.  Grabbing means that
   the mouse is confined to the application window, and nearly all
   keyboard input is passed directly to the application, and not
   interpreted by a window manager, if any.  *)

val query_grab : unit -> bool