Comments (5)
Awesome! But this is definitely a bug so I'm going to leave it open till we can fix it.
from exwm.
I can confirm. It should leave the X window behind. I'm guessing this is a "time of check" bug in the EXWM focusing logic. If you run (progn (split-window-right) (sit-for 0.1) (other-window 1))
it works just fine.
from exwm.
Thanks, I've updated my personal function. If anyone's interested I've changed it to the following.
(defun split-window-right-and-focus ()
(interactive)
(if (string-equal major-mode "exwm-mode")
(progn
(split-window-right)
(sit-for 0.1)
(other-window 1))
(split-window-right)
(other-window 1)))
I can see this issue potentially cropping up again with anyone trying manipulate windows quickly, Ill close this as completed for now.
EDIT: use this instead;
(defun split-window-right-and-focus ()
(interactive)
(split-window-right)
(redisplay)
(other-window 1))
from exwm.
This might save you 100ms : ch11ng/exwm#685 (comment)
from exwm.
This might save you 100ms : ch11ng/exwm#685 (comment)
Thank you, I've updated the function with the redisplay workaround
from exwm.
Related Issues (20)
- improve debugging HOT 2
- Make minor-modes idempotent
- Fullscreen windows can hide minibuffer
- Transfer open issues from previous github issue tracker HOT 4
- Follow up on FSF copyright assignment for open pull request HOT 1
- Add exwm-minor-mode HOT 14
- exwm-workspace vs tab-bar-mode HOT 6
- Deprecate exwm-config HOT 1
- wrong-type-argument listp rect HOT 5
- Handle startup-notifications
- exwm-layout-toggle-fullscreen does not work unless called interactively
- grab emacs frame with OBS
- Floating Emacs buffers
- Corfu, posframe, and child frames HOT 1
- Notification server? HOT 3
- Can the buffer listing of exwm-workspace-switch-to-buffer be extended to include the workspace?
- Support highlight bordor color of the focused floating window
- Warning (emacs): [EXWM] EXWM fails to start (void-function: (length<)) HOT 1
- New release 0.31 HOT 2
- `exwm-workspace--update-workareas` Wrong type argument HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exwm.