[Pkg-xfce-devel] Bug#595622: xfwm4: Fails to --replace awesome

Cyril Brulebois kibi at debian.org
Sun Sep 5 12:13:17 UTC 2010


Package: xfwm4
Version: 4.6.2-1
Severity: normal

Hi,

I tried to “xfwm4 --replace” awesome but that didn't work out, I only
got:
| ** (xfwm4:14519): WARNING **: Another Window Manager is already running

Running it inside a debugger, it appears that in src/screen.c's
myScreenSetWMAtom(), the following returns 0:
| current_wm = XGetSelectionOwner (display_info->dpy, wm_sn_atom);

maybe you want to modify the “if (current_wm)” to include that?
| else {
|   if (replace_wm) {
|     g_message ("Fails to detect a window manager to replace");
|   }
| }

Reproducible this way:
  Xephyr :1
  DISPLAY=:1 awesome &
  DISPLAY=:1 xfwm4 --replace

Mraw,
KiBi.

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfwm4 depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  libdbus-glib-1-2              0.88-2     simple interprocess messaging syst
ii  libglade2-0                   1:2.6.4-1  library to load .glade files at ru
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgtk2.0-0                   2.20.1-1   The GTK+ graphical user interface 
ii  libpango1.0-0                 1.28.1-1   Layout and rendering of internatio
ii  libstartup-notification0      0.10-1     library for program launch feedbac
ii  libwnck22                     2.30.3-1   Window Navigator Construction Kit 
ii  libx11-6                      2:1.3.3-3  X11 client-side library
ii  libxcomposite1                1:0.4.2-1  X11 Composite extension library
ii  libxdamage1                   1:1.1.3-1  X11 damaged region extension libra
ii  libxext6                      2:1.1.2-1  X11 miscellaneous extension librar
ii  libxfce4util4                 4.6.2-1    Utility functions library for Xfce
ii  libxfcegui4-4                 4.6.4-1    Basic GUI C functions for Xfce4
ii  libxfconf-0-2                 4.6.2-1    Client library for Xfce4 configure
ii  libxfixes3                    1:4.0.5-1  X11 miscellaneous 'fixes' extensio
ii  libxrandr2                    2:1.3.0-3  X11 RandR extension library
ii  libxrender1                   1:0.9.6-1  X Rendering Extension client libra

Versions of packages xfwm4 recommends:
ii  librsvg2-common               2.26.3-1   SAX-based renderer library for SVG
ii  xfwm4-themes                  4.6.0-2    Theme files for xfwm4

Versions of packages xfwm4 suggests:
ii  xfce4                         4.6.2      Meta-package for the Xfce Lightwei

-- no debconf information





More information about the Pkg-xfce-devel mailing list