Skip to content

Commit

Permalink
[negwm] change configured_internally default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
neg-serg committed Mar 30, 2024
1 parent b7ad2e4 commit 3d4c226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions negwm/modules/circle.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def initialize(self, i3):
self.current_win = i3tree.find_focused()
# Winlist is used to reduce calling i3.get_tree() too many times.
self.winlist = i3tree.leaves()
self.configured_internally = self.cfg['configured_internally']
del self.cfg['configured_internally']
self.configured_internally = True
for tag in self.cfg:
self.tagged[tag] = []
self.current_position[tag] = 0
Expand Down
3 changes: 1 addition & 2 deletions negwm/modules/scratchpad.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def __init__(self, i3) -> None:
def initialize(self, i3):
self.win = None # reducing calling i3.get_tree() too many times.
self.fullscreen_list = [] # performing fullscreen hacks
self.configured_internally = self.cfg['configured_internally']
del self.cfg['configured_internally']
self.configured_internally = True
# scratchpad_geom used to respect current screen resolution in the geometry
# settings and scale it
self.scratchpad_geom = geom.geom(self.cfg)
Expand Down

0 comments on commit 3d4c226

Please sign in to comment.