Skip to content

Commit

Permalink
renderer/gtk: Hide status bar and message area on fullscreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
aartaka committed Jan 11, 2022
1 parent 88d3a18 commit 746f2fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/renderer/gtk.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,14 @@ See `gtk-browser's `modifier-translator' slot."
(:webkit-context-menu-action-download-link-to-disk
(webkit:webkit-context-menu-remove context-menu item))))))
nil)
(connect-signal buffer "enter-fullscreen" nil (web-view)
(declare (ignore web-view))
(present-current-window)
nil)
(connect-signal buffer "leave-fullscreen" nil (web-view)
(declare (ignore web-view))
(unpresent-current-window)
nil)
(connect-signal buffer "user-message-received" nil (view message)
(declare (ignorable view))
(g:g-object-ref (g:pointer message))
Expand Down

0 comments on commit 746f2fe

Please sign in to comment.