forked from enlightenment/enlightenment
Remove dead wl_shell module. Was replaced by wl_desktop_shell.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6a7e9e7d8c
commit
337979599c
|
@ -1,51 +0,0 @@
|
|||
<protocol name="desktop">
|
||||
|
||||
<interface name="desktop_shell" version="1">
|
||||
<request name="set_background">
|
||||
<arg name="output" type="object" interface="wl_output"/>
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
</request>
|
||||
|
||||
<request name="set_panel">
|
||||
<arg name="output" type="object" interface="wl_output"/>
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
</request>
|
||||
|
||||
<request name="set_lock_surface">
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
</request>
|
||||
|
||||
<request name="unlock"/>
|
||||
|
||||
<!-- We'll fold most of wl_shell into this interface and then
|
||||
they'll share the configure event. -->
|
||||
<event name="configure">
|
||||
<arg name="time" type="uint"/>
|
||||
<arg name="edges" type="uint"/>
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
<arg name="width" type="int"/>
|
||||
<arg name="height" type="int"/>
|
||||
</event>
|
||||
|
||||
<!-- Tell the shell we want it to create and set the lock surface,
|
||||
which is a GUI asking the user to unlock the screen. The lock
|
||||
surface is announced with 'set_lock_surface'. Whether or not
|
||||
the shell actually implements locking, it MUST send 'unlock'
|
||||
request to let the normal desktop resume. -->
|
||||
<event name="prepare_lock_surface"/>
|
||||
</interface>
|
||||
|
||||
<!-- Only one client can bind this interface at a time. -->
|
||||
<interface name="screensaver" version="1">
|
||||
|
||||
<!-- Set the surface type as a screensaver for a particular output.
|
||||
A screensaver surface is normally hidden, and only visible after
|
||||
an idle timeout. -->
|
||||
<request name="set_surface">
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
<arg name="output" type="object" interface="wl_output"/>
|
||||
</request>
|
||||
|
||||
</interface>
|
||||
|
||||
</protocol>
|
Binary file not shown.
|
@ -1,56 +0,0 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include "wayland-util.h"
|
||||
|
||||
extern const struct wl_interface wl_output_interface;
|
||||
extern const struct wl_interface wl_shell_surface_interface;
|
||||
extern const struct wl_interface wl_output_interface;
|
||||
extern const struct wl_interface wl_shell_surface_interface;
|
||||
extern const struct wl_interface wl_shell_surface_interface;
|
||||
extern const struct wl_interface wl_shell_surface_interface;
|
||||
extern const struct wl_interface wl_shell_surface_interface;
|
||||
extern const struct wl_interface wl_output_interface;
|
||||
|
||||
static const struct wl_interface *types[] = {
|
||||
&wl_output_interface,
|
||||
&wl_shell_surface_interface,
|
||||
&wl_output_interface,
|
||||
&wl_shell_surface_interface,
|
||||
&wl_shell_surface_interface,
|
||||
NULL,
|
||||
NULL,
|
||||
&wl_shell_surface_interface,
|
||||
NULL,
|
||||
NULL,
|
||||
&wl_shell_surface_interface,
|
||||
&wl_output_interface,
|
||||
};
|
||||
|
||||
static const struct wl_message desktop_shell_requests[] = {
|
||||
{ "set_background", "oo", types + 0 },
|
||||
{ "set_panel", "oo", types + 2 },
|
||||
{ "set_lock_surface", "o", types + 4 },
|
||||
{ "unlock", "", types + 0 },
|
||||
};
|
||||
|
||||
static const struct wl_message desktop_shell_events[] = {
|
||||
{ "configure", "uuoii", types + 5 },
|
||||
{ "prepare_lock_surface", "", types + 0 },
|
||||
};
|
||||
|
||||
WL_EXPORT const struct wl_interface desktop_shell_interface = {
|
||||
"desktop_shell", 1,
|
||||
ARRAY_LENGTH(desktop_shell_requests), desktop_shell_requests,
|
||||
ARRAY_LENGTH(desktop_shell_events), desktop_shell_events,
|
||||
};
|
||||
|
||||
static const struct wl_message screensaver_requests[] = {
|
||||
{ "set_surface", "oo", types + 10 },
|
||||
};
|
||||
|
||||
WL_EXPORT const struct wl_interface screensaver_interface = {
|
||||
"screensaver", 1,
|
||||
ARRAY_LENGTH(screensaver_requests), screensaver_requests,
|
||||
0, NULL,
|
||||
};
|
||||
|
|
@ -1,85 +0,0 @@
|
|||
#ifndef DESKTOP_SERVER_PROTOCOL_H
|
||||
#define DESKTOP_SERVER_PROTOCOL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "wayland-util.h"
|
||||
|
||||
struct wl_client;
|
||||
struct wl_resource;
|
||||
|
||||
struct desktop_shell;
|
||||
struct screensaver;
|
||||
|
||||
extern const struct wl_interface desktop_shell_interface;
|
||||
extern const struct wl_interface screensaver_interface;
|
||||
|
||||
struct desktop_shell_interface {
|
||||
/**
|
||||
* set_background - (none)
|
||||
* @output: (none)
|
||||
* @surface: (none)
|
||||
*/
|
||||
void (*set_background)(struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
struct wl_resource *output,
|
||||
struct wl_resource *surface);
|
||||
/**
|
||||
* set_panel - (none)
|
||||
* @output: (none)
|
||||
* @surface: (none)
|
||||
*/
|
||||
void (*set_panel)(struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
struct wl_resource *output,
|
||||
struct wl_resource *surface);
|
||||
/**
|
||||
* set_lock_surface - (none)
|
||||
* @surface: (none)
|
||||
*/
|
||||
void (*set_lock_surface)(struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
struct wl_resource *surface);
|
||||
/**
|
||||
* unlock - (none)
|
||||
*/
|
||||
void (*unlock)(struct wl_client *client,
|
||||
struct wl_resource *resource);
|
||||
};
|
||||
|
||||
#define DESKTOP_SHELL_CONFIGURE 0
|
||||
#define DESKTOP_SHELL_PREPARE_LOCK_SURFACE 1
|
||||
|
||||
static inline void
|
||||
desktop_shell_send_configure(struct wl_resource *resource_, uint32_t time, uint32_t edges, struct wl_resource *surface, int32_t width, int32_t height)
|
||||
{
|
||||
wl_resource_post_event(resource_, DESKTOP_SHELL_CONFIGURE, time, edges, surface, width, height);
|
||||
}
|
||||
|
||||
static inline void
|
||||
desktop_shell_send_prepare_lock_surface(struct wl_resource *resource_)
|
||||
{
|
||||
wl_resource_post_event(resource_, DESKTOP_SHELL_PREPARE_LOCK_SURFACE);
|
||||
}
|
||||
|
||||
struct screensaver_interface {
|
||||
/**
|
||||
* set_surface - (none)
|
||||
* @surface: (none)
|
||||
* @output: (none)
|
||||
*/
|
||||
void (*set_surface)(struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
struct wl_resource *surface,
|
||||
struct wl_resource *output);
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
|
@ -1,15 +0,0 @@
|
|||
#ifndef E_MOD_MAIN_H
|
||||
# define E_MOD_MAIN_H
|
||||
|
||||
# define SLOGFNS 1
|
||||
|
||||
# ifdef SLOGFNS
|
||||
# include <stdio.h>
|
||||
# define SLOGFN(fl, ln, fn) printf("-E-SHELL: %25s: %5i - %s\n", fl, ln, fn);
|
||||
# else
|
||||
# define SLOGFN(fl, ln, fn)
|
||||
# endif
|
||||
|
||||
# include <wayland-server.h>
|
||||
|
||||
#endif
|
|
@ -1,13 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Link
|
||||
Name=Wayland Shell
|
||||
Name[eo]=Ĉelo de Wayland
|
||||
Name[fr]=Shell Wayland
|
||||
Comment=Enlightenment Wayland Shell
|
||||
Comment[ca]=Shell de l'Enlightenment per a Wayland
|
||||
Comment[eo]=Ĉelo de Enlightenment por Wayland
|
||||
Comment[fr]=Shell Wayland pour Enlightenment
|
||||
Comment[it]=Shell di Enlightenment per Wayland
|
||||
Icon=e-module-wl_shell
|
||||
X-Enlightenment-ModuleType=look
|
Loading…
Reference in New Issue