summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <[email protected]>2015-07-05 14:29:56 -0700
committerZenWalker <[email protected]>2019-03-28 14:24:12 +0100
commit407b398c66d4cb1ee06df9a552984e7f038314e4 (patch)
tree2d6abd858cbdd8e13ef7d7a3917a48e9a3ce14f7
parentb0df98a1c2745b20325ae1d70413601dda9b46dd (diff)
downloadmarco-407b398c66d4cb1ee06df9a552984e7f038314e4.tar.bz2
marco-407b398c66d4cb1ee06df9a552984e7f038314e4.tar.xz
delete: remove old code
It doesn't compile Signed-off-by: rbuj <[email protected]>
-rw-r--r--src/core/delete.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/core/delete.c b/src/core/delete.c
index 4d0c7cd2..056f76be 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -146,34 +146,6 @@ meta_window_delete (MetaWindow *window,
delete_ping_reply_func,
delete_ping_timeout_func,
window);
-
- if (window->has_focus)
- {
- /* FIXME Clean this up someday
- * http://bugzilla.gnome.org/show_bug.cgi?id=108706
- */
-#if 0
- /* This is unfortunately going to result in weirdness
- * if the window doesn't respond to the delete event.
- * I don't know how to avoid that though.
- */
- meta_topic (META_DEBUG_FOCUS,
- "Focusing default window because focus window %s was deleted/killed\n",
- window->desc);
- meta_workspace_focus_default_window (window->screen->active_workspace,
- window);
-#else
- meta_topic (META_DEBUG_FOCUS,
- "Not unfocusing %s on delete/kill\n",
- window->desc);
-#endif
- }
- else
- {
- meta_topic (META_DEBUG_FOCUS,
- "Window %s was deleted/killed but didn't have focus\n",
- window->desc);
- }
}