Skip to content

Commit

Permalink
ActiveWindowHint: Remove active window hint
Browse files Browse the repository at this point in the history
The newly added focus hint is a better feature. So remove the active
window hint in favor of it.
  • Loading branch information
Leleat committed May 19, 2024
1 parent 8cc7052 commit 4cbb28b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 455 deletions.
4 changes: 0 additions & 4 deletions tiling-assistant@leleat-on-github/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import MoveHandler from './src/extension/moveHandler.js';
import ResizeHandler from './src/extension/resizeHandler.js';
import KeybindingHandler from './src/extension/keybindingHandler.js';
import LayoutsManager from './src/extension/layoutsManager.js';
import ActiveWindowHint from './src/extension/activeWindowHint.js';
import AltTabOverride from './src/extension/altTab.js';
import FocusHintManager from './src/extension/focusHint.js';
import { Rect } from './src/extension/utility.js';
Expand Down Expand Up @@ -161,7 +160,6 @@ export default class TilingAssistantExtension extends Extension {
this._resizeHandler = new ResizeHandler();
this._keybindingHandler = new KeybindingHandler();
this._layoutsManager = new LayoutsManager();
this._activeWindowHintHandler = new ActiveWindowHint();
this._focusHintManager = new FocusHintManager();
this._altTabOverride = new AltTabOverride();

Expand Down Expand Up @@ -241,8 +239,6 @@ export default class TilingAssistantExtension extends Extension {
this._keybindingHandler = null;
this._layoutsManager.destroy();
this._layoutsManager = null;
this._activeWindowHintHandler.destroy();
this._activeWindowHintHandler = null;
this._focusHintManager.destroy();
this._focusHintManager = null;

Expand Down
8 changes: 0 additions & 8 deletions tiling-assistant@leleat-on-github/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ export default class Prefs extends ExtensionPreferences {
'dynamic_keybinding_favorite_layout_row'
]
},
{
key: 'active-window-hint',
rowNames: [
'active_window_hint_disabled_row',
'active_window_hint_minimal_row',
'active_window_hint_always_row'
]
},
{
key: 'focus-hint',
rowNames: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,6 @@
<key name="focus-hint-outline-size" type="i">
<default>8</default>
</key>
<key name="active-window-hint" type="i">
<!-- 0: Disabled, 1: Minimal, 2: Always -->
<default>1</default>
</key>
<key name="active-window-hint-color" type="s">
<default>''</default>
</key>
<key name="active-window-hint-border-size" type="i">
<default>5</default>
</key>
<key name="active-window-hint-inner-border-size" type="i">
<default>0</default>
</key>
<key name="window-gap" type="i">
<default>0</default>
</key>
Expand Down
Loading

0 comments on commit 4cbb28b

Please sign in to comment.