server: don't try to activate a window on creation
This commit is contained in:
parent
c31679aa41
commit
d1639eca87
1 changed files with 0 additions and 3 deletions
|
|
@ -655,9 +655,6 @@ impl<C: XConnection> ServerState<C> {
|
|||
.find_map(|line| line.strip_prefix(b"XDG_ACTIVATION_TOKEN="))
|
||||
.and_then(|token| String::from_utf8(token.to_vec()).ok())
|
||||
});
|
||||
if activation_token.is_none() {
|
||||
self.activate_window(window);
|
||||
}
|
||||
self.windows.insert(
|
||||
window,
|
||||
WindowData::new(window, override_redirect, dims, parent, activation_token),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue