Public bug reported:

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)

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


** Tags: amd64 apport-bug utopic

** Attachment added: "Repro case"
   
https://bugs.launchpad.net/bugs/1387711/+attachment/4249192/+files/allowed-actions.c

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

Title:
  Unity doesn't respect NET_WM_ALLOWED_ACTIONS

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

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

Reply via email to