summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-09-05 17:48:35 -0500
committerzachir <zachir@librem.one>2022-09-05 17:48:35 -0500
commit77289834b4a1917034a9f8efa8fd633cf2e753a8 (patch)
tree72f8e55588bdb15e1c5192c40fea6328230c1c13
parentb3919d1682b65e32b1f07953dd3913161aa512de (diff)
parent14a1e3e2a2ced87d4f373c93c7caae48ccb02f27 (diff)
Merge branch 'main' of https://github.com/djpohly/dwl into testing
-rw-r--r--README.md12
-rw-r--r--dwl.c1
2 files changed, 4 insertions, 9 deletions
diff --git a/README.md b/README.md
index 6b12ab0..f68290c 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# dwl - dwm for Wayland
-Join us on our [Discord server](https://discord.gg/jJxZnrGPWN) and at [#dwl](https://web.libera.chat/?channels=#dwl) on irc.libera.chat.
+Join us on our [Discord server](https://discord.gg/jJxZnrGPWN) or at [#dwl](https://web.libera.chat/?channels=#dwl) on irc.libera.chat.
dwl is a compact, hackable compositor for Wayland based on [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots/). It is intended to fill the same space in the Wayland world that dwm does in X11, primarily in terms of philosophy, and secondarily in terms of functionality. Like dwm, dwl is:
@@ -73,17 +73,11 @@ If your startup command is a shell script, you can achieve the same inside the s
exec <&-
-Existing dwl-specific status bars and dwl-specific scripts for other status bars include:
-- [somebar](https://sr.ht/~raphi/somebar/) status bar designed for dwl
-- [dtaobarv2.sh](https://cdn.discordapp.com/attachments/792078050024095745/862428883423723560/dtaobarv2.sh) for use with [dtao](https://github.com/djpohly/dtao) (See "Pinned Messages" on the "customizations" channel of the [dwl Discord server](https://discord.gg/jJxZnrGPWN) for details.)
-- [dwlbar.sh](https://cdn.discordapp.com/attachments/792078050024095745/810926218529472592/dwlbar.sh) for use with [waybar](https://github.com/Alexays/Waybar) (See "Pinned Messages" on the "customizations" channel of the [dwl Discord server](https://discord.gg/jJxZnrGPWN) for details.)
-- [waybar-dwl](https://codeberg.org/fauxmight/waybar-dwl.git) for use with [waybar](https://github.com/Alexays/Waybar)
-- [dwl-tags.sh](https://codeberg.org/novakane/yambar/src/branch/master/examples/scripts/dwl-tags.sh) for use with [yambar](https://codeberg.org/dnkl/yambar)
-- [waybar-dwl.sh](https://gitee.com/guyuming76/personal/tree/dwl/gentoo/waybar-dwl) for use with [waybar](https://github.com/Alexays/Waybar) (ACCESS TO THIS SCRIPT REQUIRES gitee.com LOGIN!)
+To get a list of status bars that work with dwl consult our [wiki](https://github.com/djpohly/dwl/wiki#compatible-status-bars).
## Replacements for X applications
-You can find a [list of Wayland applications on the sway wiki](https://github.com/swaywm/sway/wiki/i3-Migration-Guide).
+You can find a [list of useful resources on our wiki](https://github.com/djpohly/dwl/wiki#migrating-from-x).
## Acknowledgements
diff --git a/dwl.c b/dwl.c
index 227e1c4..aba280f 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1534,6 +1534,7 @@ mapnotify(struct wl_listener *listener, void *data)
client_get_geometry(c, &c->geom);
c->geom.width += 2 * c->bw;
c->geom.height += 2 * c->bw;
+ c->prev = c->geom;
/* Insert this client into client lists. */
wl_list_insert(&clients, &c->link);