Compiz ignores _MOTIF_WM_HINTS set from xprop
Bug #1702297 reported by
Alberts Muktupāvels
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Alberts Muktupāvels | ||
compiz (Ubuntu) |
Fix Released
|
Medium
|
Alberts Muktupāvels | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Trying to remove and/or re-add window decorations using xprop does not work. Compiz expects that _MOTIF_WM_HINTS property type is _MOTIF_WM_HINTS while xprop use CARDINAL type.
[Test Case]
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"
Use this command from terminal and then select window from which to remove decorations. Decorations should disappear from selected window.
To re-add decorations use this command:
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"
[Regression Potential]
Metacity and Mutter also use AnyPropertyType when reading _MOTIF_WM_HINTS property so I guess there should be no regressions.
Related branches
lp://staging/~muktupavels/compiz/motif-wm-hints
- Marco Trevisan (Treviño): Approve
-
Diff: 25 lines (+2/-2)2 files modifiedgtk/window-decorator/util.c (+1/-1)
src/screen.cpp (+1/-1)
lp://staging/~unity-team/compiz/x-sru5
- Andrea Azzarone: Approve
-
Diff: 1777 lines (+936/-94)31 files modifiedVERSION (+1/-1)
debian/changelog (+28/-0)
debian/mate.ini (+9/-9)
debian/profile_upgrades/com.canonical.unity.unity-lowgfx.01.upgrade (+12/-0)
debian/unity-lowgfx.ini (+8/-2)
debian/unity.ini (+0/-1)
gtk/window-decorator/decorator.c (+2/-0)
gtk/window-decorator/metacity.c (+2/-0)
gtk/window-decorator/util.c (+1/-1)
include/core/abiversion.h (+1/-1)
include/core/atoms.h (+2/-0)
include/core/screen.h (+7/-1)
include/core/string.h (+3/-0)
plugins/grid/grid.xml.in (+10/-0)
plugins/grid/src/grid.cpp (+67/-22)
plugins/grid/src/grid.h (+0/-1)
plugins/move/move.xml.in (+58/-0)
plugins/move/src/move.cpp (+326/-2)
plugins/move/src/move.h (+16/-1)
plugins/neg/neg.xml.in (+5/-0)
plugins/neg/src/neg.cpp (+1/-1)
plugins/resize/resize.xml.in (+15/-0)
plugins/resize/src/logic/src/resize-logic.cpp (+8/-6)
plugins/resize/src/resize.cpp (+137/-37)
src/atoms.cpp (+4/-0)
src/event.cpp (+5/-0)
src/privatescreen.h (+6/-0)
src/privatescreen/tests/test-privatescreen.cpp (+2/-0)
src/screen.cpp (+137/-6)
src/string/src/string.cpp (+61/-0)
src/window.cpp (+2/-2)
Superseded
for merging
into
lp://staging/compiz/0.9.13
- Compiz Maintainers: Pending requested
-
Diff: 1684 lines (+1650/-0) (has conflicts)3 files modifieddebian/changelog (+93/-0)
gtk/window-decorator/decorator.c (+2/-0)
gtk/window-decorator/metacity.c.OTHER (+1555/-0)
summary: |
- Compiz ignores _MOTIF_WM_HINTS + Compiz ignores _MOTIF_WM_HINTS set from xprop |
Changed in compiz: | |
status: | New → Fix Committed |
Changed in compiz (Ubuntu): | |
status: | New → Fix Released |
no longer affects: | compiz/xenial |
Changed in compiz: | |
importance: | Undecided → Medium |
Changed in compiz (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in compiz: | |
assignee: | nobody → Alberts Muktupāvels (muktupavels) |
Changed in compiz (Ubuntu): | |
assignee: | nobody → Alberts Muktupāvels (muktupavels) |
tags: |
added: verification-done verification-done-xenial removed: verification-needed verification-needed-xenial |
To post a comment you must log in.
I am waiting for that patch to have been merged but I think it's not been released yet.