Age | Commit message (Collapse) | Author |
|
|
|
Saving the window rectangle and snap mode. Frame title alignment.
|
|
Windows-key shortcuts and cursor edge snapping.
Still missing: window shadow and saving the snap mode.
|
|
A borderless SDL window gets no standard window behavior, so
this commit implements support for some of them. There is
special handling for the window frame and various snapping modes.
Not quite finished yet... It might make sense to research if
a custom window class could work with this app (with SDL); could be
less work.
|
|
Avoids having a flash of white or other system-provided default window
contents when opening a window for the first time.
|
|
Attempting to ask SDL about a non-existent window's ID.
|
|
IssueID #138
|
|
IssueID #130
|
|
The Stop/Reload button shows a little Unicode animation during downloads.
IssueID #101
|
|
Rearrange and draw window contents with an event watcher during window resizing because SDL is blocking the main thread.
Tested on macOS so far, may need a build option.
In reference to SDL bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2077
|
|
Likely a rare situation, but this workaround should be relatively
safe -- ignore keydown events if they occur less than 10 milliseconds
after the window has received input focus.
IssueID #10
|
|
Also, added a command that gets posted when the mouse exits or enters the window area. This lets the hover outline to be updated accordingly.
|
|
Window position and size are stored when move/resize events are received, not only when the window is closed.
|
|
Build option to use software rendering if running under X11, and another
option to set the position of a window only after the window has been
shown. The latter is a workaround for an SDL bug regarding window
borders affecting the initial position.
|
|
|
|
|
|
The modal sheets switch mouse cursor to the default arrow.
|
|
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width.
Sheets are mouse-modal.
|
|
Create the window using the correct size and position, and don’t show the window contents while app state is being restored.
|
|
There can be multiple inline media requests on the page. Images are always associated with a link.
|
|
|
|
Borrowing the app skeleton from Bitwise Harmony.
|