mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05: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
|
|
@ -632,7 +632,9 @@ server_init(struct server *server)
|
|||
*
|
||||
* https://wayfire.org/2020/08/04/Wayfire-0-5.html
|
||||
*/
|
||||
wlr_primary_selection_v1_device_manager_create(server->wl_display);
|
||||
if (rc.primary_selection) {
|
||||
wlr_primary_selection_v1_device_manager_create(server->wl_display);
|
||||
}
|
||||
|
||||
server->input_method_manager = wlr_input_method_manager_v2_create(
|
||||
server->wl_display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue