File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ export class Keybindings {
16
16
this . ext = ext ;
17
17
this . global = {
18
18
"activate-launcher" : ( ) => {
19
+ // Ignore when a fullscreen window is active
20
+ if ( ext . focus_window ( ) ?. meta . is_fullscreen ( ) ) {
21
+ return
22
+ }
23
+
19
24
ext . tiler . exit ( ext ) ;
20
25
ext . window_search . open ( ext ) ;
21
26
} ,
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ export class Launcher extends search.Search {
263
263
}
264
264
265
265
load_desktop_files ( ) {
266
- log . warn ( "pop-shell: deprecated function called (dialog_launcher ::load_desktop_files)" )
266
+ log . warn ( "pop-shell: deprecated function called (launcher ::load_desktop_files)" )
267
267
}
268
268
269
269
locate_by_app_info ( info : any ) : null | ShellWindow {
@@ -293,11 +293,17 @@ export class Launcher extends search.Search {
293
293
}
294
294
295
295
open ( ext : Ext ) {
296
+ // Do not activate if the focused window is fullscreen
297
+ if ( ext . focus_window ( ) ?. meta . is_fullscreen ( ) ) {
298
+ return
299
+ }
300
+
296
301
const active_monitor = ext . active_monitor ( )
297
302
const mon_work_area = ext . monitor_work_area ( active_monitor )
298
303
const mon_area = ext . monitor_area ( active_monitor )
299
304
const mon_width = mon_area ? mon_area . width : mon_work_area . width
300
305
306
+
301
307
super . cleanup ( )
302
308
303
309
this . start_services ( )
You can’t perform that action at this time.
0 commit comments