summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-02-16 15:58:14 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-02-16 23:19:38 -0500
commitf856fd2f931832ed18252136c8a119b192d4ab96 (patch)
tree2993cff58bc45d5ea8fdb044a9e3ca94da8f1610 /clients
parentd6bcd7daa753673621f6bd7c36e4324fa2f8454a (diff)
Follow set_fullscreen protocol change
Diffstat (limited to 'clients')
-rw-r--r--clients/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c
index 0dfd7f3..59fa684 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -790,7 +790,8 @@ window_set_type(struct window *window)
switch (window->type) {
case TYPE_FULLSCREEN:
- wl_shell_surface_set_fullscreen(window->shell_surface);
+ wl_shell_surface_set_fullscreen(window->shell_surface,
+ WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, NULL);
break;
case TYPE_MAXIMIZED:
wl_shell_surface_set_maximized(window->shell_surface, NULL);