Commit fa030ebc authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Fix fullscreen code.

parent af365024
......@@ -214,6 +214,7 @@ set_geometry (ServerContext *context)
if (context->fullscreen) {
gtk_window_set_decorated (GTK_WINDOW(context->window), FALSE);
gtk_window_set_resizable (GTK_WINDOW(context->window), FALSE);
gtk_widget_set_size_request (context->widget,
rect.height / 2);
......@@ -632,6 +633,7 @@ handle_method_call (GDBusConnection *connection,
context->fullscreen = fullscreen;
if (context->window)
set_geometry (context);
g_dbus_method_invocation_return_value (invocation, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment