Commit graph

20 commits

Author SHA1 Message Date
lbonn
2a68677b6a Initial clipboard support for wayland
Using wl_data and primary_selection protocols
2021-09-06 15:34:53 +02:00
lbonn
6baa463264 Merge commit '954fc728b29d3c63a09a84870f29b57640062966' into wayland
Formatting changes only
2021-09-06 13:01:37 +02:00
lbonn
deb9330a0d Merge commit '1a1dc7282f5ed010af874398b5b3d70ea7cda8e8' into wayland 2021-09-06 13:00:57 +02:00
lbonn
7d4c5e8bd9 Run indenter 2020-11-25 19:10:26 +01:00
lbonn
87b48ce755 Revert "Use TOP layer instead of OVERLAY on Wayland"
This reverts commit dc1b15945a.

Given the current options, it's probably better to show rofi on top of
lock screens than not show it on top of full screen windows.

Discussion:
https://github.com/lbonn/rofi/issues/12
https://github.com/lbonn/rofi/issues/7
2020-10-18 21:26:10 +02:00
lbonn
74a157c644 wayland: set anchors on both size when auto-sizing
See https://github.com/swaywm/wlroots/pull/2422,
https://github.com/swaywm/sway/pull/5712
2020-10-12 19:06:43 +02:00
lbonn
cef94af6e1 Merge remote-tracking branch 'upstream/next' into wayland 2020-09-29 21:10:56 +02:00
lbonn
2e1e362fd3 Fix fullscreen in wayland mode
Fixes #6
2020-09-02 20:51:10 +02:00
lbonn
1f828cb2c5 Fix font configuration on wayland
Fixes #9
2020-09-02 16:21:14 +02:00
lbonn
bd9b5e8bf4 Do not crash when no buffer in pool
Was causing segfaults when window content updates too fast.
2020-09-02 16:19:49 +02:00
lbonn
33fbefdb8d Account for no active view state in various callbacks 2020-09-02 16:19:44 +02:00
lbonn
d3e96f2762 Run indenter 2020-09-02 16:03:49 +02:00
lbonn
dc1b15945a Use TOP layer instead of OVERLAY on Wayland
Overlay is reserved for lock screens and similar programs.

Fixes #7
2020-08-14 17:20:21 +02:00
lbonn
04d2a7a73d wayland: High DPI support 2020-07-24 19:30:02 +02:00
lbonn
17b4265a5f Put most of view implementation in common 2020-07-24 19:30:02 +02:00
lbonn
8e53896bbd Avoid some indirections 2020-07-24 19:30:02 +02:00
lbonn
183b6b618e Factorize some view code 2020-07-24 19:30:02 +02:00
lbonn
98a9635173 Make xcb and wayland implementations coexist 2020-07-24 19:30:02 +02:00
lbonn
97ea1c6d0b Continue work on wayland mode
- Fix mouse support
- Handle key repeats
- Positioning
- Fix periodic count updates
2020-07-24 19:30:02 +02:00
lbonn
7d94413675 Display something on wayland with layer shell
Based on sardemff7 previous wayland attempt
2020-07-24 19:30:02 +02:00