diff options
| author | Stanislav Sedov <stas@FreeBSD.org> | 2010-12-14 07:30:56 +0000 |
|---|---|---|
| committer | Stanislav Sedov <stas@FreeBSD.org> | 2010-12-14 07:30:56 +0000 |
| commit | 4e6b9d37ad988e5ce212eb64d3da6c89f036995b (patch) | |
| tree | c034200ad770d5a81c162443b728bd36b7987a9c /graphics/exact-image/files/patch-edisplay_edisplay.cc | |
| parent | - Install Python bindings by default [1] (diff) | |
- Update e17 applications suite to the recent snapshot.
Thanks to Grzegorz Blach <magik@roorback.net> for doing the hard work
preparing the initial version of the update!
PR: ports/148038
Submitted by: Grzegorz Blach <magik@roorback.net> (based on)
Notes
Notes:
svn path=/head/; revision=266276
Diffstat (limited to 'graphics/exact-image/files/patch-edisplay_edisplay.cc')
| -rw-r--r-- | graphics/exact-image/files/patch-edisplay_edisplay.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/exact-image/files/patch-edisplay_edisplay.cc b/graphics/exact-image/files/patch-edisplay_edisplay.cc new file mode 100644 index 000000000000..4f909e6ed84f --- /dev/null +++ b/graphics/exact-image/files/patch-edisplay_edisplay.cc @@ -0,0 +1,24 @@ +Index: edisplay.cc +=================================================================== +--- edisplay/edisplay.cc (revision 1751) ++++ edisplay/edisplay.cc (revision 1752) +@@ -269,12 +269,14 @@ + + /* the following is specific to the engine */ + einfo->info.display = dpy; +- einfo->info.visual = +- einfo->func.best_visual_get (dpy, DefaultScreen(dpy)); +- einfo->info.colormap = +- einfo->func.best_colormap_get(dpy,DefaultScreen(dpy)); +- ++#ifdef WITHEVAS_X11_SCREEN ++ einfo->info.screen = DefaultScreen(dpy); ++ einfo->info.visual = einfo->func.best_visual_get(einfo); ++ einfo->info.colormap = einfo->func.best_colormap_get(einfo); ++#else ++ einfo->info.visual = einfo->func.best_visual_get(dpy, DefaultScreen(dpy)); + einfo->info.colormap = einfo->func.best_colormap_get(dpy, DefaultScreen(dpy)); ++#endif + einfo->info.drawable = win; + einfo->info.depth = depth; + |
