Commit graph

18 commits

Author SHA1 Message Date
lbonn
f2e08e7425 wayland: fix some compiler warnings 2022-08-24 00:03:58 +02:00
Jakub Jirutka
e963c3174a [Wayland] Implement partial support for offset properties on window
...using zwlr_layer_surface_v1::set_margin. It's only partial because
surface margin has effect only when the the window is located on edge of
the screen, not in center. Also the anchor property is not implemented,
the anchor point is always the edge of the window corresponding to the
location property.
2021-10-16 12:54:27 +02:00
sporif
083a88fa39 Fix cursor size
Default to a size of 24 pixels
Use the environment variable XCURSOR_SIZE if it's set
2021-10-15 13:57:01 +02:00
Quantum
06da4cf24c Implement async clipboard support for Wayland
This uses GIOChannels and the Glib event loop to read the file descriptor
in an asynchronous fashion.
2021-09-30 21:27:34 +02:00
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
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
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