]> source.dussan.org Git - tigervnc.git/commitdiff
Do proper top level window setup for selection window
authorPierre Ossman <ossman@cendio.se>
Tue, 22 Oct 2024 07:59:30 +0000 (09:59 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 22 Oct 2024 07:59:30 +0000 (09:59 +0200)
unix/x0vncserver/XSelection.cxx

index 72dd537f4fe08d2a09cc356e284f3a00961b8219..c724d2ac410a22705ed770139459ca68e77b4fde 100644 (file)
@@ -37,7 +37,7 @@ XSelection::XSelection(Display* dpy_, XSelectionHandler* handler_)
   probeProperty = XInternAtom(dpy, "TigerVNC_ProbeProperty", False);
   transferProperty = XInternAtom(dpy, "TigerVNC_TransferProperty", False);
   timestampProperty = XInternAtom(dpy, "TigerVNC_TimestampProperty", False);
-  setName("TigerVNC Clipboard (x0vncserver)");
+  toplevel("TigerVNC Clipboard (x0vncserver)");
   addEventMask(PropertyChangeMask); // Required for PropertyNotify events
 }