diff -Nru gnome-shell-extensions-48.1/data/meson.build gnome-shell-extensions-48.2/data/meson.build --- gnome-shell-extensions-48.1/data/meson.build 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/data/meson.build 2025-05-24 13:10:03.000000000 -0400 @@ -2,14 +2,19 @@ # # SPDX-License-Identifier: GPL-2.0-or-later +have_x11 = get_option('x11') + session_desktop_base = 'gnome-classic' session_desktops = [ session_desktop_base, - session_desktop_base + '-xorg', session_desktop_base + '-wayland', ] +if have_x11 + session_desktops += [session_desktop_base + '-xorg'] +endif + foreach name : session_desktops session_desktop = name + '.desktop' if name.endswith('-xorg') @@ -21,7 +26,7 @@ # There is a workaround in meson/session-post-install.py until proper # solution arises: # https://github.com/mesonbuild/meson/issues/2416 - session_instdir = xsessiondir + session_instdir = wlsessiondir #session_instdir = [ xesssiondir, wlsessiondir ] endif i18n.merge_file( diff -Nru gnome-shell-extensions-48.1/debian/changelog gnome-shell-extensions-48.2/debian/changelog --- gnome-shell-extensions-48.1/debian/changelog 2025-04-17 10:55:10.000000000 -0400 +++ gnome-shell-extensions-48.2/debian/changelog 2025-05-27 09:01:55.000000000 -0400 @@ -1,3 +1,9 @@ +gnome-shell-extensions (48.2-1) unstable; urgency=medium + + * New upstream bugfix release + + -- Jeremy BĂ­cha Tue, 27 May 2025 09:01:55 -0400 + gnome-shell-extensions (48.1-1) unstable; urgency=medium * New upstream release diff -Nru gnome-shell-extensions-48.1/extensions/windowsNavigator/extension.js gnome-shell-extensions-48.2/extensions/windowsNavigator/extension.js --- gnome-shell-extensions-48.1/extensions/windowsNavigator/extension.js 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/extensions/windowsNavigator/extension.js 2025-05-24 13:10:03.000000000 -0400 @@ -173,7 +173,7 @@ this._injectionManager.overrideMethod(viewProto, '_hideTooltips', () => { /* eslint-disable no-invalid-this */ return function () { - if (global.stage.get_key_focus() === global.stage) + if (global.stage.get_key_focus() === null) global.stage.set_key_focus(this._prevFocusActor); this._pickWindow = false; for (let i = 0; i < this._workspaces.length; i++) @@ -235,7 +235,7 @@ return true; } - if (global.stage.get_key_focus() !== global.stage) + if (global.stage.get_key_focus() !== null) return false; // ignore shift presses, they're required to get numerals in azerty keyboards diff -Nru gnome-shell-extensions-48.1/meson/session-post-install.py gnome-shell-extensions-48.2/meson/session-post-install.py --- gnome-shell-extensions-48.1/meson/session-post-install.py 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/meson/session-post-install.py 2025-05-24 13:10:03.000000000 -0400 @@ -15,10 +15,10 @@ # FIXME: Meson is unable to copy a generated target file: # https://groups.google.com/forum/#!topic/mesonbuild/3iIoYPrN4P0 -dst_dir = os.path.join(install_root, 'wayland-sessions') +dst_dir = os.path.join(install_root, 'xsessions') if not os.path.exists(dst_dir): os.makedirs(dst_dir) -src = os.path.join(install_root, 'xsessions', 'gnome-classic.desktop') +src = os.path.join(install_root, 'wayland-sessions', 'gnome-classic.desktop') dst = os.path.join(dst_dir, 'gnome-classic.desktop') shutil.copyfile(src, dst) diff -Nru gnome-shell-extensions-48.1/meson.build gnome-shell-extensions-48.2/meson.build --- gnome-shell-extensions-48.1/meson.build 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/meson.build 2025-05-24 13:10:03.000000000 -0400 @@ -4,7 +4,7 @@ project( 'gnome-shell-extensions', - version: '48.1', + version: '48.2', meson_version: '>= 1.1.0', license: 'GPL-2.0-or-later', ) @@ -31,6 +31,8 @@ uuid_suffix = '@gnome-shell-extensions.gcampax.github.com' +have_x11 = get_option('x11') + classic_extensions = [ 'apps-menu', 'places-menu', @@ -86,10 +88,12 @@ if classic_mode_enabled subdir('data') - meson.add_install_script( - 'meson/session-post-install.py', - join_paths(get_option('prefix'), datadir), - ) + if have_x11 + meson.add_install_script( + 'meson/session-post-install.py', + join_paths(get_option('prefix'), datadir), + ) + endif endif subdir('extensions') diff -Nru gnome-shell-extensions-48.1/meson.options gnome-shell-extensions-48.2/meson.options --- gnome-shell-extensions-48.1/meson.options 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/meson.options 2025-05-24 13:10:03.000000000 -0400 @@ -20,3 +20,9 @@ value: false, description: 'Enable installing data files for classic mode.' ) + +option('x11', + type: 'boolean', + value: true, + description: 'Enable X11 session support.' +) diff -Nru gnome-shell-extensions-48.1/NEWS gnome-shell-extensions-48.2/NEWS --- gnome-shell-extensions-48.1/NEWS 2025-04-13 11:06:43.000000000 -0400 +++ gnome-shell-extensions-48.2/NEWS 2025-05-24 13:10:03.000000000 -0400 @@ -1,3 +1,11 @@ +48.2 +==== +* windowsNavigator: Fix handling keyboard shortcuts [Daniel; !395] +* build: Allow disabling the X11 session [Neal; !396, !400] + +Contributors: + Daniel Buch Hansen, Neal Gompa + 48.1 ====