Commit 03154a0
authored
back/wayland: build the X11 pasteboard owner into gpbs (#161)
gpbs selects XPbOwner as its pasteboard owner on every platform except
Windows, but xpbs.m, which defines that class, was only compiled for the
x11 server. A wayland build therefore produced a gpbs with no pasteboard
owner, so NSPasteboard was disconnected from the desktop clipboard and
paste was disabled in GNUstep applications.
Compile xpbs.m and xdnd.c into gpbs for a wayland build when X11 is
available, so the X11 owner reaches the desktop clipboard through XWayland.
Guarding on X11 keeps a wayland build without X11 unchanged.1 parent b037ebf commit 03154a0
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
| |||
0 commit comments