diff --git a/src/x11/events.c b/src/x11/events.c index 02c8509dc..cc4bde684 100644 --- a/src/x11/events.c +++ b/src/x11/events.c @@ -1580,19 +1580,18 @@ handle_other_xevent (MetaX11Display *x11_display, workspace = meta_workspace_manager_get_workspace_by_index (workspace_manager, space); - /* Handle clients using the older version of the spec... */ - if (time == 0 && workspace) - { - meta_warning ("Received a NET_CURRENT_DESKTOP message " - "from a broken (outdated) client who sent " - "a 0 timestamp\n"); - time = meta_x11_display_get_current_time_roundtrip (x11_display); - } - if (workspace) - meta_workspace_activate (workspace, time); + { + /* Handle clients using the older version of the spec... */ + if (time == 0) + time = meta_x11_display_get_current_time_roundtrip (x11_display); + + meta_workspace_activate (workspace, time); + } else - meta_verbose ("Don't know about workspace %d\n", space); + { + meta_verbose ("Don't know about workspace %d\n", space); + } } else if (event->xclient.message_type == x11_display->atom__NET_NUMBER_OF_DESKTOPS)