mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
config: add <core><primarySelection>
...to enable/disable primary selection clipboard support. This only works on launch. The reason it is useful to be able to disable this is that some clients (like browsers) support middle-button-click to start scrolling up/down. With some clients can be disabled via gsettings set org.gnome.desktop.interface gtk-enable-primary-paste false ...but for others (like chromium and electron based programs) a compositor setting is required. Fixes: #2815
This commit is contained in:
parent
c63ba3c7fa
commit
145de91932
5 changed files with 15 additions and 1 deletions
|
|
@ -177,6 +177,7 @@ this is for compatibility with Openbox.
|
|||
<autoEnableOutputs>yes</autoEnableOutputs>
|
||||
<reuseOutputMode>no</reuseOutputMode>
|
||||
<xwaylandPersistence>no</xwaylandPersistence>
|
||||
<primarySelection>yes</primarySelection>
|
||||
</core>
|
||||
```
|
||||
|
||||
|
|
@ -235,6 +236,12 @@ this is for compatibility with Openbox.
|
|||
|
||||
Note: changing this setting requires a restart of labwc.
|
||||
|
||||
*<core><primarySelection>* [yes|no]
|
||||
Enable or disable the primary selection clipboard. May only be
|
||||
configured at launch. This enables autoscroll (middle-click to scroll
|
||||
up/down) in Chromium and electron based clients without inadvertantly
|
||||
pasting the primary clipboard. Default is yes.
|
||||
|
||||
## PLACEMENT
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
<autoEnableOutputs>yes</autoEnableOutputs>
|
||||
<reuseOutputMode>no</reuseOutputMode>
|
||||
<xwaylandPersistence>no</xwaylandPersistence>
|
||||
<primarySelection>yes</primarySelection>
|
||||
</core>
|
||||
|
||||
<placement>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue