Rename fullscreen() to togglefullscreen()

And handle c->fullscreen value in winevent(). This way we keep track of
fullscreen state even if we did not directly initiate the fullscreen.
This commit is contained in:
Quentin Rameau committed 2015-11-20 00:34:22 +01:00
1 parent b4e78555d0
commit d6794e0d75
2 files changed
+14 -5

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ static Key keys[] = {
{ MODKEY, GDK_KEY_i, scroll_h, { .i = +1 } },
{ MODKEY, GDK_KEY_u, scroll_h, { .i = -1 } },
{ 0, GDK_KEY_F11, fullscreen, { 0 } },
{ 0, GDK_KEY_F11, togglefullscreen, { 0 } },
{ 0, GDK_KEY_Escape, stop, { 0 } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_o, inspector, { 0 } },