Skip to content

Commit a58b3ae

Browse files
Update documentation and changes
1 parent 77a0452 commit a58b3ae

File tree

10 files changed

+49
-17
lines changed

10 files changed

+49
-17
lines changed

CHANGES

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
Louvre (2.5.0-1)
2+
3+
# New Protocols
4+
5+
* Idle Notify (see `LIdleListener` for details).
6+
* Idle Inhibit (see `LSeat::idleInhibitorSurfaces()` for details).
7+
8+
# Packaging
9+
10+
* Added Fedora package in the downloads section. Credits to @Conan-Kudo.
11+
12+
# Examples
13+
14+
* New louvre-views Shortcuts: Credits to @mishoo:
15+
* `Super + L/R Click`: Starts interactive move/resize for top-level windows.
16+
* `Super + Shift + PageUp`: Toggle maximize.
17+
* `Super + Shift + PageDown`: Minimize.
18+
19+
# Bug Fixes
20+
21+
* Prevent `weston-terminal` from launching when switching to TTY 1. Credits to @mishoo.
22+
* Allow VT switching using the right CTRL key. Credits to @mishoo.
23+
24+
-- Eduardo Hopperdietzel <ehopperdietzel@gmail.com> Tue, 06 Aug 2024 13:59:30 -0400
25+
26+
127
Louvre (2.4.1-1)
228

329
# Bug Fixes & Security

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Louvre is released under the MIT license." />
88
</a>
99
<a href="https://github.com/CuarzoSoftware/Louvre">
10-
<img src="https://img.shields.io/badge/version-2.4.1-brightgreen" alt="Current Louvre version." />
10+
<img src="https://img.shields.io/badge/version-2.5.0-brightgreen" alt="Current Louvre version." />
1111
</a>
1212
</p>
1313

@@ -57,6 +57,8 @@ Fortunately, Louvre simplifies this intricate process by handling all the comple
5757
* Fractional Scale
5858
* Tearing Control
5959
* Session Lock
60+
* Idle Notify
61+
* Idle Inhibit
6062
* Content Type Hint
6163
* Wlr Gamma Control
6264
* Wlr Layer Shell
@@ -155,7 +157,6 @@ Similarly as with CPU consumption, we can observe that Louvre uses fewer GPU res
155157

156158
* Wlr Output Management
157159
* XDG activation Protocol
158-
* Idle Notify Protocol
159160
* Cursor Shape Protocol
160161
* DRM Overlay Planes Control
161162
* DRM Synchronization Object

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.5.0

doxygen/md/Downloads.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Pre-built binaries are provided for the following distributions. Please be aware that their versions may not always match the latest Louvre release.
66

