Compare commits
merge into: brl:citadel
brl:citadel
brl:citadel-46.0
brl:citadel-45.0
brl:citadel-43.0
brl:citadel-42.1
brl:main
brl:gnome-3-36
brl:wip/smcv/issue3071-3.36
brl:gnome-3-28
brl:gbsneto/effects-paint-nodes
brl:wip/carlosg/input-thread
brl:wip/fmuellner/gtk4
brl:benzea/use-app-info-launch
brl:wip/exalm/gestures2
brl:gbsneto/offscreen-paint-node
brl:wip/exalm/corners
brl:wip/ewlsh/unify-app-menus
brl:wip/carlosg/centralized-panel-auto-orientation
brl:cherry-pick-46547ae0
brl:gnome-3-34
brl:wip/carlosg/im-caret-taps-x11-3.36
brl:wip/mcrha/issue1875
brl:gtk3-ci
brl:gbsneto/eager-cache-invalidation
brl:wip/smcv/issue2538
brl:cherry-pick-a0def239
brl:wip/carlosg/no-wacom-leds
brl:155-move-functionality-from-evolution-alarm-notify-to-gnome-shell-calendar-server
brl:bilelmoussaoui/extensions/fix
brl:wip/chergert/3-28-perf-fixes
brl:wip/exalm/gestures
brl:wip/jimmac/osk-338-tweaks
brl:wip/jtojnar/adoc
brl:gbsneto/new-lock-screen-part2
brl:wip/carlosg/drop-device-idle-monitors
brl:wip/jimmac/system-grey-tweak
brl:wip/carlosg/lockscreen-fix
brl:drop-portal
brl:wip/lockdown-show-password
brl:uajain/adapt-user-avatar
brl:benzea/systemd-start-waiting
brl:wip/carlosg/fix-tablet-overview-window-dnd
brl:uajain/st-entry-password-2
brl:wip/hadess/always-launch-discrete-gpu
brl:gbsneto/content-part2
brl:gbsneto/new-lock-screen
brl:gbsneto/dnd-fixes
brl:wip/exalm/battery
brl:benzea/systemd-user-units-with-extension-warning
brl:gnome-3-32
brl:gnome-3-30
brl:gbsneto/icon-grid-dnd
brl:gbsneto/more-content
brl:issue369
brl:wip/aday/standardise-text-styles
brl:wip/jimmac/typography
brl:wip/jimmac/sync-with-adwaita
brl:wip/nielsdg/remove-coglerror
brl:wip/jimmac/frederik-light
brl:wip/jimmac/adwaita-light
brl:wip/mcrha/eds-libical-glib
brl:wip/fmuellner/ease-wm-animations
brl:wip/carlosg/fix-osk-warnings
brl:gnome-3-26
brl:wip/rstrode/fix-smooshed-fedora
brl:wip/fmuellner/opt-in-hot-corner
brl:wip/jimmac/osd-sync-with-gtk
brl:1151-moving-window-up-to-a-new-workspace-clears-all-always-on-visible-workspace-flags
brl:gbsneto/automatic-updates
brl:wip/jimmac/closebutton-tweaks
brl:wip/rstrode/rhel-8.0.0
brl:pot-ci
brl:gbsneto/fix-long-user-names
brl:wip/timed-login-fix
brl:wip/fmuellner/remove-app-menu
brl:cherry-pick-74bb9e62
brl:cherry-pick-b719744e
brl:wip/texture-purge-on-nvidia
brl:wip/fmuellner/focus-app-error
brl:wip/rstrode/mouse-freeze-fix
brl:wip/jimmac/sharp-icons
brl:wip/fmuellner/background-gradient
brl:wip/fmuellner/duplicate-favs
brl:wip/fix-drag-lock-up
brl:wip/fmuellner/fix-98
brl:wip/carlosg/fix-workspace-transient-dialog-warnings
brl:wip/carlosg/osk-warning-fixes
brl:wip/fmuellner/overview-keynav
brl:wip/jimmac/settings-app-icon
brl:wip/fmuellner/appstream-mappings
brl:wip/fmuellner/indicate-app-in-polkit-dialogs
brl:theme-search-version
brl:gbsneto/789110
brl:issue267
brl:issue219
brl:issue154
brl:wip/fmuellner/guard-shadow-pipeline-from-actor-call
brl:jrocha/polkit-dialog-without-passwd
brl:issue-36
brl:wip/rancell/guest
brl:wip/msanchez/620106
brl:gnome-3-24
brl:gnome-3-20
brl:wip/raresv/system-actions
brl:gnome-3-22
brl:wip/fmuellner/overview-tweaks
brl:wip/beniofel/gesture
brl:wip/rstrode/list-extension
brl:wip/raresv/uiTweaks
brl:wip/jstpierre/cursor-position-tracker
brl:gnome-3-18
brl:wip/ptomato/remove-gjs-internal-api
brl:wip/pad-osd
brl:wip/rtcm/merge
brl:gnome-3-4
brl:gnome-3-6
brl:gnome-3-0
brl:gnome-3-2
brl:wip/loc-apps
brl:gnome-3-16
brl:gnome-3-14
brl:wip/fullscreen
brl:gnome-3-10
brl:matthiasc/misc-fixes
brl:wip/halfline/env
brl:wip/csoriano/modal-dialog-button-style
brl:wip/garnacho/touchpad-gestures
brl:wip/maximize
brl:gnome-3-8
brl:gnome-3-12
brl:wip/muktupavels/flashback
brl:wip/fmuellner/chat-notifications
brl:wip/sass
brl:wip/sassWithSomeFixes
brl:wip/wobbly
brl:wip/background-rework
brl:wip/gestures
brl:wip/notif-d3
brl:wip/notif-banner-relayout
brl:wip/new-notifications
brl:wip/quadbuffer-stereo
brl:wip/wayland-gdm-cleanup
brl:wip/overview-transition
brl:wip/folders
brl:wip/desktop-file-index
brl:wip/cogl-deprecations
brl:wip/smartcard
brl:wip/login-unlock-merge
brl:wip/wayland-2
brl:wip/window-scales
brl:wip/session-menu
brl:wip/reorg
brl:wip/is-switch-fixes
brl:wip/gcampax/modal-dialogs
brl:wip/gcampax/background
brl:3.7.3.1-branch
brl:wip/re-search-v2
brl:wip/classic
brl:wip/grab-helper-top-panel
brl:3.7.2.1-branch
brl:wip/media-keys
brl:wip/gdbus-2
brl:wip/re-search
brl:screen-shield-next
brl:wip/screen-shield-rebase1
brl:wip/input-sources
brl:wip/screen-shield
brl:wip/menus-rebase2
brl:wip/menus
brl:wip/gdbus
brl:osk
brl:goa-client
brl:zeitgeist
brl:workspace-thumbnails
brl:datetime
brl:overview-relayout
brl:message-tray
brl:shell-toolkit
brl:nbtk-introduction
brl:overlay-design02
brl:3.37.91
brl:3.36.5
brl:3.37.90
brl:3.36.4
brl:3.37.3
brl:3.36.3
brl:3.37.2
brl:3.36.2
brl:3.37.1
brl:3.34.5
brl:3.36.1
brl:3.36.0
brl:3.35.92
brl:3.35.91
brl:3.34.4
brl:3.35.90
brl:3.34.3
brl:3.35.3
brl:3.34.2
brl:3.35.2
brl:3.35.1
brl:3.34.1
brl:3.34.0
brl:3.33.92
brl:3.33.91
brl:3.33.90
brl:3.33.4
brl:3.33.3
brl:3.33.2
brl:3.28.4
brl:3.32.2
brl:3.33.1
brl:3.32.1
brl:3.32.0
brl:3.31.92
brl:3.31.91
brl:3.31.90
brl:3.31.4
brl:3.31.2
brl:3.30.2
brl:3.30.1
brl:3.30.0
brl:3.29.92
brl:3.29.91
brl:3.29.90
brl:3.28.3
brl:3.29.4
brl:3.29.3
brl:3.29.2
brl:3.28.2
brl:3.29.1
brl:3.28.1
brl:3.28.0
brl:3.27.92
brl:3.27.91
brl:3.26.2
brl:3.27.1
brl:3.26.1
brl:3.26.0
brl:3.25.91
brl:3.25.90
brl:3.24.3
brl:3.25.4
brl:3.25.3
brl:3.25.2
brl:3.24.2
brl:3.25.1
brl:3.24.1
brl:3.24.0
brl:3.23.92
brl:3.23.91
brl:3.22.3
brl:3.23.90
brl:3.23.3
brl:3.23.2
brl:3.22.2
brl:3.23.1
brl:3.22.1
brl:3.22.0
brl:3.21.92
brl:3.21.91
brl:3.21.90.1
brl:3.20.4
brl:3.21.90
brl:3.21.4
brl:3.20.3
brl:3.21.3
brl:3.21.2
brl:3.20.2
brl:3.21.1
brl:3.18.5
brl:3.20.1
brl:3.20.0
brl:3.19.92
brl:3.19.91
brl:3.18.4
brl:3.19.90
brl:3.19.4
brl:3.19.3
brl:3.19.2
brl:3.18.3
brl:3.18.2
brl:3.19.1
brl:3.16.4
brl:3.18.1
brl:3.18.0
brl:3.17.92
brl:3.17.91
brl:3.17.90
brl:3.17.4
brl:3.16.3
brl:3.17.3
brl:3.17.2
brl:3.16.2
brl:3.17.1
brl:3.16.1
brl:3.16.0
brl:3.14.4
brl:3.15.92
brl:3.15.91
brl:3.15.90
brl:3.15.4
brl:3.15.3
brl:3.14.3
brl:3.15.2
brl:3.14.2
brl:3.14.1.5
brl:3.15.1
brl:3.14.1
brl:3.14.0
brl:3.13.92
brl:3.13.91
brl:3.13.90
brl:3.13.4
brl:3.13.3
brl:3.13.2
brl:3.12.2
brl:3.13.1
brl:3.12.1
brl:3.12.0
brl:3.11.92
brl:3.11.91
brl:3.11.90
brl:3.10.4
brl:3.11.5
brl:3.10.3
brl:3.11.3
brl:3.10.2.1
brl:3.10.2
brl:3.11.2
brl:3.11.1
brl:3.10.1
brl:3.10.0.1
brl:3.10.0
brl:3.9.92
brl:3.9.91
brl:3.9.90
brl:3.8.4
brl:3.9.5
brl:3.9.4
brl:3.9.3
brl:3.8.3
brl:3.9.2
brl:3.8.2
brl:3.9.1
brl:3.8.1
brl:3.8.0.1
brl:3.8.0
brl:3.7.92
brl:3.7.91
brl:3.6.3.1
brl:3.7.90
brl:3.6.3
brl:3.7.5
brl:3.7.4.1
brl:3.7.4
brl:3.7.3.1
brl:3.7.3
brl:3.7.2.1
brl:3.7.2
brl:3.6.2
brl:3.7.1
brl:3.6.1
brl:3.6.0
brl:3.5.92
brl:3.5.91
brl:3.5.90
brl:3.5.5
brl:3.4.2
brl:3.5.4
brl:3.5.3
brl:3.5.2
brl:3.4.1
brl:3.4.0
brl:3.3.92
brl:3.3.90
brl:3.3.5
brl:3.3.4
brl:3.2.2.1
brl:3.2.2
brl:3.3.3
brl:3.3.2
brl:3.2.1
brl:3.2.0
brl:3.1.92
brl:3.1.91.1
brl:3.1.91
brl:3.1.90.1
brl:3.1.90
brl:3.1.4
brl:3.1.3
brl:3.0.2
brl:3.0.1
brl:3.0.0.2
brl:3.0.0.1
brl:3.0.0
brl:2.91.93
brl:2.91.92
brl:2.91.91
brl:2.91.90
brl:2.91.6
brl:2.91.5
brl:2.91.4
brl:2.91.3
brl:2.91.2
brl:2.91.1
brl:2.91.0
brl:2.31.5
brl:2.31.4
brl:2.31.2
brl:2.29.1
brl:2.29.0
brl:2.28.0
brl:2.27.3
brl:2.27.2
brl:2.27.1
brl:2.27.0
...
pull from: brl:issue219
brl:citadel-46.0
brl:citadel-45.0
brl:citadel-43.0
brl:citadel-42.1
brl:citadel
brl:main
brl:gnome-3-36
brl:wip/smcv/issue3071-3.36
brl:gnome-3-28
brl:gbsneto/effects-paint-nodes
brl:wip/carlosg/input-thread
brl:wip/fmuellner/gtk4
brl:benzea/use-app-info-launch
brl:wip/exalm/gestures2
brl:gbsneto/offscreen-paint-node
brl:wip/exalm/corners
brl:wip/ewlsh/unify-app-menus
brl:wip/carlosg/centralized-panel-auto-orientation
brl:cherry-pick-46547ae0
brl:gnome-3-34
brl:wip/carlosg/im-caret-taps-x11-3.36
brl:wip/mcrha/issue1875
brl:gtk3-ci
brl:gbsneto/eager-cache-invalidation
brl:wip/smcv/issue2538
brl:cherry-pick-a0def239
brl:wip/carlosg/no-wacom-leds
brl:155-move-functionality-from-evolution-alarm-notify-to-gnome-shell-calendar-server
brl:bilelmoussaoui/extensions/fix
brl:wip/chergert/3-28-perf-fixes
brl:wip/exalm/gestures
brl:wip/jimmac/osk-338-tweaks
brl:wip/jtojnar/adoc
brl:gbsneto/new-lock-screen-part2
brl:wip/carlosg/drop-device-idle-monitors
brl:wip/jimmac/system-grey-tweak
brl:wip/carlosg/lockscreen-fix
brl:drop-portal
brl:wip/lockdown-show-password
brl:uajain/adapt-user-avatar
brl:benzea/systemd-start-waiting
brl:wip/carlosg/fix-tablet-overview-window-dnd
brl:uajain/st-entry-password-2
brl:wip/hadess/always-launch-discrete-gpu
brl:gbsneto/content-part2
brl:gbsneto/new-lock-screen
brl:gbsneto/dnd-fixes
brl:wip/exalm/battery
brl:benzea/systemd-user-units-with-extension-warning
brl:gnome-3-32
brl:gnome-3-30
brl:gbsneto/icon-grid-dnd
brl:gbsneto/more-content
brl:issue369
brl:wip/aday/standardise-text-styles
brl:wip/jimmac/typography
brl:wip/jimmac/sync-with-adwaita
brl:wip/nielsdg/remove-coglerror
brl:wip/jimmac/frederik-light
brl:wip/jimmac/adwaita-light
brl:wip/mcrha/eds-libical-glib
brl:wip/fmuellner/ease-wm-animations
brl:wip/carlosg/fix-osk-warnings
brl:gnome-3-26
brl:wip/rstrode/fix-smooshed-fedora
brl:wip/fmuellner/opt-in-hot-corner
brl:wip/jimmac/osd-sync-with-gtk
brl:1151-moving-window-up-to-a-new-workspace-clears-all-always-on-visible-workspace-flags
brl:gbsneto/automatic-updates
brl:wip/jimmac/closebutton-tweaks
brl:wip/rstrode/rhel-8.0.0
brl:pot-ci
brl:gbsneto/fix-long-user-names
brl:wip/timed-login-fix
brl:wip/fmuellner/remove-app-menu
brl:cherry-pick-74bb9e62
brl:cherry-pick-b719744e
brl:wip/texture-purge-on-nvidia
brl:wip/fmuellner/focus-app-error
brl:wip/rstrode/mouse-freeze-fix
brl:wip/jimmac/sharp-icons
brl:wip/fmuellner/background-gradient
brl:wip/fmuellner/duplicate-favs
brl:wip/fix-drag-lock-up
brl:wip/fmuellner/fix-98
brl:wip/carlosg/fix-workspace-transient-dialog-warnings
brl:wip/carlosg/osk-warning-fixes
brl:wip/fmuellner/overview-keynav
brl:wip/jimmac/settings-app-icon
brl:wip/fmuellner/appstream-mappings
brl:wip/fmuellner/indicate-app-in-polkit-dialogs
brl:theme-search-version
brl:gbsneto/789110
brl:issue267
brl:issue219
brl:issue154
brl:wip/fmuellner/guard-shadow-pipeline-from-actor-call
brl:jrocha/polkit-dialog-without-passwd
brl:issue-36
brl:wip/rancell/guest
brl:wip/msanchez/620106
brl:gnome-3-24
brl:gnome-3-20
brl:wip/raresv/system-actions
brl:gnome-3-22
brl:wip/fmuellner/overview-tweaks
brl:wip/beniofel/gesture
brl:wip/rstrode/list-extension
brl:wip/raresv/uiTweaks
brl:wip/jstpierre/cursor-position-tracker
brl:gnome-3-18
brl:wip/ptomato/remove-gjs-internal-api
brl:wip/pad-osd
brl:wip/rtcm/merge
brl:gnome-3-4
brl:gnome-3-6
brl:gnome-3-0
brl:gnome-3-2
brl:wip/loc-apps
brl:gnome-3-16
brl:gnome-3-14
brl:wip/fullscreen
brl:gnome-3-10
brl:matthiasc/misc-fixes
brl:wip/halfline/env
brl:wip/csoriano/modal-dialog-button-style
brl:wip/garnacho/touchpad-gestures
brl:wip/maximize
brl:gnome-3-8
brl:gnome-3-12
brl:wip/muktupavels/flashback
brl:wip/fmuellner/chat-notifications
brl:wip/sass
brl:wip/sassWithSomeFixes
brl:wip/wobbly
brl:wip/background-rework
brl:wip/gestures
brl:wip/notif-d3
brl:wip/notif-banner-relayout
brl:wip/new-notifications
brl:wip/quadbuffer-stereo
brl:wip/wayland-gdm-cleanup
brl:wip/overview-transition
brl:wip/folders
brl:wip/desktop-file-index
brl:wip/cogl-deprecations
brl:wip/smartcard
brl:wip/login-unlock-merge
brl:wip/wayland-2
brl:wip/window-scales
brl:wip/session-menu
brl:wip/reorg
brl:wip/is-switch-fixes
brl:wip/gcampax/modal-dialogs
brl:wip/gcampax/background
brl:3.7.3.1-branch
brl:wip/re-search-v2
brl:wip/classic
brl:wip/grab-helper-top-panel
brl:3.7.2.1-branch
brl:wip/media-keys
brl:wip/gdbus-2
brl:wip/re-search
brl:screen-shield-next
brl:wip/screen-shield-rebase1
brl:wip/input-sources
brl:wip/screen-shield
brl:wip/menus-rebase2
brl:wip/menus
brl:wip/gdbus
brl:osk
brl:goa-client
brl:zeitgeist
brl:workspace-thumbnails
brl:datetime
brl:overview-relayout
brl:message-tray
brl:shell-toolkit
brl:nbtk-introduction
brl:overlay-design02
brl:3.37.91
brl:3.36.5
brl:3.37.90
brl:3.36.4
brl:3.37.3
brl:3.36.3
brl:3.37.2
brl:3.36.2
brl:3.37.1
brl:3.34.5
brl:3.36.1
brl:3.36.0
brl:3.35.92
brl:3.35.91
brl:3.34.4
brl:3.35.90
brl:3.34.3
brl:3.35.3
brl:3.34.2
brl:3.35.2
brl:3.35.1
brl:3.34.1
brl:3.34.0
brl:3.33.92
brl:3.33.91
brl:3.33.90
brl:3.33.4
brl:3.33.3
brl:3.33.2
brl:3.28.4
brl:3.32.2
brl:3.33.1
brl:3.32.1
brl:3.32.0
brl:3.31.92
brl:3.31.91
brl:3.31.90
brl:3.31.4
brl:3.31.2
brl:3.30.2
brl:3.30.1
brl:3.30.0
brl:3.29.92
brl:3.29.91
brl:3.29.90
brl:3.28.3
brl:3.29.4
brl:3.29.3
brl:3.29.2
brl:3.28.2
brl:3.29.1
brl:3.28.1
brl:3.28.0
brl:3.27.92
brl:3.27.91
brl:3.26.2
brl:3.27.1
brl:3.26.1
brl:3.26.0
brl:3.25.91
brl:3.25.90
brl:3.24.3
brl:3.25.4
brl:3.25.3
brl:3.25.2
brl:3.24.2
brl:3.25.1
brl:3.24.1
brl:3.24.0
brl:3.23.92
brl:3.23.91
brl:3.22.3
brl:3.23.90
brl:3.23.3
brl:3.23.2
brl:3.22.2
brl:3.23.1
brl:3.22.1
brl:3.22.0
brl:3.21.92
brl:3.21.91
brl:3.21.90.1
brl:3.20.4
brl:3.21.90
brl:3.21.4
brl:3.20.3
brl:3.21.3
brl:3.21.2
brl:3.20.2
brl:3.21.1
brl:3.18.5
brl:3.20.1
brl:3.20.0
brl:3.19.92
brl:3.19.91
brl:3.18.4
brl:3.19.90
brl:3.19.4
brl:3.19.3
brl:3.19.2
brl:3.18.3
brl:3.18.2
brl:3.19.1
brl:3.16.4
brl:3.18.1
brl:3.18.0
brl:3.17.92
brl:3.17.91
brl:3.17.90
brl:3.17.4
brl:3.16.3
brl:3.17.3
brl:3.17.2
brl:3.16.2
brl:3.17.1
brl:3.16.1
brl:3.16.0
brl:3.14.4
brl:3.15.92
brl:3.15.91
brl:3.15.90
brl:3.15.4
brl:3.15.3
brl:3.14.3
brl:3.15.2
brl:3.14.2
brl:3.14.1.5
brl:3.15.1
brl:3.14.1
brl:3.14.0
brl:3.13.92
brl:3.13.91
brl:3.13.90
brl:3.13.4
brl:3.13.3
brl:3.13.2
brl:3.12.2
brl:3.13.1
brl:3.12.1
brl:3.12.0
brl:3.11.92
brl:3.11.91
brl:3.11.90
brl:3.10.4
brl:3.11.5
brl:3.10.3
brl:3.11.3
brl:3.10.2.1
brl:3.10.2
brl:3.11.2
brl:3.11.1
brl:3.10.1
brl:3.10.0.1
brl:3.10.0
brl:3.9.92
brl:3.9.91
brl:3.9.90
brl:3.8.4
brl:3.9.5
brl:3.9.4
brl:3.9.3
brl:3.8.3
brl:3.9.2
brl:3.8.2
brl:3.9.1
brl:3.8.1
brl:3.8.0.1
brl:3.8.0
brl:3.7.92
brl:3.7.91
brl:3.6.3.1
brl:3.7.90
brl:3.6.3
brl:3.7.5
brl:3.7.4.1
brl:3.7.4
brl:3.7.3.1
brl:3.7.3
brl:3.7.2.1
brl:3.7.2
brl:3.6.2
brl:3.7.1
brl:3.6.1
brl:3.6.0
brl:3.5.92
brl:3.5.91
brl:3.5.90
brl:3.5.5
brl:3.4.2
brl:3.5.4
brl:3.5.3
brl:3.5.2
brl:3.4.1
brl:3.4.0
brl:3.3.92
brl:3.3.90
brl:3.3.5
brl:3.3.4
brl:3.2.2.1
brl:3.2.2
brl:3.3.3
brl:3.3.2
brl:3.2.1
brl:3.2.0
brl:3.1.92
brl:3.1.91.1
brl:3.1.91
brl:3.1.90.1
brl:3.1.90
brl:3.1.4
brl:3.1.3
brl:3.0.2
brl:3.0.1
brl:3.0.0.2
brl:3.0.0.1
brl:3.0.0
brl:2.91.93
brl:2.91.92
brl:2.91.91
brl:2.91.90
brl:2.91.6
brl:2.91.5
brl:2.91.4
brl:2.91.3
brl:2.91.2
brl:2.91.1
brl:2.91.0
brl:2.31.5
brl:2.31.4
brl:2.31.2
brl:2.29.1
brl:2.29.0
brl:2.28.0
brl:2.27.3
brl:2.27.2
brl:2.27.1
brl:2.27.0
1 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Mario Sanchez Prada
|
1b7577298a |
window-tracker: check WM_CLASS for sandboxed apps before the app's ID
For sandboxed apps, the shell needs to consider the app's ID when matching its windows against the right .desktop file, but that check can't be done before having attempted to match using the WM_CLASS property of the app's window, otherwise apps installing multiple desktop files (e.g. LibreOffice) will always match every single window against the same .desktop file, ignoring hints such as the StartupWMClass key. This commit moves the call to get_app_from_sandboxed_app_id() after get_app_from_window_wmclass() and before get_app_from_window_pid(), so that we only rely on the sandboxed app's ID when no match has succeed using the WM_CLASS property, but before checking by PID to prevent wrong groups that could be created when the PID of the app inside the sandbox matches the one from a process outside of it. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/219 |
1 changed files with 9 additions and 7 deletions
|
@ -395,13 +395,6 @@ get_app_for_window (ShellWindowTracker *tracker,
|
|||
if (meta_window_is_remote (window))
|
||||
return _shell_app_new_for_window (window);
|
||||
|
||||
/* Check if the window was opened from within a sandbox; if this
|
||||
* is the case, a corresponding .desktop file is guaranteed to match;
|
||||
*/
|
||||
result = get_app_from_sandboxed_app_id (window);
|
||||
if (result != NULL)
|
||||
return result;
|
||||
|
||||
/* Check if the window has a GApplication ID attached; this is
|
||||
* canonical if it does
|
||||
*/
|
||||
|
@ -416,6 +409,15 @@ get_app_for_window (ShellWindowTracker *tracker,
|
|||
if (result != NULL)
|
||||
return result;
|
||||
|
||||
/* Check if the window was opened from within a sandbox; if this
|
||||
* is the case, a corresponding .desktop file is guaranteed to match;
|
||||
* Do this after having checked by WM_CLASS so that sandboxed apps
|
||||
* installing multiple .desktop files can properly match their windows.
|
||||
*/
|
||||
result = get_app_from_sandboxed_app_id (window);
|
||||
if (result != NULL)
|
||||
return result;
|
||||
|
||||
result = get_app_from_window_pid (tracker, window);
|
||||
if (result != NULL)
|
||||
return result;
|
||||
|
|
Write
Preview
Loading…
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.