lbonn
cebb0fd1a7
Merge remote-tracking branch 'upstream/next' into wayland
2025-02-13 09:35:15 +01:00
lbonn
0a0cc5f6d7
Remove duplicated disable history code
2024-11-10 20:49:42 +01:00
lbonn
d2ad9fe828
[Wayland] Fix remaining non-strict C prototypes
2024-02-27 13:34:41 +01:00
Aleksei Bavshin
cb6fd22118
[WaylandWindow] Unmap surface before sending activation request
...
Fixes lbonn/rofi#117
2024-02-26 19:32:40 +01:00
Aleksei Bavshin
8f259ce9b0
[Wayland] Cursor types support
2024-01-08 16:08:01 +01:00
Aleksei Bavshin
5bc2f09241
Re-indent Wayland sources with clang-format
2024-01-07 14:02:17 +01:00
Aleksei Bavshin
8ea79da037
[Wayland] Implement config.dpi
support.
...
The correct value of `config.dpi` is required to support physical units
in the themes (e.g. `mm` `in sidebar-v2`).
2024-01-05 17:10:52 +01:00
lbonn
bb85634182
Merge remote-tracking branch 'upstream/next' into wayland
2023-09-14 17:37:40 +02:00
lbonn
f8bec1453c
Wayland: real fullscreen support
...
See #64
2023-02-11 00:12:21 +01:00
lbonn
93b2a1ad33
Fix redraw bug when changing window height
...
See #59
2023-02-10 22:39:05 +01:00
lbonn
f2e08e7425
wayland: fix some compiler warnings
2022-08-24 00:03:58 +02:00
lbonn
853c8c9af3
Merge remote-tracking branch 'upstream/next' into wayland
2022-07-16 12:37:31 +02:00
lbonn
1e8c22b4a0
Merge remote-tracking branch 'upstream/next' into wayland
2022-04-17 11:19:36 +02:00
lbonn
396b13f5a8
wayland: quick fix for changing height
...
We use the surface size of a fullscreen layer to calculate screen size.
But when height is recomputed and given as a percentage, this definition
becomes self-referencing.
Do a quick fix by caching the monitor resolution.
2022-02-05 13:13:17 +01:00
lbonn
70efa84f9b
Merge remote-tracking branch 'upstream/next' into wayland
2021-10-25 20:14:21 +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
Jakub Jirutka
7ce8c8584b
Remove unused/surplus xcb-related includes
...
Includes in the rofi code base are a complete mess; there are many
needless includes and many files rely on transitive includes.
I used include-what-you-use tool to find them. There are much more,
I cherry picked only suggestions relevant to the goal - allow building
rofi without XCB dependencies.
This doesn't break X11 support and it can be upstreamed (after rebasing
and removing changes in wayland-stuff).
2021-09-30 21:48:44 +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
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
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