Skip to content

Commit c37ba50

Browse files
author
danalec
committed
linux/kmsgrab: remove duplicated cursor feedback block (merge artifact)
1 parent 5787155 commit c37ba50

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/platform/linux/kmsgrab.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,19 +1265,6 @@ namespace platf {
12651265
cursor_fb.logical_h.store(logical_height);
12661266
cursor_fb.seq.fetch_add(1);
12671267

1268-
// Publish the real cursor position for the abs->rel input conversion
1269-
// (see config: absolute_mouse_as_relative). Cursor-plane CRTC
1270-
// coordinates are CRTC-local physical pixels; add the output's desktop
1271-
// offset and publish the output extents so the consumer can rescale
1272-
// to logical units.
1273-
platf::kms_cursor_x.store(offset_x + *prop_crtc_x, std::memory_order_relaxed);
1274-
platf::kms_cursor_y.store(offset_y + *prop_crtc_y, std::memory_order_relaxed);
1275-
platf::kms_desktop_w.store(width, std::memory_order_relaxed);
1276-
platf::kms_desktop_h.store(height, std::memory_order_relaxed);
1277-
platf::kms_logical_w.store(logical_width, std::memory_order_relaxed);
1278-
platf::kms_logical_h.store(logical_height, std::memory_order_relaxed);
1279-
platf::kms_cursor_seq.fetch_add(1, std::memory_order_release);
1280-
12811268
// We're technically cheating a bit here by assuming that we can detect
12821269
// changes to the cursor plane via property adjustments. If this isn't
12831270
// true, we'll really have to mmap() the dmabuf and draw that every time.

0 commit comments

Comments
 (0)