summaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-13 17:56:39 +0100
committertcmal <me@aria.rip>2024-08-13 21:48:11 +0100
commite4d9484d0e1ebcf496d0606800560c09d2753df4 (patch)
tree23931a1cba89ca75e592c7351022bf7b22c487a8 /src/clients
parentd973959f7f34e02eeb01766b01aff680639a8c4c (diff)
Add moving and resizing with mouse
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/client.rs2
-rw-r--r--src/clients/mod.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/clients/client.rs b/src/clients/client.rs
index c8fca6c..03afc16 100644
--- a/src/clients/client.rs
+++ b/src/clients/client.rs
@@ -62,7 +62,7 @@ impl Client {
}
}
- /// Send a configure configure notify event with the current geometry.
+ /// Send a configure notify event with the current geometry.
pub fn configure_notify(&self, conn: &Connection<'_>) {
conn.send_request(&SendEvent {
destination: SendEventDest::Window(self.window),
diff --git a/src/clients/mod.rs b/src/clients/mod.rs
index a59240d..29219b6 100644
--- a/src/clients/mod.rs
+++ b/src/clients/mod.rs
@@ -243,8 +243,6 @@ impl ClientState {
| EventMask::STRUCTURE_NOTIFY,
);
- buttons::grab(conn, c.window(), false);
-
// Add to net_client_list
conn.send_request(&ChangeProperty {
mode: xcb::x::PropMode::Append,