aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c
index 0b12b82..ec0d6b5 100644
--- a/src/event.c
+++ b/src/event.c
@@ -696,8 +696,8 @@ void HandleClientMessage(const XClientMessageEvent *event) {
}
} else if(event->message_type == atoms[ATOM_NET_ACTIVE_WINDOW]) {
-
RestoreClient(np, 1);
+ ChangeDesktop(np->state.desktop);
FocusClient(np);
} else if(event->message_type == atoms[ATOM_NET_WM_DESKTOP]) {