Commit 909f1f3
Fix missing import in gtk/window.rs (#2011)
Cherry-picked from jpochyla/druid@a9522f5 .
Otherwise building jpochyla/psst on Linux or OpenBSD fails:
```
error[E0433]: failed to resolve: use of undeclared type `XcbHandle`
--> /home/kn/src/druid/druid-shell/src/backend/gtk/window.rs:118:30
|
118 | RawWindowHandle::Xcb(XcbHandle::empty())
| ^^^^^^^^^ not found in this scope
|
```
This code was introduced in 2da53f0 which
seems to target Windows and Mac but not Linux, so I assume that is why it
went unnoticed.
Co-authored-by: Jan Pochyla <[email protected]>1 parent e9d6792 commit 909f1f3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments