mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-03-22 08:51:31 +00:00
treewide: fix typos
This commit is contained in:
parent
99c3aeb1ed
commit
8f825856ae
@ -47,9 +47,9 @@ If you target the unstable `main` branch, specify that in the `Download` link on
|
|||||||
You may choose to include screenshots (hosted in your patch's subdirectory) in your `README.md`. The process is described [here](https://docs.codeberg.org/markdown/using-images/).
|
You may choose to include screenshots (hosted in your patch's subdirectory) in your `README.md`. The process is described [here](https://docs.codeberg.org/markdown/using-images/).
|
||||||
|
|
||||||
8. Use the Codeberg web interface to send a pull request to [dwl-patches] (NOT to [dwl])
|
8. Use the Codeberg web interface to send a pull request to [dwl-patches] (NOT to [dwl])
|
||||||
9. WHEN YOUR PULL REQUEST IS APPROVED, your Codeberg account will also be granted commit access to [dwl-patches]. Once you have write access, you can make direct modifications/upates to your patches and you are free to create new patches rather than creating pull requests.
|
9. WHEN YOUR PULL REQUEST IS APPROVED, your Codeberg account will also be granted commit access to [dwl-patches]. Once you have write access, you can make direct modifications/updates to your patches and you are free to create new patches rather than creating pull requests.
|
||||||
|
|
||||||
Individuals who have made known that they no longer intend to maintain their patches will have commit access to the [dwl-pathces] repository removed.
|
Individuals who have made known that they no longer intend to maintain their patches will have commit access to the [dwl-patches] repository removed.
|
||||||
|
|
||||||
A returning user who formerly had commit access is welcome to open an issue on [dwl-patches] requesting commit access be reinstated. When doing so, please link to the original issue opened that granted commit access.
|
A returning user who formerly had commit access is welcome to open an issue on [dwl-patches] requesting commit access be reinstated. When doing so, please link to the original issue opened that granted commit access.
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ Another usage is to serve as a hint for each modes keybindings:
|
|||||||
enum {
|
enum {
|
||||||
BROWSER,
|
BROWSER,
|
||||||
};
|
};
|
||||||
const char *modes_lablels[] = {
|
const char *modes_labels[] = {
|
||||||
"[f]irefox [b]rave [c]hromium [q]utebrowser",
|
"[f]irefox [b]rave [c]hromium [q]utebrowser",
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|||||||
@ -301,7 +301,7 @@ index 0000000..125312c
|
|||||||
+ pipefd = ecalloc(2, sizeof(int));
|
+ pipefd = ecalloc(2, sizeof(int));
|
||||||
+
|
+
|
||||||
+ /*
|
+ /*
|
||||||
+ * Libdbus forbids calling dbus_connection_dipatch from the
|
+ * Libdbus forbids calling dbus_connection_dispatch from the
|
||||||
+ * DBusDispatchStatusFunction directly. Notify the event loop of
|
+ * DBusDispatchStatusFunction directly. Notify the event loop of
|
||||||
+ * updates via a self-pipe.
|
+ * updates via a self-pipe.
|
||||||
+ */
|
+ */
|
||||||
|
|||||||
@ -3,7 +3,7 @@ From: wochap <gean.marroquin@gmail.com>
|
|||||||
Date: Tue, 4 Jun 2024 16:02:25 -0500
|
Date: Tue, 4 Jun 2024 16:02:25 -0500
|
||||||
Subject: [PATCH] implement borders patch
|
Subject: [PATCH] implement borders patch
|
||||||
|
|
||||||
tihs patch adds 2 extra borders relative to the client, they don't
|
this patch adds 2 extra borders relative to the client, they don't
|
||||||
change the size of the client
|
change the size of the client
|
||||||
---
|
---
|
||||||
client.h | 16 +++++++++++++---
|
client.h | 16 +++++++++++++---
|
||||||
|
|||||||
@ -61,7 +61,7 @@ When a new client appears:
|
|||||||
btrtile adds couple variables to config.h to fine tune the mouse resizing of tiled clients.
|
btrtile adds couple variables to config.h to fine tune the mouse resizing of tiled clients.
|
||||||
|
|
||||||
1. **resize_factor**
|
1. **resize_factor**
|
||||||
- A multiplier to transfer pointer movement to client weight ratio. Depends heavily on mouse sensivity.
|
- A multiplier to transfer pointer movement to client weight ratio. Depends heavily on mouse sensitivity.
|
||||||
Defaults to 0.0002f.
|
Defaults to 0.0002f.
|
||||||
|
|
||||||
2. **resize_interval_ms**
|
2. **resize_interval_ms**
|
||||||
|
|||||||
@ -606,7 +606,7 @@ index 22d2171..92f3ad6 100644
|
|||||||
static const float urgentcolor[] = COLOR(0xff0000ff);
|
static const float urgentcolor[] = COLOR(0xff0000ff);
|
||||||
/* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */
|
/* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */
|
||||||
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
|
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
|
||||||
+static const float resize_factor = 0.0002f; /* Resize multiplier for mouse resizing, depends on mouse sensivity. */
|
+static const float resize_factor = 0.0002f; /* Resize multiplier for mouse resizing, depends on mouse sensitivity. */
|
||||||
+static const uint32_t resize_interval_ms = 16; /* Resize interval depends on framerate and screen refresh rate. */
|
+static const uint32_t resize_interval_ms = 16; /* Resize interval depends on framerate and screen refresh rate. */
|
||||||
|
|
||||||
+enum Direction { DIR_LEFT, DIR_RIGHT, DIR_UP, DIR_DOWN };
|
+enum Direction { DIR_LEFT, DIR_RIGHT, DIR_UP, DIR_DOWN };
|
||||||
|
|||||||
@ -587,7 +587,7 @@ index 22d2171..92f3ad6 100644
|
|||||||
static const float urgentcolor[] = COLOR(0xff0000ff);
|
static const float urgentcolor[] = COLOR(0xff0000ff);
|
||||||
/* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */
|
/* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */
|
||||||
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
|
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
|
||||||
+static const float resize_factor = 0.0002f; /* Resize multiplier for mouse resizing, depends on mouse sensivity. */
|
+static const float resize_factor = 0.0002f; /* Resize multiplier for mouse resizing, depends on mouse sensitivity. */
|
||||||
+static const uint32_t resize_interval_ms = 16; /* Resize interval depends on framerate and screen refresh rate. */
|
+static const uint32_t resize_interval_ms = 16; /* Resize interval depends on framerate and screen refresh rate. */
|
||||||
|
|
||||||
+enum Direction { DIR_LEFT, DIR_RIGHT, DIR_UP, DIR_DOWN };
|
+enum Direction { DIR_LEFT, DIR_RIGHT, DIR_UP, DIR_DOWN };
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
### Description
|
### Description
|
||||||
Generate a coredump if dwl exited abnormally (to be more usefull you need to
|
Generate a coredump if dwl exited abnormally (to be more useful you need to
|
||||||
compile dwl and wlroots with debug symbols)
|
compile dwl and wlroots with debug symbols)
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
|||||||
@ -15,7 +15,7 @@ So in short:
|
|||||||
|
|
||||||
#### Limitations
|
#### Limitations
|
||||||
Reloading the compositor will replace all functionality except for `main`, `setup`, `run` and the reload logic.
|
Reloading the compositor will replace all functionality except for `main`, `setup`, `run` and the reload logic.
|
||||||
Note that you're responsible yourself for reloading ressources like fonts, which may only get acquired once.
|
Note that you're responsible yourself for reloading resources like fonts, which may only get acquired once.
|
||||||
A lot of components of dwl will also only get run on a trigger (the tiling for example).
|
A lot of components of dwl will also only get run on a trigger (the tiling for example).
|
||||||
So not every change will be immediate.
|
So not every change will be immediate.
|
||||||
Furthermore, any patch adding more global state to dwl cannot currently be reloaded properly since
|
Furthermore, any patch adding more global state to dwl cannot currently be reloaded properly since
|
||||||
@ -47,13 +47,13 @@ From the cold part there are some newly available macros:
|
|||||||
* `CSYM(T, v)` dynamically accesses the value of the symbol `v` of type `T` from the shared object. Use this to query values from config.h for example.
|
* `CSYM(T, v)` dynamically accesses the value of the symbol `v` of type `T` from the shared object. Use this to query values from config.h for example.
|
||||||
* `LISTEN_GLOBAL(E, L)` is similar to the `LISTEN` macro. `E` is an event and `L` the name of a global
|
* `LISTEN_GLOBAL(E, L)` is similar to the `LISTEN` macro. `E` is an event and `L` the name of a global
|
||||||
listener. Current implementation is a bit messy and I may fix it if someone bothers me about it.
|
listener. Current implementation is a bit messy and I may fix it if someone bothers me about it.
|
||||||
* `UNLISTEN(L)` takes a listener and unregisteres it. This is important for reloading.
|
* `UNLISTEN(L)` takes a listener and unregisters it. This is important for reloading.
|
||||||
|
|
||||||
When adding new code there are some considerations to be made. Since dwl decorates all symbols with `static` by default, we cannot access them as-is.
|
When adding new code there are some considerations to be made. Since dwl decorates all symbols with `static` by default, we cannot access them as-is.
|
||||||
C's macro system is a bit too powerful though and we use this to our advantage. We will repeatedly define and
|
C's macro system is a bit too powerful though and we use this to our advantage. We will repeatedly define and
|
||||||
undefine a macro called `static` in order to replace the `static` keyword inside some sections.
|
undefine a macro called `static` in order to replace the `static` keyword inside some sections.
|
||||||
This allows us to do less refactoring and preserve a lot of the original patch compatability since we're only
|
This allows us to do less refactoring and preserve a lot of the original patch compatibility since we're only
|
||||||
strategically adding lines. We're tring to be as minimally invasive as we can.
|
strategically adding lines. We're trying to be as minimally invasive as we can.
|
||||||
As a general guide:
|
As a general guide:
|
||||||
* global state should be global for the cold part and `extern` in the cold part meaning it should be inside a block like this:
|
* global state should be global for the cold part and `extern` in the cold part meaning it should be inside a block like this:
|
||||||
```C
|
```C
|
||||||
@ -87,7 +87,7 @@ Thus, we enclose them the same way we do functions:
|
|||||||
#ifdef HOT
|
#ifdef HOT
|
||||||
... // function definitions here
|
... // function definitions here
|
||||||
#endif
|
#endif
|
||||||
* enfore use of the `LISTEN_GLOBAL` and `UNLISTEN` macros (I know this sucks but what can I do, I need to get
|
* enforce use of the `LISTEN_GLOBAL` and `UNLISTEN` macros (I know this sucks but what can I do, I need to get
|
||||||
access to the callbacks somehow). So you want
|
access to the callbacks somehow). So you want
|
||||||
* `wl_list_remove(listener.link)` to become `UNLISTEN(listener)` and
|
* `wl_list_remove(listener.link)` to become `UNLISTEN(listener)` and
|
||||||
* `wl_signal_add(event, global_listener)` to become `LISTEN_GLOBAL(event, global_listener)`.
|
* `wl_signal_add(event, global_listener)` to become `LISTEN_GLOBAL(event, global_listener)`.
|
||||||
|
|||||||
@ -509,7 +509,7 @@ index def2562..1c9ab67 100644
|
|||||||
+ wlr_log_init(CSYM(enum wlr_log_importance, log_level), NULL);
|
+ wlr_log_init(CSYM(enum wlr_log_importance, log_level), NULL);
|
||||||
|
|
||||||
/* The Wayland display is managed by libwayland. It handles accepting
|
/* The Wayland display is managed by libwayland. It handles accepting
|
||||||
* clients from the Unix socket, manging Wayland globals, and so on. */
|
* clients from the Unix socket, managing Wayland globals, and so on. */
|
||||||
@@ -2454,7 +2576,7 @@ setup(void)
|
@@ -2454,7 +2576,7 @@ setup(void)
|
||||||
|
|
||||||
/* Initialize the scene graph used to lay out windows */
|
/* Initialize the scene graph used to lay out windows */
|
||||||
|
|||||||
@ -637,7 +637,7 @@ index 4816159..70e99be 100644
|
|||||||
+ wlr_log_init(CSYM(enum wlr_log_importance, log_level), NULL);
|
+ wlr_log_init(CSYM(enum wlr_log_importance, log_level), NULL);
|
||||||
|
|
||||||
/* The Wayland display is managed by libwayland. It handles accepting
|
/* The Wayland display is managed by libwayland. It handles accepting
|
||||||
* clients from the Unix socket, manging Wayland globals, and so on. */
|
* clients from the Unix socket, managing Wayland globals, and so on. */
|
||||||
@@ -2463,7 +2602,7 @@ setup(void)
|
@@ -2463,7 +2602,7 @@ setup(void)
|
||||||
|
|
||||||
/* Initialize the scene graph used to lay out windows */
|
/* Initialize the scene graph used to lay out windows */
|
||||||
|
|||||||
@ -7,7 +7,7 @@ To enable Xwayland support, you will need to enable it in the wlroots subproject
|
|||||||
```sh
|
```sh
|
||||||
meson setup -Dwlroots:xwayland=enabled build
|
meson setup -Dwlroots:xwayland=enabled build
|
||||||
```
|
```
|
||||||
It is also reccomended to see the wlroots meson project configuration logs for any
|
It is also recommended to see the wlroots meson project configuration logs for any
|
||||||
unusual checks, such as requiring `hwdata` for the DRM backend.
|
unusual checks, such as requiring `hwdata` for the DRM backend.
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
From e42ca1c539437d3098d80983cfe2ad6f938d7a08 Mon Sep 17 00:00:00 2001
|
From e42ca1c539437d3098d80983cfe2ad6f938d7a08 Mon Sep 17 00:00:00 2001
|
||||||
From: Eldar Yusupov <eyusupov@gmail.com>
|
From: Eldar Yusupov <eyusupov@gmail.com>
|
||||||
Date: Sun, 17 Mar 2024 19:12:29 +0300
|
Date: Sun, 17 Mar 2024 19:12:29 +0300
|
||||||
Subject: [PATCH] Restore correct montior for client when it is reattached
|
Subject: [PATCH] Restore correct monitor for client when it is reattached
|
||||||
|
|
||||||
---
|
---
|
||||||
dwl.c | 24 ++++++++++++++++++++++--
|
dwl.c | 24 ++++++++++++++++++++++--
|
||||||
|
|||||||
@ -7,7 +7,7 @@ Most of this patch is stored in river-control.h, It contains a list of functions
|
|||||||
|
|
||||||
This patch's main intended use case is to have a startup script that calls dwlctl a bunch to add all the binds/rules you want, without the need of restarting dwl if you make any changes to the list of binds/rules.
|
This patch's main intended use case is to have a startup script that calls dwlctl a bunch to add all the binds/rules you want, without the need of restarting dwl if you make any changes to the list of binds/rules.
|
||||||
|
|
||||||
This patch also adds keybind modes which allow switching between a diffrent sets of keybinds on the fly.
|
This patch also adds keybind modes which allow switching between a different sets of keybinds on the fly.
|
||||||
Also you can set a keybind mode as oneshot (meaning as soon as a keybind is activated the mode is switched) by using...
|
Also you can set a keybind mode as oneshot (meaning as soon as a keybind is activated the mode is switched) by using...
|
||||||
`dwlctl oneshot-mode _layout_you_want_to_make_oneshot_here_ _layout_you_want_to_switch_to_after_keybind_pressed_`
|
`dwlctl oneshot-mode _layout_you_want_to_make_oneshot_here_ _layout_you_want_to_switch_to_after_keybind_pressed_`
|
||||||
Just make sure to set a mode as oneshot after creating a bind under it otherwise it won't work.
|
Just make sure to set a mode as oneshot after creating a bind under it otherwise it won't work.
|
||||||
|
|||||||
@ -120,7 +120,7 @@ index 95c2afa..ccc3edb 100644
|
|||||||
-static const Key keys[] = {
|
-static const Key keys[] = {
|
||||||
+/* note keys gets cleared with riverctl clear-binds but the keys_always are excluded from being cleared
|
+/* note keys gets cleared with riverctl clear-binds but the keys_always are excluded from being cleared
|
||||||
+ * this is to have a list of fallback keybinds if your riverctl script fails
|
+ * this is to have a list of fallback keybinds if your riverctl script fails
|
||||||
+ * if you won't like to have keys[] declared commented out the KEYS_USED macro bellow to disable the functionality*/
|
+ * if you won't like to have keys[] declared commented out the KEYS_USED macro below to disable the functionality*/
|
||||||
+#define KEYS_USED
|
+#define KEYS_USED
|
||||||
+static Key keys[] = {
|
+static Key keys[] = {
|
||||||
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
||||||
@ -1267,7 +1267,7 @@ index 0000000..599cffe
|
|||||||
+ .add_argument = zriver_control_add_argument,
|
+ .add_argument = zriver_control_add_argument,
|
||||||
+ .destroy = zriver_control_destroy,
|
+ .destroy = zriver_control_destroy,
|
||||||
+};
|
+};
|
||||||
+static void zriver_control_handle_destory(struct wl_resource *resource) {
|
+static void zriver_control_handle_destroy(struct wl_resource *resource) {
|
||||||
+ struct zriver_arg_list_resource *zriver_arg_list_resource = wl_resource_get_user_data(resource);
|
+ struct zriver_arg_list_resource *zriver_arg_list_resource = wl_resource_get_user_data(resource);
|
||||||
+ free(zriver_arg_list_resource);
|
+ free(zriver_arg_list_resource);
|
||||||
+ printf("handle destroy\n");
|
+ printf("handle destroy\n");
|
||||||
@ -1281,7 +1281,7 @@ index 0000000..599cffe
|
|||||||
+
|
+
|
||||||
+
|
+
|
||||||
+ wl_resource_set_implementation(resource, &zriver_control_interface,
|
+ wl_resource_set_implementation(resource, &zriver_control_interface,
|
||||||
+ zriver_arg_list_resource, zriver_control_handle_destory);
|
+ zriver_arg_list_resource, zriver_control_handle_destroy);
|
||||||
+}
|
+}
|
||||||
--
|
--
|
||||||
2.51.0
|
2.51.0
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
### Description
|
### Description
|
||||||
Makes sticky work as expected with singletagset. The sticky window will
|
Makes sticky work as expected with singletagset. The sticky window will
|
||||||
stay on original output until you explicitely put it to a different monitor.
|
stay on original output until you explicitly put it to a different monitor.
|
||||||
|
|
||||||
This patch expects both [singletagset](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/singletagset) and [sticky](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/sticky) patches to be already in
|
This patch expects both [singletagset](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/singletagset) and [sticky](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/sticky) patches to be already in
|
||||||
your tree committed. It applies onto them.
|
your tree committed. It applies onto them.
|
||||||
|
|||||||
@ -13,7 +13,7 @@ tempdir="/tmp/screenshots"
|
|||||||
mkdir -p "$tempdir"
|
mkdir -p "$tempdir"
|
||||||
file="$(mktemp -p "$tempdir" "XXXXXX.png")"
|
file="$(mktemp -p "$tempdir" "XXXXXX.png")"
|
||||||
|
|
||||||
# Grab the screenshot! Very conviniently, GEOMETRY format matches the one
|
# Grab the screenshot! Very conveniently, GEOMETRY format matches the one
|
||||||
# expected by grim
|
# expected by grim
|
||||||
grim -g "$GEOMETRY" "$file" || exit
|
grim -g "$GEOMETRY" "$file" || exit
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ index 775dadf..621779e 100644
|
|||||||
- /* TODO: allow usage of scroll wheel for mousebindings, it can be implemented
|
- /* TODO: allow usage of scroll wheel for mousebindings, it can be implemented
|
||||||
- * by checking the event's orientation and the delta of the event */
|
- * by checking the event's orientation and the delta of the event */
|
||||||
+ handlecursoractivity();
|
+ handlecursoractivity();
|
||||||
+ /* TODO: allow usage of scroll whell for mousebindings, it can be implemented
|
+ /* TODO: allow usage of scroll wheel for mousebindings, it can be implemented
|
||||||
+ * checking the event's orientation and the delta of the event */
|
+ * checking the event's orientation and the delta of the event */
|
||||||
/* Notify the client with pointer focus of the axis event. */
|
/* Notify the client with pointer focus of the axis event. */
|
||||||
wlr_seat_pointer_notify_axis(seat,
|
wlr_seat_pointer_notify_axis(seat,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
### Description
|
### Description
|
||||||
implement wlr_virtual_pointer_v1 for things like wayvnc server to work
|
implement wlr_virtual_pointer_v1 for things like wayvnc server to work
|
||||||
|
|
||||||
**NOTE:** no longer neccessary if you are using a DWL version after https://codeberg.org/dwl/dwl/commit/ac6074f4fdb8cc263c877f08e16a5805d3bb22d2
|
**NOTE:** no longer necessary if you are using a DWL version after https://codeberg.org/dwl/dwl/commit/ac6074f4fdb8cc263c877f08e16a5805d3bb22d2
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
- [git branch](https://codeberg.org/wochap/dwl/src/v0.5/virtual-pointer)
|
- [git branch](https://codeberg.org/wochap/dwl/src/v0.5/virtual-pointer)
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Implements the function `winview` which switches the visible tags to the tags on
|
|||||||
|
|
||||||
This patch is inspired from <https://dwm.suckless.org/patches/winview/>. Citing the description of the dwm patch:
|
This patch is inspired from <https://dwm.suckless.org/patches/winview/>. Citing the description of the dwm patch:
|
||||||
|
|
||||||
> Dwm tags are a powerfull feature that allows organizing windows in workspaces. Sometime it can be difficult to remember the tag to activate to unhide a window. With the winview patch the window to unhide can be selected from the all-window view. The user switches to the all-window view (Mod1-0), selects the window (Mod1-j/k or using the mouse) and press Mod1-o. The key Mod1-o switches the view to the selected window tag.
|
> Dwm tags are a powerful feature that allows organizing windows in workspaces. Sometime it can be difficult to remember the tag to activate to unhide a window. With the winview patch the window to unhide can be selected from the all-window view. The user switches to the all-window view (Mod1-0), selects the window (Mod1-j/k or using the mouse) and press Mod1-o. The key Mod1-o switches the view to the selected window tag.
|
||||||
>
|
>
|
||||||
> #### Recommend patches
|
> #### Recommend patches
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
### Description
|
### Description
|
||||||
Implements `swaymsg create_output` command, it allows you to create virtual/headless outputs. But in combination with a VNC server (for example wayvnc), this allows you to essentially have additional monitors, by connecting to the VNC server with an appropiate client (for example on an tablet or laptop).
|
Implements `swaymsg create_output` command, it allows you to create virtual/headless outputs. But in combination with a VNC server (for example wayvnc), this allows you to essentially have additional monitors, by connecting to the VNC server with an appropriate client (for example on an tablet or laptop).
|
||||||
|
|
||||||
If you plan to use wayvnc, you'll need [virtual-pointer](https://codeberg.org/dwl/dwl-patches/wiki/virtual-pointer.-) patch as well
|
If you plan to use wayvnc, you'll need [virtual-pointer](https://codeberg.org/dwl/dwl-patches/wiki/virtual-pointer.-) patch as well
|
||||||
|
|
||||||
|
|||||||
@ -417,7 +417,7 @@ index 0000000..0a6e7e5
|
|||||||
+I would probably just submit raphi's patchset but I don't think that would be polite.
|
+I would probably just submit raphi's patchset but I don't think that would be polite.
|
||||||
+-->
|
+-->
|
||||||
+<protocol name="dwl_ipc_unstable_v2">
|
+<protocol name="dwl_ipc_unstable_v2">
|
||||||
+ <description summary="inter-proccess-communication about dwl's state">
|
+ <description summary="inter-process-communication about dwl's state">
|
||||||
+ This protocol allows clients to update and get updates from dwl.
|
+ This protocol allows clients to update and get updates from dwl.
|
||||||
+
|
+
|
||||||
+ Warning! The protocol described in this file is experimental and
|
+ Warning! The protocol described in this file is experimental and
|
||||||
@ -437,7 +437,7 @@ index 0000000..0a6e7e5
|
|||||||
+ This interface is exposed as a global in wl_registry.
|
+ This interface is exposed as a global in wl_registry.
|
||||||
+
|
+
|
||||||
+ Clients can use this interface to get a dwl_ipc_output.
|
+ Clients can use this interface to get a dwl_ipc_output.
|
||||||
+ After binding the client will recieve the dwl_ipc_manager.tags and dwl_ipc_manager.layout events.
|
+ After binding the client will receive the dwl_ipc_manager.tags and dwl_ipc_manager.layout events.
|
||||||
+ The dwl_ipc_manager.tags and dwl_ipc_manager.layout events expose tags and layouts to the client.
|
+ The dwl_ipc_manager.tags and dwl_ipc_manager.layout events expose tags and layouts to the client.
|
||||||
+ </description>
|
+ </description>
|
||||||
+
|
+
|
||||||
@ -449,8 +449,8 @@ index 0000000..0a6e7e5
|
|||||||
+ </request>
|
+ </request>
|
||||||
+
|
+
|
||||||
+ <request name="get_output">
|
+ <request name="get_output">
|
||||||
+ <description summary="get a dwl_ipc_outout for a wl_output">
|
+ <description summary="get a dwl_ipc_output for a wl_output">
|
||||||
+ Get a dwl_ipc_outout for the specified wl_output.
|
+ Get a dwl_ipc_output for the specified wl_output.
|
||||||
+ </description>
|
+ </description>
|
||||||
+ <arg name="id" type="new_id" interface="zdwl_ipc_output_v2"/>
|
+ <arg name="id" type="new_id" interface="zdwl_ipc_output_v2"/>
|
||||||
+ <arg name="output" type="object" interface="wl_output"/>
|
+ <arg name="output" type="object" interface="wl_output"/>
|
||||||
@ -459,7 +459,7 @@ index 0000000..0a6e7e5
|
|||||||
+ <event name="tags">
|
+ <event name="tags">
|
||||||
+ <description summary="Announces tag amount">
|
+ <description summary="Announces tag amount">
|
||||||
+ This event is sent after binding.
|
+ This event is sent after binding.
|
||||||
+ A roundtrip after binding guarantees the client recieved all tags.
|
+ A roundtrip after binding guarantees the client received all tags.
|
||||||
+ </description>
|
+ </description>
|
||||||
+ <arg name="amount" type="uint"/>
|
+ <arg name="amount" type="uint"/>
|
||||||
+ </event>
|
+ </event>
|
||||||
@ -467,7 +467,7 @@ index 0000000..0a6e7e5
|
|||||||
+ <event name="layout">
|
+ <event name="layout">
|
||||||
+ <description summary="Announces a layout">
|
+ <description summary="Announces a layout">
|
||||||
+ This event is sent after binding.
|
+ This event is sent after binding.
|
||||||
+ A roundtrip after binding guarantees the client recieved all layouts.
|
+ A roundtrip after binding guarantees the client received all layouts.
|
||||||
+ </description>
|
+ </description>
|
||||||
+ <arg name="name" type="string"/>
|
+ <arg name="name" type="string"/>
|
||||||
+ </event>
|
+ </event>
|
||||||
@ -491,13 +491,13 @@ index 0000000..0a6e7e5
|
|||||||
+ </enum>
|
+ </enum>
|
||||||
+
|
+
|
||||||
+ <request name="release" type="destructor">
|
+ <request name="release" type="destructor">
|
||||||
+ <description summary="release dwl_ipc_outout">
|
+ <description summary="release dwl_ipc_output">
|
||||||
+ Indicates to that the client no longer needs this dwl_ipc_output.
|
+ Indicates to that the client no longer needs this dwl_ipc_output.
|
||||||
+ </description>
|
+ </description>
|
||||||
+ </request>
|
+ </request>
|
||||||
+
|
+
|
||||||
+ <event name="toggle_visibility">
|
+ <event name="toggle_visibility">
|
||||||
+ <description summary="Toggle client visibilty">
|
+ <description summary="Toggle client visibility">
|
||||||
+ Indicates the client should hide or show themselves.
|
+ Indicates the client should hide or show themselves.
|
||||||
+ If the client is visible then hide, if hidden then show.
|
+ If the client is visible then hide, if hidden then show.
|
||||||
+ </description>
|
+ </description>
|
||||||
@ -544,7 +544,7 @@ index 0000000..0a6e7e5
|
|||||||
+ <event name="layout_symbol" since="1">
|
+ <event name="layout_symbol" since="1">
|
||||||
+ <description summary="Update the current layout symbol">
|
+ <description summary="Update the current layout symbol">
|
||||||
+ Indicates the layout has changed. Since layout symbols are dynamic.
|
+ Indicates the layout has changed. Since layout symbols are dynamic.
|
||||||
+ As opposed to the zdwl_ipc_manager.layout event, this should take precendence when displaying.
|
+ As opposed to the zdwl_ipc_manager.layout event, this should take precedence when displaying.
|
||||||
+ You can ignore the zdwl_ipc_output.layout event.
|
+ You can ignore the zdwl_ipc_output.layout event.
|
||||||
+ </description>
|
+ </description>
|
||||||
+ <arg name="layout" type="string" summary="The new layout"/>
|
+ <arg name="layout" type="string" summary="The new layout"/>
|
||||||
@ -573,7 +573,7 @@ index 0000000..0a6e7e5
|
|||||||
+
|
+
|
||||||
+ <request name="set_layout">
|
+ <request name="set_layout">
|
||||||
+ <description summary="Set the layout of this output"/>
|
+ <description summary="Set the layout of this output"/>
|
||||||
+ <arg name="index" type="uint" summary="index of a layout recieved by dwl_ipc_manager.layout"/>
|
+ <arg name="index" type="uint" summary="index of a layout received by dwl_ipc_manager.layout"/>
|
||||||
+ </request>
|
+ </request>
|
||||||
+
|
+
|
||||||
+ <!-- Version 2 -->
|
+ <!-- Version 2 -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user