Merge lp:~3v1n0/nux/xinputwindow-wm-pid into lp:nux
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Andrea Azzarone |
Approved revision: | 801 |
Merged at revision: | 797 |
Proposed branch: | lp:~3v1n0/nux/xinputwindow-wm-pid |
Merge into: | lp:nux |
Prerequisite: | lp:~3v1n0/nux/xinputwindow-cache-atoms |
Diff against target: |
46 lines (+16/-0) 1 file modified
NuxGraphics/XInputWindow.cpp (+16/-0) |
To merge this branch: | bzr merge lp:~3v1n0/nux/xinputwindow-wm-pid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Andrea Azzarone (community) | Approve | ||
Review via email: mp+169853@code.launchpad.net |
Commit message
XInputWindow: define _NET_WM_PID and WM_CLIENT_MACHINE for nux windows
This makes them to be matched properly
Description of the change
Register the process pid that launched every nux input window, in this way BAMF can handle the unity windows as windows of the same application (that won't be shown anyway), instead of creating a new application for each window.
This reduces the usage of some resources both in bamf and in unity (that now will create only one hidden ApplicationLaun
To post a comment you must log in.
+ hostname[ sizeof( hostname) -1] = '\0';
gethostname returns a null-terminated string. Do you really need that?