Comments (3)
It's conceivable this is another (!) emacs bug? At least, urxvt does not show the same problem.
from embedded-emacs.
This is an emacs bug. In Fx_create_frame
, the new window is only cons'd onto Vframe_list
after a few calls, but the window is attached on x_window
. In between, there are a number of calls to UNBLOCK_INPUT
which pump the event loop. If the XEMBED_FOCUS_IN
message comes in too early (before the frame is made official), x_detect_focus_change
ignores the message and we get the visual artifact.
from embedded-emacs.
More findings: the reason emacs doesn't normally have problems here is because the window is mapped after it is added to Vframe_list
. This means the Focusin
events won't come in until emacs is ready. But GtkSocket
sends XEMBED_FOCUS_IN
immediately after sending XEMBED_EMBEDDED_NOTIFY
instead of waiting for the window to be mapped. This seems clearly bogus, although I think the spec is pretty vague here. Probably worth a patch to GTK3, but that's not going to help this project any.
Probably worth trying to hack around this in emacs somehow or reimplementing XEmbed in the plugin, or at least messing with the GTK version.
from embedded-emacs.
Related Issues (14)
- Installation Documentation HOT 1
- Unify coding style
- Find XEmbed-capable terminal
- Launcher should validate window id
- Move to manifest version 2 when Chrome 18 is stable
- Investigate using Command API
- Restrict container plugin to chrome extension
- Workaround Emacs 23 sizing bug
- Allow strings to be translated, etc.
- Remove focusing hack
- gVim does not focus immediately
- Restore textarea focus after editor exits
- Remove CSP dummy workaround
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 embedded-emacs.