Skip to content

Commit

Permalink
xpdf: rebuild w/o window-close hack
Browse files Browse the repository at this point in the history
Some digging into the topic showed that the addition of

   hide();
   event->ignore();

simply enforces the default behaviour for a window close
event. This seems to be special at least for Qt version 5.12.4,
since it is neither needed for older Qt versions like 5.9, 5.10
nor for 5.12.5 .

Note: This is not related to libev/libevent issues. The fault
was present before libev was updated
  • Loading branch information
thomas committed Nov 8, 2019
1 parent b3d7221 commit 4dffdb1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions xpdf.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env beesh

# BEE_VERSION xpdf-4.02-1
# BEE_VERSION xpdf-4.02-2

# BEE_CONFIGURE=compat

Expand All @@ -22,10 +22,6 @@ SRCURL[0]="https://xpdfreader-dl.s3.amazonaws.com/xpdf-${PKGVERSION}.tar.gz"
# bee_patch "${@}"
#}

mee_patch_post() {
sed -i -e '/\slastSize = size();/ a \ hide();\n event->ignore();' ${S}/xpdf-qt/XpdfViewer.cc
}

mee_configure() {
bee_configure \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand Down

0 comments on commit 4dffdb1

Please sign in to comment.