-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle "close window" event and interrupt signal #3
Comments
I definitely have these problems... but does it work on Linux? |
neither window close nor ctrl+c work on linux either, though the key press is intercepted correctly |
On mac, I'm not seeing any evidence that any keypresses are received correctly... |
Termination detection in pipes also allows Servo to close on its own accord (issue servo#3)
Ctrl-C works on Mac in the window where you started Servo, but not in the browser window. I'm going to investigate how to make the close button work. |
Evidently the answer is that GLUT doesn't support the "close window" widget on the Mac. D'oh. (Command-Q works for quitting, though.) |
This was fixed by shifting to GLFW afaik. |
Confirmed, thanks. |
Update format-field-parsing.htm
Update storagesize9xml.xml
This shows how we can partially get around the problem with types defined in foreign crates etc. In rust-sesssions, we could imagine creating a trait and impl like this: ``` unsafe trait Closeable { fn close(self); } unsafe impl Closeable for Vec<Chan<Eps>> { #[allow_drop="collections::vec::Vec<Chan<Eps>>"] fn close(self) { } } ``` Of course, there's a problem with the environment, as the Chan actually looks like `Chan<E, Eps>`, where E is something we don't know, and don't really care about. TODO: Some kind of pattern matching could perhaps solve this? cc servo#3
Optimize `TextRun::advance_for_range`. The combined effects of these optimizations move `advance_for_range` from #1 in the layout profile on all sites I tested to #2, #3, or #4, depending on the site. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8990) <!-- Reviewable:end -->
feat: add helper function to extract hwm and size from queuing strategy
Currently servo can only be ended using
kill -9
.It should end when
Edit: This is on Mac OS X
The text was updated successfully, but these errors were encountered: