Commit graph

3844 commits

Author SHA1 Message Date
lbonn
ff2338c38f Set -dev version 2023-07-23 14:31:22 +02:00
lbonn
af752c1526 Bump to 1.7.5+wayland2
A few bug fixes and features are worth releasing!
2023-07-23 14:13:05 +02:00
MoetaYuko
0b223c16f3 Wayland: Apply scaling to cursor surface
Loading cursor theme and creating cursor surface are postponed to
wayland_pointer_enter because we don't know the display scale in the
early wayland_display_setup.

Partially fixes #45
2023-07-23 14:10:10 +02:00
MoetaYuko
2c0fcf9da9 [IconFetcher] Apply scaling when loading images and icons
Partially fixes #45
2023-07-23 14:10:10 +02:00
Matěj Cepl
d06095b5ed Propose new PRs to go the 'wayland' branch, not the upstream one.
'next' branch is AFAIK for new contributions to the parent repo
of this program, not our Wayland version.
2023-03-22 15:01:28 +01:00
Matěj Cepl
4046eafdb5 Add information about the openSUSE package
It is just a regular package in Factory.
2023-03-22 10:47:28 +01:00
lbonn
c6b4dfe0b5 [Doc] remove some links to upstream rofi
To not spam upstream project with wayland-related inquiries
2023-02-18 19:48:55 +01:00
lbonn
fd764eb036 Wayland: fix NULL pointer access 2023-02-11 16:46:44 +01: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
5d4a3e1478 [Doc] Update on window mode in README 2022-12-27 00:00:45 +01:00
Aleksei Bavshin
61f96e4cca [Doc] Update Fedora package link.
rofi-wayland is available from the official Fedora repositories.
2022-11-27 02:02:49 +01:00
Aleksei Bavshin
42c6697a6b [WaylandWindow] Remove redundant icon fetcher query.
rofi_icon_fetcher is async, so we won't know which query succeeded on
the first try. All subsequent attempts use cached_icon_uid, and the
result of the first query will never be used.
Do the same as XCB window mode and request only lowercase app_id.
2022-11-27 02:02:49 +01:00
Aleksei Bavshin
2d6d3a2259 [WaylandWindow] Apply changes from b3c46d2:
Add format option to disable padding with space the "window-format" entries.
2022-11-27 02:02:49 +01:00
waicool20
fd0ef6bc15 Fix for segfault after updating to KDE 5.26 2022-10-19 02:08:29 +02:00
lbonn
e861df39f2 Wayland: fix wayland-only build 2022-10-06 15:58:32 +02:00
lbonn
d44b81e778 Merge remote-tracking branch 'upstream/next' into wayland 2022-10-05 18:49:54 +02:00
lbonn
ce950c2ad8 Wayland: Fix incomplete merge/refactor of xcb display 2022-10-05 18:42:54 +02:00
lbonn
d19e8cfe10 Reformat xcb/display.c
To match xcb.c upstream (954fc728b2)
2022-10-05 18:18:35 +02:00
lbonn
98bae3b128 Set -dev version 2022-10-05 17:59:10 +02:00
David Kosorin
b3c46d2d5a
Add format option to disable padding with space the "window-format" entries (#1715) 2022-10-03 19:13:22 +02:00
Quentin Glidic
95fe682939
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 18:00:04 +02:00
Dave Davenport
35d066efe2 [Script] Split mode string only once on :, allowing : in right part.
Issue: #1718
2022-10-03 16:58:45 +02:00
Quentin Glidic
5a979b0afe
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 13:19:58 +02:00
Quentin Glidic
1f7be5ada5
submodules: Update libgwater
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 13:19:53 +02:00
lbonn
fee3c43751 [Build] Fix update-manpage in release tarballs 2022-09-28 11:56:24 +02:00
Dave Davenport
08bd2f2c69 Merge remote-tracking branch 'github/next' into next 2022-09-25 21:46:36 +02:00
Dave Davenport
5185895643 [window] Check bitmask, not full comparison 2022-09-25 21:45:51 +02:00
a1346054
362e3cd6ff
Use command -v instead of which (#1704)
`command -v` is the standardized version of `which`
2022-09-19 17:06:14 +02:00
Dave Davenport
5ae8fa5a3f [Keyb] Add a -list-keybindings command. 2022-09-18 20:28:38 +02:00
nomoo
0b72ff2a74
Fix sed binary call with variable (#1707)
* Use variable instead of binary name

* Use variable for sed
2022-09-13 22:41:41 +02:00
Dave Davenport
858d6c030c [listview] Add extra checks before resolving pointer.
Issue: #1703
2022-09-10 17:42:49 +02:00
Aleksei Bavshin
8995b575df [Window] window-match-fields support for Wayland window mode
The only supported fields are 'title' and 'app-id' ('class') due to a
Wayland protocol limitations.
2022-09-08 09:16:24 +02:00
Aleksei Bavshin
348df95435 Enable Window mode by default on wayland. 2022-09-08 09:16:24 +02:00
Aleksei Bavshin
f8c97bab98 [Window] Formatting support for Wayland window mode
Use `window-format` to configure lines in the Wayland Window view.
Note that only `{t}` (title) and `{c}` (class) are supported on Wayland.
It is suggested to change the format string to `{c}    {t}`.
2022-09-08 09:16:24 +02:00
Aleksei Bavshin
1e4ef36611 [Window] Initial support for wayland window switcher
The code still lacks a lot of features of XCB Window mode, but at least
following should work:
 - Activate and Delete (close) actions
 - matching by window title
 - live update
 - icon lookup by app_id
2022-09-08 09:16:24 +02:00
Dave Davenport
fce721a105 [Textbox] Add 'placeholder-markup' flag.
Fixes: #1690
2022-08-28 21:47:05 +02:00
Dave Davenport
cb6afae71f [Test][Theme] Update test for downgrade error 2022-08-26 14:12:51 +02:00
Dave Davenport
594c7f2b31 [Theme] If no theme loaded, load default. Downgrade missing theme file to warning.
Issue: #1689
2022-08-26 14:05:16 +02:00
Dave Davenport
0f097f2998 [DMenu] reset variable correctly so keep-selection is initially off.
fixes: #1686
2022-08-24 15:10:58 +02:00
lbonn
9ec86220d5 Fix wayland-only build 2022-08-24 00:45:36 +02:00
lbonn
7adf0be146 Fix CI 2022-08-24 00:36:27 +02:00
lbonn
f792680b48 Merge tag '1.7.5' into wayland 2022-08-24 00:14:11 +02:00
lbonn
4e833a4ec4 Merge tag '1.7.4' into wayland 2022-08-24 00:05:02 +02:00
lbonn
f2e08e7425 wayland: fix some compiler warnings 2022-08-24 00:03:58 +02:00
Dave Davenport
d4b77207dd Update test for # keybindings. 2022-08-22 21:57:29 +02:00
Dave Davenport
09b9e32fd1 Merge remote-tracking branch 'github/next' into next 2022-08-22 21:53:30 +02:00
Dave Davenport
fc07619ac6 [View|Xcb] Add support to copy current selected item to clipboard
Adds control-v binding that copies it to the clipboard.
THIS ONLY WORKS WITH CLIPBOARD MANAGER!!! once rofi is closes, the data is
gone!

This needs to be tested. Documentation on this is lacking so reversed
engineered from other applications.

TODO: how do we do the SAVE_TARGETS?

fixes: #378
2022-08-22 21:44:52 +02:00
Jasper Lievisse Adriaanse
c896cbbca4
Include sys/stat.h for S_IWUSR (#1685) 2022-08-21 20:51:03 +02:00
Dave Davenport
d1e275314e Few more updates to issue template. 2022-08-21 17:27:55 +02:00