Phoc.Server
Description: Reference for Phoc.Server

### Class

# PhocServer

#### Description [src]

    final class Phoc.Server : GObject.Object
      implements Gio.Initable {
      /* No available fields */
    }

The server singleton.

Maintains the compositor’s state.

#### Hierarchy

#### Ancestors

- GObject

#### Implements

- GInitable

#### Functions

###### phoc_server_get_default

Get the server singleton.

#### Instance methods

###### phoc_server_check_debug_flags

Checks if the given debug flags are set in this server.

###### phoc_server_get_allow_input

No description available.

###### phoc_server_get_backend

No description available.

###### phoc_server_get_compatibles

No description available.

###### phoc_server_get_compositor

No description available.

###### phoc_server_get_config

Get the object that has the config file content.

###### phoc_server_get_debug_flags

Get the debug flags.

###### phoc_server_get_desktop

Gets the desktop singleton.

###### phoc_server_get_input

Get the device handling new input devices and seats.

###### phoc_server_get_last_active_seat

Gets the last active seat.

###### phoc_server_get_log_domains

Get the logging domains.

###### phoc_server_get_renderer

Gets the renderer object.

###### phoc_server_get_session

No description available.

###### phoc_server_get_session_exec

Return the command that will be run to start the session.

###### phoc_server_get_session_exit_status

No description available.

###### phoc_server_get_wl_display

No description available.

###### phoc_server_set_debug_flags

Set the currently enabled debug flags.

###### phoc_server_set_linux_dmabuf_surface_feedback

No description available.

###### phoc_server_set_log_domains

Set the currently enabled logging domains.

###### 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.

#### Properties

###### Phoc.Server:debug-flags

The debug flags currently active.

###### Phoc.Server:log-domains

The current log domains.

#### 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.