- * UNRELEASED
+ i3-wm (4.14.2-1) unstable; urgency=medium
+
++ * New upstream release.
+
+ -- Michael Stapelberg <stapelberg@debian.org> Mon, 25 Sep 2017 08:55:22 +0200
+
+ i3-wm (4.14.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Michael Stapelberg <stapelberg@debian.org> Sun, 24 Sep 2017 19:21:15 +0200
+
i3-wm (4.14-1) unstable; urgency=medium
* New upstream release.
workspace_update_urgent_flag(con_get_workspace(con));
ipc_send_window_event("urgent", con);
}
+
+ /* Focusing a container with a floating parent should raise it to the top. Since
+ * con_focus is called recursively for each parent we don't need to use
+ * con_inside_floating(). */
+ if (con->type == CT_FLOATING_CON) {
+ floating_raise_con(con);
+ }
}
+ /*
+ * Raise container to the top if it is floating or inside some floating
+ * container.
+ *
+ */
+ static void con_raise(Con *con) {
+ Con *floating = con_inside_floating(con);
+ if (floating) {
+ floating_raise_con(floating);
+ }
+ }
+
+ /*
+ * Sets input focus to the given container and raises it to the top.
+ *
+ */
+ void con_activate(Con *con) {
+ con_focus(con);
+ con_raise(con);
+ }
+
/*
* Closes the given container.
*