77
* **Arch** : [louvre](https://aur.archlinux.org/packages/louvre) - *Thanks to [@TrialnError](https://aur.archlinux.org/account/TrialnError)*.
8+
* **Fedora** : [louvre](https://copr.fedorainfracloud.org/coprs/ngompa/louvre/) - *Thanks to [Neal Gompa](https://github.com/Conan-Kudo)*.
89
* **NixOS** : [louvre](https://search.nixos.org/packages?channel=unstable&show=louvre&from=0&size=50&sort=relevance&type=packages&query=louvre) - *Thanks to [Marco Rebhan](https://github.com/2xsaiko)*.
910

1011
## Manual Building

doxygen/md/Examples.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ The dock icons featured in the screenshot were sourced from <a href="https://mac
2828
* `Ctrl + Alt + [F1,...,F10]` : Switches to another TTY.
2929
* `Ctrl + Alt + [Left/Right arrow keys]` : Navigates to the left or right workspace. If supported, you can use three or more fingers on your touchpad.
3030
* `Alt + [mouse over maximize button]` : While hovering the cursor over a server-side decorated toplevel window, press `Alt` to maximize the window instead of setting it to fullscreen mode.
31+
* `Super + Shift + PageUp`: Toggle maximize.
32+
* `Super + Shift + PageDown`: Minimize.
3133
* `Super + Shift + V` : Toggles the current output VSync.
3234
* `Super + Shift + T` : Changes the current output transform.
3335
* `Super + Shift + W` : Launches Wofi in run mode.
3436
* `Super + Shift + [Up/Down arrow keys]` : Increments or decrements the current output scale factor by 0.25.
3537
* `Super + Shift + L + [Up/Down arrow keys]` : Modifies the priority of a focused LLayerShell surface.
38+
* `Super + L/R Click` : Starts interactive move/resize for toplevel windows.
3639

3740
### Wallpaper
3841

doxygen/md/tutorial/tmp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ Here are some links to the C++ API documentation to help you navigate it:
3232
- [Session Lock Manager](@ref lsessionlockmanager_detailed) and [role.](@ref lsessionlockrole_detailed)
3333
- [Toplevel](@ref ltoplevelrole_detailed) and [Popup](@ref ldnd_detailed) surfaces.
3434
- [Wlr Layer Shell](@ref llayerrole_detailed) and [Exclusive Zones.](@ref lexclusivezone_detailed)
35-
- [Foreign Toplevel Window Management.](@ref lforeigntoplevelcontroller_detailed)
35+
- [Foreign Toplevel Window Management.](@ref lforeigntoplevelcontroller_detailed)
36+
- [Idle Listeners and Inhibitors.](@ref lidlelistener_detailed)

src/lib/core/LIdleListener.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
/**
77
* @brief Idle state listener
88
*
9+
* @anchor lidlelistener_detailed
10+
*
911
* Clients using the [Idle Notify](https://wayland.app/protocols/ext-idle-notify-v1) protocol create an
10-
* instance of this class to be notified when the user has been idle for a set amount of time. Clients
11-
* like [swayidle](https://man.archlinux.org/man/swayidle) use this information to trigger screen lockers,
12+
* instance of this class to be notified when the user has been idle for a set amount of time. For example,
13+
* [swayidle](https://man.archlinux.org/man/swayidle) uses this information to trigger screen lockers,
1214
* screen savers, etc.
1315
*
1416
* @note All idle listeners can be accessed from LSeat::idleListeners().

src/lib/core/LOutput.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ class Louvre::LOutput : public LFactoryObject
325325
LFramebuffer *framebuffer() const noexcept;
326326

327327
/**
328-
* @brief Gets the framebuffer transformation.
328+
* @brief Gets the framebuffer transform.
329329
*
330-
* This method returns the current framebuffer transformation applied with setTransform().
330+
* This method returns the current framebuffer transform applied with setTransform().
331331
*
332332
* The default value is @ref LTransform::Normal.
333333
*
334-
* @return The framebuffer transformation.
334+
* @return The framebuffer transforma.
335335
*/
336336
LTransform transform() const noexcept;
337337

@@ -352,14 +352,14 @@ class Louvre::LOutput : public LFactoryObject
352352
*
353353
* @image html https://lh3.googleusercontent.com/2ousoWwxnVGvFX5bT6ual2G8UUbhUOJ21mK1UQmthPNM-7XfracRlL5GCYBQTzt4Os28eKO_FzC6BS-rasiNngvTMI9lEdET0ItKrI2wK_9IwSDaF-hNGkTMI6gVlL0m4ENDJYbckw
354354
*
355-
* @return The current buffer index. Alternates between [0], [0, 1] or [0, 1, 2] depending on the graphic backend configuration.
355+
* @return The current buffer index. Alternates between [0, 1] or [0, 1, 2] depending on the graphic backend configuration.
356356
*/
357357
Int32 currentBuffer() const noexcept;
358358

359359
/**
360360
* @brief Returns the count of available buffers.
361361
*
362-
* This method returns the number of buffers used by the output. It can be 1, 2 or 3 depending on the graphic backend configuration.
362+
* This method returns the number of buffers used by the output. It can be 2 or 3 depending on the graphic backend configuration.
363363
*/
364364
UInt32 buffersCount() const noexcept;
365365

src/lib/core/LScreenshotRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* This means that for screencasting, clients make a new LScreenshotRequest for each paintGL event.\n
1515
* If a request is accepted within a paintGL event, Louvre later copies the rendered frame to the client's buffer.
1616
*
17-
* @note All requests are initially denied unless accept(true) is called.
17+
* @note All requests are initially denied unless accept(true) is called and no custom buffer is set for direct scanout (see LOutput::setCustomScanoutBuffer()).
1818
*
1919
* Within a paintGL event, the LOutput::screenshotRequests() vector contains the requests made for the current frame being rendered, which
2020
* can be more than one if multiple clients are requesting to capture it.

src/lib/core/LSeat.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,14 @@ class Louvre::LSeat : public LFactoryObject
6161
const std::vector<LInputDevice *> &inputDevices() const noexcept;
6262

6363
/**
64-
* @brief Surfaces that inhibit the idle state.
64+
* @brief Surfaces requesting to inhibit the idle state.
6565
*
6666
* @see LIdleListener for more details.
6767
*/
6868
const std::vector<LSurface *> &idleInhibitorSurfaces() const noexcept;
6969

7070
/**
71-
* @brief List of idle listeners.
72-
*
73-
* Provides access to idle listeners used by clients to detect when the user has been idle for a specified amount of time.
71+
* @brief Listeners used by clients to detect when the user has been idle for a specified amount of time.
7472
*
7573
* @see LIdleListener for more details.
7674
*/
@@ -313,7 +311,7 @@ class Louvre::LSeat : public LFactoryObject
313311
* The default implementation returns `true` if at least one of the surfaces
314312
* listed in `idleInhibitorSurfaces()` is mapped and visible on at least one output.
315313
*
316-
* @note Since the method of displaying surfaces is specific to each compositor,
314+
* @note Since the way of displaying surfaces is specific to each compositor,
317315
* no additional checks are performed to determine if the surface is obscured
318316
* by opaque areas. You may override this method to include such checks if needed.
319317
*

0 commit comments

Comments
 (0)