Skip to content

Fix GNOME 50 compatibility - #173

Open
SawanTeja wants to merge 1 commit into
icedman:mainfrom
SawanTeja:fix-gnome-50
Open

Fix GNOME 50 compatibility#173
SawanTeja wants to merge 1 commit into
icedman:mainfrom
SawanTeja:fix-gnome-50

Conversation

@SawanTeja

Copy link
Copy Markdown

GNOME 50 is Wayland only and no longer provides the X11 compositor backend, so global.compositor.disable_unredirect() and global.compositor.enable_unredirect() are no longer available and cause the extension to crash.

These calls were used to tell the X11 compositor to stop compositing while the search overlay was visible as a performance optimization. This is no longer necessary on Wayland, so the calls can be safely removed.

Changes

Removed three calls from extension.js:

global.compositor.disable_unredirect() from show()
global.compositor.enable_unredirect() from the hide() branch
global.compositor.enable_unredirect() from the other hide() branch

Tested On :
Fedora Linux 44 (Workstation Edition) x86_64
GNOME 50.4

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant