aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-09-23 13:52:05 (GMT)
committerrathnor <rathnor>2003-09-23 13:52:05 (GMT)
commita4c41f621b97084516299a322d62750f2e86b6a9 (patch)
tree8c7d95e18fc86611f74156664967aa24ceb75447 /src/Window.cc
parent36d598600becf7cf6797d33d41e106ba8beb26e6 (diff)
downloadfluxbox_pavel-a4c41f621b97084516299a322d62750f2e86b6a9.zip
fluxbox_pavel-a4c41f621b97084516299a322d62750f2e86b6a9.tar.bz2
add support for _NET_WM_STATE_FULLSCREEN
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 38fe3f5..7c331c1 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.231 2003/09/16 13:11:42 rathnor Exp $ 25// $Id: Window.cc,v 1.232 2003/09/23 13:52:05 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -1084,8 +1084,8 @@ void FluxboxWindow::getBlackboxHints() {
1084 } 1084 }
1085} 1085}
1086 1086
1087void FluxboxWindow::move(int x, int y) { 1087void FluxboxWindow::move(int x, int y, int gravity) {
1088 moveResize(x, y, frame().width(), frame().height()); 1088 moveResize(x, y, frame().width(), frame().height(), gravity);
1089} 1089}
1090 1090
1091void FluxboxWindow::resize(unsigned int width, unsigned int height) { 1091void FluxboxWindow::resize(unsigned int width, unsigned int height) {
@@ -1093,7 +1093,11 @@ void FluxboxWindow::resize(unsigned int width, unsigned int height) {
1093} 1093}
1094 1094
1095void FluxboxWindow::moveResize(int new_x, int new_y, 1095void FluxboxWindow::moveResize(int new_x, int new_y,
1096 unsigned int new_width, unsigned int new_height) { 1096 unsigned int new_width, unsigned int new_height, int gravity) {
1097
1098 if (gravity != ForgetGravity) {
1099 frame().gravityTranslate(new_x, new_y, gravity, false);
1100 }
1097 1101
1098 bool send_event = (frame().x() != new_x || frame().y() != new_y); 1102 bool send_event = (frame().x() != new_x || frame().y() != new_y);
1099 1103