Commit Graph

2189 Commits

Author SHA1 Message Date
Jonathan Rubenstein
5f20a026b2 [doc] install: Rename Running the Client to Usage
Also move relevant sentence into Usage
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
b64fa56b26 [doc] module: Add instructions for systemd-modules-load.d 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
df869a8e6b [all] README.md: Update Documentation section with /doc 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
5fb6c73263 [doc] host: Imported from host/README.md
Placed at bottom of Technical FAQ to hide it
host/README.md removed
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
2bee8d91b0 [module] README.md: Deleted file absorbed into /doc 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
77a4c114e9 [doc] module: Import from module/README.md 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
b2e460d19d [client] doc: Remove README.md as it has been absorbed into doc/install.rst 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
565b14f517 [doc] install: Add keybinds and full cli options from client/README.md 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
71cde7065b [doc] install: Add Keybindings from client/README.md 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
39c6b97582 [doc] install: Correct command line examples 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
211146b1a9 [doc] install: Add Command Line Options section
May in the future include up to date client options from the client
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
d44b55440f [doc] conf: Enable fixed sidebar 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
a868370a63 [doc] install: Add 'local' to AppArmor abstraction path
This prevents system upgrades from overriding the addition
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
19cb37dc58 [doc] obs: Fix code block for installing package
Co-authored-by: Guanzhong Chen <quantum2048@gmail.com>
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
1e7b368329 [doc] faq: Remove virt-manager instructions 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
c66a5c526a [doc] faq: Grammar and page flow improvements 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
3972482922 [doc] install: Grammar, formatting, and page flow 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
ab5271a2f7 [doc] credits: Add real name to quantum 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
2875adc7c3 [doc] credits: Add real name to xyene 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
e24b2455d1 [doc] index: Removed "Contents:" 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
a89c7993f9 [doc] credits: Add credits 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
940269c220 [doc] conf: Remove text under logo 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
5cb40875a2 [doc] install: Update Determining Memory formula 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
83f060b895 [doc] config: Add LG logo and favicon 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
02d6fd5133 [doc] install: Remove unofficial chocolatey package tip 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
0afaf040a1 [doc] troubleshooting: Wayland supports clipboard and remove reference to ubuntu 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
9084e261a7 [doc] install: Remove 7-zip and add period. 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
e5869942ca [doc] install: Convert bootleg notes into true notes 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
9d910ec37e [doc] conf: Correct spelling of "xyene" 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
fa871e9678 [doc] faq: FAQt checking and grammar changes
No I couldn't resist the pun no matter how much I tried
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
186038fd2e [doc] conf: Add master_doc to explicitly use index.rst
This is for compatibility with older sphinx versions
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
9669cd5ed7 [doc] index: Add new welcome message with release version 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
91e55b9d5f [doc] Import from wiki
Imported Installation, FAQ, Troubleshooting, OBS, and Technical FAQ pages
from wiki. Edits done to content as this is no longer a wiki, but versioned
in-repo documentation
2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
5b0ca835f8 [doc] Add _build directory to new .gitignore file 2021-05-25 16:57:52 +10:00
Jonathan Rubenstein
30d2035a3e [doc] Initialize Sphinx in /doc 2021-05-25 16:57:52 +10:00
arcnmx
1a530da139 [obs] fix oob cursor writes
Allocate enough memory for the cursor data!
2021-05-23 12:28:35 +10:00
Quantum
9db3cd7b51 [client] wayland: avoid protocol error when warping in capture mode
When using locked pointer (i.e. capture mode), it doesn't make sense to
warp the cursor, so we disable it. This fixes #540.
2021-05-22 13:22:31 +10:00
Quantum
fd531bd39b [client] wayland: use util_hasGLExt for swapping buffers with damage 2021-05-19 19:37:14 +10:00
Quantum
e70cfd84fb [client] egl: use eglSwapBuffersWithDamageKHR for cursor-only updates
Instead of damaging the entire surface when rendering a cursor move,
we can use the EGL_KHR_swap_buffers_with_damage extension to only
damage the part of the window covered by the cursor. This should
reduce the cursor movement latency on Wayland.
2021-05-19 18:56:36 +10:00
Quantum
f9a9953071 [client] egl: use new util_hasGLExt helper to check extensions
We previously used strstr, which can be prone to false positives when
the name of one extension is a substring of another extension.

This commit creates the helper function util_hasGLExt, which asserts
that the substring found in extension list is bounded by either spaces
or the beginning/end of the string.
2021-05-19 15:58:54 +10:00
Quantum
edbd6f6ade [client] wayland: implement minimize operation
This commit implements minimize for both xdg-shell and libdecor
pseudo-shell. This fixes #535.
2021-05-08 10:08:37 +10:00
Jonathan Rubenstein
c6d7fb8dd0 [common] option: Reformat help and support rST tables
Corners of table have '+' added, and adds new command line flag --rst-help,
which adds some extra formatting to the make it an rST compliant table for the
in-line docs.
2021-05-06 22:32:36 +10:00
Geoffrey McRae
903cc9815f [client] x11/sdl/wayland: implement new minimize (stub for wayland)
This implements the new minimize function introduced in the last commit
for x11 and SDL. Wayland at current is just a stub and needs some
attention.
2021-05-06 22:25:38 +10:00
Geoffrey McRae
f698e4589d [client] ds: add new minimize function to the ds interface
This change is to allow the application to minimize the window on focus
loss if the user's preferences are configured to do this.
2021-05-06 22:24:42 +10:00
Geoffrey McRae
bdfb18299d [client] core: clamp the local position to the dstRect correctly
When running in a mode that is letterboxed the dstRect origin is not 0x0
2021-05-05 23:18:13 +10:00
Geoffrey McRae
9dd11b5e04 [client] main: fix failure to obey win:autoResize 2021-05-05 23:17:15 +10:00
Quantum
0f2fd84724 [client] ds: avoid util_cursorToInt when warping pointer
Using util_cursorToInt messes with the error tracking for normal movements,
and is not necessary since we are computing an absolute position on the
client window.

Instead, we should pass doubles directly to display servers and let them
decide how to best handle them. For example, XIWarpPointer accepts doubles
directly.
2021-05-04 19:02:13 +10:00
Quantum
71c9680245 [client] wayland: use locked pointer to implement capture mode
This prevents the host cursor from moving into another window in capture
mode, solving the problem of input going to an overlapping window in
capture mode, and also preventing loss of focus with focus_follows_mouse.
2021-05-04 18:17:19 +10:00
Quantum
00c2773e6b [client] ds: separate grab and capture logic
Currently, (un)grabPointer is used both for tracking/confining the mouse
in normal mode, as well as entering/exiting capture mode. This makes it
impossible to use separate cursor logic for capture mode, which is needed
to deal with overlapping windows for the Wayland backend.

This commit creates separate (un)capturePointer for entering/exiting
capture mode. There should be no behaviour changes.
2021-05-04 18:17:19 +10:00
Geoffrey McRae
7acbc57bc7 [client] x11: remove pointer motion event mask
This was added as a test when developing the overlapping window code and
is not needed/used.
2021-05-04 18:11:30 +10:00