From 0dc810497b472aa3c5411636ef9dd092294ad5fe Mon Sep 17 00:00:00 2001 From: vireonxi-om Date: Tue, 21 Jul 2026 21:10:17 +0530 Subject: [PATCH] Fix X11 input barrier when dock is hidden; increase dwell strip height - Register the dock container with affectsInputRegion: false so its full-width chrome actor stops permanently blocking clicks on X11 once the dock slides out of view. Input for the visible dock is still carried by struts (input-region tracked, hidden with the dock), and the edge dwell strip still reveals the dock on hover. Fixes #317. - Bump the dwell reveal strip from 2px to 4px so the edge hover target is easier to hit reliably when autohide is enabled. Verified on Ubuntu 24.04, GNOME Shell 46, X11, extension v92, dock at bottom, autohide + dodge enabled: synthetic xdotool/xev clicks in the dock's reserved bottom band now reach the window underneath instead of being swallowed by the shell stage; dock still reveals/hides normally. Related: #342 (same core fix, independently arrived at and verified here; this PR also includes the dwell height change). --- dock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dock.js b/dock.js index d3202ad..a782127 100644 --- a/dock.js +++ b/dock.js @@ -436,7 +436,7 @@ export let Dock = GObject.registerClass( Main.layoutManager.addChrome(this, { affectsStruts: false, - // affectsInputRegion: false, + affectsInputRegion: false, trackFullscreen: true, }); @@ -1152,7 +1152,7 @@ export let Dock = GObject.registerClass( // dwell //! add scaleFactor? - let dwellHeight = 2; + let dwellHeight = 4; if (vertical) { this.dwell.width = dwellHeight; this.dwell.height = this.height;