Public bug reported:

I've downloaded the latest xfwm 4.13 with XPresent support from this ppa 
https://launchpad.net/~xubuntu-dev/+archive/ubuntu/experimental , but it did 
not work. Instead I got this error:
(xfwm4:712): xfwm4-WARNING **: 14:40:45.838: Dismissing XPresent as unusable, 
error 3 for request 148.

The problem seems to be caused by XPresentPixmap() throwing a BadWindow
error. I've found an older post talking about the same issue here
https://lists.x.org/archives/xorg-devel/2017-June/053874.html . They
suggest that the issue was solved in presentproto, which in Ubuntu is in
the package x11proto-present-dev.

I've noticed that when libxpresent was last compiled, in 2015, Ubuntu
still had the version of presentproto without this fix. So I recompiled
it on my system and the issue went away - xfwm4 now works perfectly with
XPresent.

$ lsb_release -rd
Description:    Ubuntu 18.04.1 LTS
Release:        18.04

$ apt-cache policy libxpresent1
libxpresent1:
  Installed: 1.0.0-2
  Candidate: 1.0.0-2
  Version table:
 *** 1.0.0-2 500
        500 http://lt.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: libxpresent (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801071

Title:
  XPresentPixmap() BadWindow, recompiling fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxpresent/+bug/1801071/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to