diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-07-05 14:29:56 -0700 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-05-13 11:22:24 +0300 |
commit | da6ff49008e3a20a4bac05e10a0ac62035f472ae (patch) | |
tree | c51a0fd0080c73e8a501fcdae7d9650b1a260d78 | |
parent | 12c4f35ca5a6f596518d50b2b2c647608c3d3410 (diff) | |
download | metacity-da6ff49008e3a20a4bac05e10a0ac62035f472ae.tar.gz |
delete: remove old code
It doesn't compile
-rw-r--r-- | src/core/delete.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/core/delete.c b/src/core/delete.c index 4931b36c..df489af4 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -144,37 +144,8 @@ 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); - } } - void meta_window_kill (MetaWindow *window) { |