Skip to content

Commit 99cbe2a

Browse files
author
Tony Crisci
authored
Merge pull request #74 from thohell/floating-fix
Fixed missing window property 'floating'
2 parents 3f1dbf9 + 3c8363a commit 99cbe2a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ docs/_build/
5555

5656
# PyBuilder
5757
target/
58+
59+
# Visual studio code
60+
.vscode/

Diff for: i3ipc/i3ipc.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -813,10 +813,11 @@ def __init__(self, data, parent, conn):
813813
self.parent = parent
814814

815815
# set simple properties
816-
ipc_properties = ['border', 'current_border_width', 'focus', 'focused',
817-
'fullscreen_mode', 'id', 'layout', 'marks', 'name',
818-
'orientation', 'percent', 'type', 'urgent', 'window',
819-
'num', 'scratchpad_state']
816+
ipc_properties = ['border', 'current_border_width', 'floating',
817+
'focus', 'focused', 'fullscreen_mode', 'id',
818+
'layout', 'marks', 'name', 'orientation', 'percent',
819+
'type', 'urgent', 'window', 'num', 'scratchpad_state'
820+
]
820821
for attr in ipc_properties:
821822
if attr in data:
822823
setattr(self, attr, data[attr])

0 commit comments

Comments
 (0)