Ok, I've given another read to the specs, and well, this atom as most of the NET_WM_* atoms must be filled by the window manager, to notify people around (in the old days where each process/component was an element of the shell) about what actions it can support for the given window, and it has not to be set by the window itself.
In fact your example works only if you launch it with no window manager set. If an app doesn't want to be resizable, it should inform the WM using another protocol (and in this case the _MOTIF_WM_HINTS) as shown in the attached example (setting that hint the WM will update correctly the NET_WM_ALLOWED_ACTIONS). ** Attachment added: "allowed-actions-mwm.c" https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1387711/+attachment/4260539/+files/allowed-actions-mwm.c ** Changed in: unity Status: Incomplete => Won't Fix ** Changed in: unity (Ubuntu) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity in Ubuntu. https://bugs.launchpad.net/bugs/1387711 Title: Unity doesn't respect NET_WM_ALLOWED_ACTIONS Status in Unity: Won't Fix Status in “unity” package in Ubuntu: Won't Fix Bug description: According to http://standards.freedesktop.org/wm-spec/latest/ar01s05.html : Atoms present in the list indicate allowed actions, atoms not present in the list indicate actions that are not supported for this window. The Window Manager MUST keep this property updated to reflect the actions which are currently "active" or "sensitive" for a window. However, if I set NET_WM_ALLOWED_ACTIONS to a list not containing NET_WM_ACTION_RESIZE (along with the MAXIMIZE atoms), I can still resize/maximize the window using the mouse. Only by forcing min and max size in the WM normal hints can I achieve the desired behavior. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: unity 7.3.1+14.10.20141016-0ubuntu1 ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4 Uname: Linux 3.16.0-23-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 CompizPlugins: [core,composite,opengl,decor,compiztoolbox,vpswitch,move,gnomecompat,grid,place,regex,imgpng,resize,annotate,mousepoll,wobbly,session,animation,fade,animationaddon,cube,rotate,workarounds,unitymtgrabhandles,cubeaddon,trailfocus,scale,expo,ezoom,unityshell] CurrentDesktop: Unity Date: Thu Oct 30 15:19:30 2014 InstallationDate: Installed on 2011-05-11 (1267 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) SourcePackage: unity UpgradeStatus: Upgraded to utopic on 2014-10-27 (3 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/1387711/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp