mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -05:00
Add initial basic support for fullscreen surfaces
This commit is contained in:
parent
5e4d83f499
commit
0ce245761c
6 changed files with 137 additions and 37 deletions
|
|
@ -80,6 +80,8 @@ shell_move(struct wl_client *client, struct wl_shell *shell,
|
|||
struct wlsc_surface *es = (struct wlsc_surface *) surface;
|
||||
struct wlsc_move_grab *move;
|
||||
|
||||
/* FIXME: Reject if fullscreen */
|
||||
|
||||
move = malloc(sizeof *move);
|
||||
if (!move) {
|
||||
wl_client_post_no_memory(client);
|
||||
|
|
@ -174,6 +176,8 @@ shell_resize(struct wl_client *client, struct wl_shell *shell,
|
|||
enum wlsc_pointer_type pointer = WLSC_POINTER_LEFT_PTR;
|
||||
struct wlsc_surface *es = (struct wlsc_surface *) surface;
|
||||
|
||||
/* FIXME: Reject if fullscreen */
|
||||
|
||||
resize = malloc(sizeof *resize);
|
||||
if (!resize) {
|
||||
wl_client_post_no_memory(client);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue