diff options
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r-- | src/libsystemd-terminal/evcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-terminal/evcat.c b/src/libsystemd-terminal/evcat.c index 590a30d873..8c27fb2c54 100644 --- a/src/libsystemd-terminal/evcat.c +++ b/src/libsystemd-terminal/evcat.c @@ -313,8 +313,6 @@ static int evcat_sysview_fn(sysview_context *c, void *userdata, sysview_event *e return r; } - idev_session_enable(e->idev_session); - if (e->managed) { r = sysview_session_take_control(ev->session_add.session); if (r < 0) { @@ -323,6 +321,8 @@ static int evcat_sysview_fn(sysview_context *c, void *userdata, sysview_event *e } } + idev_session_enable(e->idev_session); + break; case SYSVIEW_EVENT_SESSION_REMOVE: idev_session_disable(e->idev_session); |