[dev] [dwm] BadAtom error

From: <helma_AT_in-silico.ch>
Date: Tue, 25 Oct 2011 13:08:57 +0200

Running the example code at the bottom of
https://github.com/wedesoft/hornetseye-xorg results in the following
error:

X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 18 (X_ChangeProperty)
  Atom id in failed request: 0x0
  Serial number of failed request: 10
  Current serial number in output stream: 11

The same code works well with wmii and fluxbox window managers.
Strangely enough it works also from time to time with dwm, but I have no
idea how to reproduce these working conditions. Never had problems with
other X applications under dwm.

I have been able to track the following code
The error is raised by

  m_wmProtocols = XInternAtom( display->get(), "WM_PROTOCOLS", False );

https://github.com/wedesoft/hornetseye-xorg/blob/master/ext/x11window.cc#L258

Unfortunately I am completely clueless when it comes to X programming
and would appreciate any help to solve this issue.

Best regards,
Christoph

PS:
X.Org X Server 1.11.1.901 (1.11.2 RC 1)
Release Date: 2011-10-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0-ARCH x86_64
Current Operating System: Linux zx81 3.0-ARCH #1 SMP PREEMPT Wed Oct 19 10:27:51 CEST 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/14614780-98ea-4e0d-9725-fd24f1865372 ro logo.nologo quiet
Build Date: 24 October 2011 12:29:30PM
 
Current version of pixman: 0.22.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Received on Tue Oct 25 2011 - 13:08:57 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 25 2011 - 13:12:02 CEST