[dev] [spacebed] Unable to hub to space when other space's window gets focused

From: Carl Dong <contact_AT_carldong.me>
Date: Tue, 10 Apr 2018 02:45:58 -0400

I'm trying to use `spacebed` for embedding my `st` terminal and my `emacsclient`. I've got everything working, with a script that spawns `spacebed`, and embeds a space for `st` and another space for `emacsclient -nc`.

However, I've found that I can't open files from `st` inside my `emacsclient`. In particular, I've given the command `emacsclient -n .xinitrc && emacsclient --eval "(x-focus-frame nil)"`, which should open `.xinitrc` in an existing `emacsclient` frame and focus on that frame. It appears that `emacsclient` is focused after I invoke the command, but the `spacebed` top bar shows that `st` is still the selected space, and my keyboard inputs were going to `st` rather than `emacsclient`. I'd have to manually click the `emacsclient` space to make it respond to my keyboard inputs.

I'm on `b5f9ec647aae2d9a1d3bd586eb7523a4e0a329a3` right now with the following `config.h`: https://pastebin.com/P2jeER8d

I feel like I'm going to be using spacebed a lot, so if someone can point me in the right direction, I'd be happy to investigate and upload a pull request.

​Cheers,
Carl Dong
contact_AT_carldong.me
Received on Tue Apr 10 2018 - 08:45:58 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 10 2018 - 08:48:18 CEST