diff options
author | mathias <mathias> | 2005-03-23 20:36:12 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-03-23 20:36:12 (GMT) |
commit | 12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7 (patch) | |
tree | 9272cfe698c912ff98d094e7d13f6765c57f42ac /src/CurrentWindowCmd.cc | |
parent | 1a6d067013259bb8e7bee0fe4d9e8bff48200cb7 (diff) | |
download | fluxbox_pavel-12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7.zip fluxbox_pavel-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.cc | 5 |
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 | |||
133 | FullscreenCmd::FullscreenCmd() { } | ||
134 | void FullscreenCmd::real_execute() { | ||
135 | fbwindow().setFullscreen(!fbwindow().isFullscreen()); | ||
136 | } | ||