update dhruva_sambrani patches

This commit is contained in:
Dhruva Sambrani
2024-01-08 15:18:22 +01:00
parent ab65f23d4b
commit 425132696f
3 changed files with 66 additions and 75 deletions
+19 -53
View File
@@ -1,55 +1,18 @@
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index e6278d8..cd9bd8d 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -7,7 +7,11 @@ assignees: ''
---
-### ⚠️ Migrated to Codeberg
-
-This project has [migrated to Codeberg](https://codeberg.org/dwl/dwl).
-
+## Info
+dwl version:
+wlroots version:
+## Description
+<!--
+Only report bugs that can be reproduced on the main line
+Report patch issues to their respective authors
+-->
diff --git a/.github/ISSUE_TEMPLATE/enhancement-idea.md b/.github/ISSUE_TEMPLATE/enhancement-idea.md
index cbfd90f..0ac096d 100644
--- a/.github/ISSUE_TEMPLATE/enhancement-idea.md
+++ b/.github/ISSUE_TEMPLATE/enhancement-idea.md
@@ -7,7 +7,4 @@ assignees: ''
---
-### ⚠️ Migrated to Codeberg
-
-This project has [migrated to Codeberg](https://codeberg.org/dwl/dwl).
diff --git a/README.md b/README.md
index e02c9c4..62ae872 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,5 @@
# dwl - dwm for Wayland
-> ### ⚠️ Migrated to Codeberg
->
-> This project has [migrated to Codeberg](https://codeberg.org/dwl/dwl).
-
-
Join us on our IRC channel: [#dwl on Libera Chat]
Or on our [Discord server].
From 7a2b65af8c7a56c8d78875530685422702be993e Mon Sep 17 00:00:00 2001
From: Dhruva Sambrani <44899822+DhruvaSambrani@users.noreply.github.com>
Date: Mon, 8 Jan 2024 15:04:09 +0100
Subject: [PATCH] first winview commit
---
config.def.h | 1 +
dwl.c | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/config.def.h b/config.def.h
index db0babc..149313c 100644
index a8ed61d..af9d866 100644
--- a/config.def.h
+++ b/config.def.h
@@ -136,6 +136,7 @@ static const Key keys[] = {
@@ -138,6 +138,7 @@ static const Key keys[] = {
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
{ MODKEY, XKB_KEY_e, togglefullscreen, {0} },
{ MODKEY, XKB_KEY_0, view, {.ui = ~0} },
@@ -58,10 +21,10 @@ index db0babc..149313c 100644
{ MODKEY, XKB_KEY_comma, focusmon, {.i = WLR_DIRECTION_LEFT} },
{ MODKEY, XKB_KEY_period, focusmon, {.i = WLR_DIRECTION_RIGHT} },
diff --git a/dwl.c b/dwl.c
index ef27a1d..5f287b5 100644
index 632dabf..5f3a596 100644
--- a/dwl.c
+++ b/dwl.c
@@ -323,6 +323,7 @@ static void updatetitle(struct wl_listener *listener, void *data);
@@ -327,6 +327,7 @@ static void updatetitle(struct wl_listener *listener, void *data);
static void urgent(struct wl_listener *listener, void *data);
static void view(const Arg *arg);
static void virtualkeyboard(struct wl_listener *listener, void *data);
@@ -69,8 +32,8 @@ index ef27a1d..5f287b5 100644
static Monitor *xytomon(double x, double y);
static void xytonode(double x, double y, struct wlr_surface **psurface,
Client **pc, LayerSurface **pl, double *nx, double *ny);
@@ -2676,6 +2677,17 @@ virtualkeyboard(struct wl_listener *listener, void *data)
createkeyboard(&keyboard->keyboard);
@@ -2726,6 +2727,17 @@ virtualkeyboard(struct wl_listener *listener, void *data)
wlr_keyboard_group_add_keyboard(vkb_group.wlr_group, &keyboard->keyboard);
}
+void
@@ -87,3 +50,6 @@ index ef27a1d..5f287b5 100644
Monitor *
xytomon(double x, double y)
{
--
2.43.0