Commit a932fbac authored by Guido Gunther's avatar Guido Gunther

docked-manager: Simplify - we always have a builtin monitor set

Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 12e2e3d1
......@@ -309,8 +309,7 @@ phosh_docked_manager_set_enabled (PhoshDockedManager *self, gboolean enable)
if (!enable) {
PhoshShell *shell = phosh_shell_get_default ();
PhoshMonitor *monitor = phosh_shell_get_builtin_monitor (shell);
if (monitor)
phosh_shell_set_primary_monitor (shell, monitor);
phosh_shell_set_primary_monitor (shell, monitor);
g_debug ("Docked mode %sabled", self->enabled ? "en" : "dis");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment