https://bugs.kde.org/show_bug.cgi?id=449909

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/f7fb9476b3
                   |                            |7b648298e6d329ff0aad4f5ca55
                   |                            |0c1
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit f7fb9476b37b648298e6d329ff0aad4f5ca550c1 by Vlad Zahorodnii, on
behalf of David Edmundson.
Committed on 21/08/2023 at 09:58.
Pushed by vladz into branch 'master'.

xwl: Handle X11 clipboard owners closing more thoroughly

Selection acts as an abstraction around multiple X11Sources, when we get
a new source we asyncronously emit that x11OffersChanged when it
completes.

If the selection is lost, we were just deleting the source, without
notifying other parts.

XwlDataSource is the datasource that SeatInterface knows about. We need
to delete this when the X11 connection is no longer valid. SeatInterface
will update the selection when the XwmlDataSource is deleted if it's the
active selection.

The hook is introduced as updating the selection in Clipboard will cause
Selection to delete m_xSource which gets messy.

M  +5    -0    src/xwayland/clipboard.cpp
M  +1    -0    src/xwayland/clipboard.h
M  +4    -0    src/xwayland/dnd.cpp
M  +1    -0    src/xwayland/dnd.h
M  +5    -0    src/xwayland/primary.cpp
M  +1    -0    src/xwayland/primary.h
M  +4    -2    src/xwayland/selection.cpp
M  +1    -0    src/xwayland/selection.h

https://invent.kde.org/plasma/kwin/-/commit/f7fb9476b37b648298e6d329ff0aad4f5ca550c1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to