Class

PhocServer

Description [src]

class Phoc.Server : GObject.Object {
  parent: GObject,
  config: PhocConfig*,
  desktop: PhocDesktop*,
  input: PhocInput*,
  flags: PhocServerFlags,
  debug_flags: PhocServerDebugFlags,
  inited: gboolean,
  session: gchar*,
  exit_status: gint,
  mainloop: GMainLoop*,
  wl_display: wl_display*,
  wl_source: guint,
  compositor: wlr_compositor*,
  subcompositor: wlr_subcompositor*,
  backend: wlr_backend*,
  renderer: PhocRenderer*,
  data_device_manager: wlr_data_device_manager*
}

The server singleton.

Maintains the compositors state.

Ancestors

Implements

Functions

phoc_server_get_default

Get the server singleton.

Instance methods

phoc_server_get_compatibles
No description available.

phoc_server_get_desktop
No description available.

phoc_server_get_last_active_seat

Get’s the last active seat.

phoc_server_get_renderer
No description available.

phoc_server_get_session_exit_status
No description available.

phoc_server_setup

Perform wayland server initialization: parse command line and config, create the wayland socket, setup env vars.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

unstable since: 2.22

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PhocServerClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.