Skip to content

Commit

Permalink
Add pid property for sway
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsymon committed Feb 26, 2019
1 parent f648a9f commit bd0224e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion i3ipc/i3ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,8 @@ class Con(object):
Whether the container is floating or not. Possible values are
"auto_on", "auto_off", "user_on" and "user_off"
.. attribute:: pid
The id of the process who owns the client window
..
command <-- method
Expand Down Expand Up @@ -992,7 +994,7 @@ def __init__(self, data, parent, conn):
'border', 'current_border_width', 'floating', 'focus', 'focused',
'fullscreen_mode', 'id', 'layout', 'marks', 'name', 'num',
'orientation', 'percent', 'scratchpad_state', 'sticky', 'type',
'urgent', 'window'
'urgent', 'window', 'pid'
]
for attr in ipc_properties:
if attr in data:
Expand Down

0 comments on commit bd0224e

Please sign in to comment.