mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -05:00
Add a fullscreen mode to the terminal.
This commit is contained in:
parent
ee02ca6fa4
commit
0395f30e65
3 changed files with 167 additions and 76 deletions
6
window.h
6
window.h
|
|
@ -43,9 +43,6 @@ window_create(struct wl_display *display, int fd,
|
|||
const char *title,
|
||||
int32_t x, int32_t y, int32_t width, int32_t height);
|
||||
|
||||
void
|
||||
window_set_minimum_size(struct window *window, uint32_t width, int32_t height);
|
||||
|
||||
void
|
||||
window_draw(struct window *window);
|
||||
void
|
||||
|
|
@ -59,6 +56,9 @@ window_copy(struct window *window,
|
|||
struct rectangle *rectangle,
|
||||
uint32_t name, uint32_t stride);
|
||||
|
||||
void
|
||||
window_set_fullscreen(struct window *window, int fullscreen);
|
||||
|
||||
void
|
||||
window_set_resize_handler(struct window *window,
|
||||
window_resize_handler_t handler, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue