Merge branch 'master' of https://github.com/oed/qutebrowser into oed-master
This commit is contained in:
commit
ad6065605a
@ -951,6 +951,7 @@ KEY_DATA = collections.OrderedDict([
|
||||
('forward', ['L']),
|
||||
('forward -t', ['tl']),
|
||||
('forward -w', ['wl']),
|
||||
('fullscreen', ['<F11>']),
|
||||
('hint', ['f']),
|
||||
('hint all tab', ['F']),
|
||||
('hint all window', ['wf']),
|
||||
|
@ -305,6 +305,14 @@ class MainWindow(QWidget):
|
||||
"""
|
||||
super().close()
|
||||
|
||||
@cmdutils.register(instance='main-window', scope='window')
|
||||
def fullscreen(self):
|
||||
"""Toggle fullscreen mode."""
|
||||
if self.isFullScreen():
|
||||
self.showNormal()
|
||||
else:
|
||||
self.showFullScreen()
|
||||
|
||||
def resizeEvent(self, e):
|
||||
"""Extend resizewindow's resizeEvent to adjust completion.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user