forked from cromer/pamac-classic
fix move window
This commit is contained in:
parent
36c76e18ef
commit
72259da0b7
@ -352,7 +352,6 @@ namespace Pamac {
|
|||||||
searchbar.notify["search-mode-enabled"].connect (on_search_mode_enabled);
|
searchbar.notify["search-mode-enabled"].connect (on_search_mode_enabled);
|
||||||
show_last_search = true;
|
show_last_search = true;
|
||||||
// enable "type to search"
|
// enable "type to search"
|
||||||
this.get_window ().set_events (Gdk.EventMask.KEY_PRESS_MASK);
|
|
||||||
this.key_press_event.connect ((event) => {
|
this.key_press_event.connect ((event) => {
|
||||||
show_last_search = false;
|
show_last_search = false;
|
||||||
return searchbar.handle_event (event);
|
return searchbar.handle_event (event);
|
||||||
|
Loading…
Reference in New Issue
Block a user