Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
squeekboard
Commits
fa030ebc
Commit
fa030ebc
authored
Mar 08, 2011
by
Daiki Ueno
Browse files
Fix fullscreen code.
parent
af365024
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server-context.c
View file @
fa030ebc
...
@@ -214,6 +214,7 @@ set_geometry (ServerContext *context)
...
@@ -214,6 +214,7 @@ set_geometry (ServerContext *context)
if
(
context
->
fullscreen
)
{
if
(
context
->
fullscreen
)
{
gtk_window_set_decorated
(
GTK_WINDOW
(
context
->
window
),
FALSE
);
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
,
gtk_widget_set_size_request
(
context
->
widget
,
rect
.
width
,
rect
.
width
,
rect
.
height
/
2
);
rect
.
height
/
2
);
...
@@ -632,6 +633,7 @@ handle_method_call (GDBusConnection *connection,
...
@@ -632,6 +633,7 @@ handle_method_call (GDBusConnection *connection,
return
;
return
;
}
}
context
->
fullscreen
=
fullscreen
;
context
->
fullscreen
=
fullscreen
;
if
(
context
->
window
)
set_geometry
(
context
);
set_geometry
(
context
);
g_dbus_method_invocation_return_value
(
invocation
,
NULL
);
g_dbus_method_invocation_return_value
(
invocation
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment