discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=70a33bcbe97568880ace57d1492e7608a7d67aa0
commit 70a33bcbe97568880ace57d1492e7608a7d67aa0 Author: Marcel Hollerbach <marcel-hollerb...@t-online.de> Date: Sun Aug 13 18:19:26 2017 +0200 tiling: show notification if a client cannot be tiled this at least tells the user that the client could not be tiled and not just mysterically putting it under floating. --- src/modules/tiling/e_mod_tiling.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index b165b8921..9abb0c77c 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -707,7 +707,21 @@ toggle_floating(E_Client *ec) void tiling_e_client_does_not_fit(E_Client *ec) { + E_Notification_Notify n; + Eina_Strbuf *buf; + + buf = eina_strbuf_new(); + eina_strbuf_append_printf(buf, "Window %s cannot be tiled\n", ec->netwm.name); + + n.app_name = _("Tiling"); + n.icon.icon = "dialog-error"; + n.summary = _("Window cannot be tiled"); + n.body = eina_strbuf_string_get(buf); + n.timeout = 2000; + e_notification_client_send(&n, NULL, NULL); toggle_floating(ec); + + eina_strbuf_string_free(buf); } static void --