Bugfix for window focus event propogation
This commit is contained in:
parent
0f6db1ee28
commit
075eb636bc
2 changed files with 4 additions and 4 deletions
|
|
@ -498,11 +498,11 @@ public class Application.MainWindow :
|
|||
|
||||
this.focus_in_event.connect((w, e) => {
|
||||
application.controller.window_focus_in();
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
this.focus_out_event.connect((w, e) => {
|
||||
application.controller.window_focus_out();
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
|
||||
setup_layout(application.config);
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ public class Composer.Window : Gtk.ApplicationWindow, Container {
|
|||
|
||||
this.focus_in_event.connect((w, e) => {
|
||||
application.controller.window_focus_in();
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
this.focus_out_event.connect((w, e) => {
|
||||
application.controller.window_focus_out();
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
|
||||
show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue