skia2/tools/sk_app/unix
Brian Osman ba3e8f9779 Improve Viewer on UNIX
- We were using the wrong keycodes for letters, so we never triggered
  undo/redo/copy/paste in response to Ctrl+Letter combos.

- ImGui comes with system clipboard support on Windows and Mac, but not
  UNIX/Linux. I added a bare bones X11 implementation, enough to support
  copying and pasting text in and out of the ImGui text windows. There
  is a bit of a delay when pasting to another program, probably because
  we're not running a dedicated thread to handle those events. It looks
  like we get a flurry of events before the real SelectionRequest.

- Note that this leaves the virtual clipboard functions on Window only
  implemented for UNIX. We could supply our own copies for Win/Mac and
  other platforms, if anyone really cares.

Change-Id: I2701e077ff2b6dff5ae3c5127c24b0937b893c89
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334049
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-11-11 16:24:25 +00:00
..
DawnVulkanWindowContext_unix.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GLWindowContext_unix.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
keysym2ucs.c rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
keysym2ucs.h
main_unix.cpp sk_app, editor: cursor blink 2019-08-02 15:36:40 +00:00
RasterWindowContext_unix.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
VulkanWindowContext_unix.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
Window_unix.cpp Improve Viewer on UNIX 2020-11-11 16:24:25 +00:00
Window_unix.h Improve Viewer on UNIX 2020-11-11 16:24:25 +00:00
WindowContextFactory_unix.h Update dawn.h -> webgpu.h, dawn_cpp.h -> webgpu_cpp.h. 2019-12-04 15:24:16 +00:00