Skip to content

Commit

Permalink
Merge pull request #74 from thohell/floating-fix
Browse files Browse the repository at this point in the history
Fixed missing window property 'floating'
  • Loading branch information
Tony Crisci authored Jan 26, 2018
2 parents 3f1dbf9 + 3c8363a commit 99cbe2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ docs/_build/

# PyBuilder
target/

# Visual studio code
.vscode/
9 changes: 5 additions & 4 deletions i3ipc/i3ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,11 @@ def __init__(self, data, parent, conn):
self.parent = parent

# set simple properties
ipc_properties = ['border', 'current_border_width', 'focus', 'focused',
'fullscreen_mode', 'id', 'layout', 'marks', 'name',
'orientation', 'percent', 'type', 'urgent', 'window',
'num', 'scratchpad_state']
ipc_properties = ['border', 'current_border_width', 'floating',
'focus', 'focused', 'fullscreen_mode', 'id',
'layout', 'marks', 'name', 'orientation', 'percent',
'type', 'urgent', 'window', 'num', 'scratchpad_state'
]
for attr in ipc_properties:
if attr in data:
setattr(self, attr, data[attr])
Expand Down

0 comments on commit 99cbe2a

Please sign in to comment.