aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authormathias <mathias>2005-03-23 20:36:12 (GMT)
committermathias <mathias>2005-03-23 20:36:12 (GMT)
commit12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7 (patch)
tree9272cfe698c912ff98d094e7d13f6765c57f42ac /src/CurrentWindowCmd.cc
parent1a6d067013259bb8e7bee0fe4d9e8bff48200cb7 (diff)
downloadfluxbox-12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7.zip
fluxbox-12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7.tar.bz2
added "Fullscreen" - command, removes borders and maximizes to
the full screen ... hence the name :)
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc
index 4c77eac..ba3af0d 100644
--- a/src/CurrentWindowCmd.cc
+++ b/src/CurrentWindowCmd.cc
@@ -129,3 +129,8 @@ void ResizeToCmd::real_execute() {
129 if (m_step_size_x > 0 && m_step_size_y > 0) 129 if (m_step_size_x > 0 && m_step_size_y > 0)
130 fbwindow().resize(m_step_size_x, m_step_size_y); 130 fbwindow().resize(m_step_size_x, m_step_size_y);
131} 131}
132
133FullscreenCmd::FullscreenCmd() { }
134void FullscreenCmd::real_execute() {
135 fbwindow().setFullscreen(!fbwindow().isFullscreen());
136}