aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-01-05 23:00:18 (GMT)
committerpekdon <pekdon>2002-01-05 23:00:18 (GMT)
commit69ebd4b8dca1acd5eb4bf18d668a706e9418bd2e (patch)
treee3d546000be35d359e25f117d7206d885d3e16f8 /src/Window.cc
parent76334c6ed4a1191cbff03a1226de589acc26dd6e (diff)
downloadfluxbox_pavel-69ebd4b8dca1acd5eb4bf18d668a706e9418bd2e.zip
fluxbox_pavel-69ebd4b8dca1acd5eb4bf18d668a706e9418bd2e.tar.bz2
Changed tab placement/alignment enums to uppercase letters
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 25f632b..834c555 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -296,10 +296,10 @@ FluxboxWindow::FluxboxWindow(Window w, BScreen *s) {
296 int real_x = frame.x; 296 int real_x = frame.x;
297 int real_y = frame.y; 297 int real_y = frame.y;
298 298
299 if (screen->getTabPlacement() == Tab::PTop) 299 if (screen->getTabPlacement() == Tab::PTOP)
300 real_y -= screen->getTabHeight(); 300 real_y -= screen->getTabHeight();
301 301
302 else if (screen->getTabPlacement() == Tab::PLeft) { 302 else if (screen->getTabPlacement() == Tab::PLEFT) {
303 if (screen->isTabRotateVertical()) 303 if (screen->isTabRotateVertical())
304 real_x -= screen->getTabHeight(); 304 real_x -= screen->getTabHeight();
305 else 305 else
@@ -1927,11 +1927,11 @@ void FluxboxWindow::maximize(unsigned int button) {
1927 1927
1928 if (hasTab()) { 1928 if (hasTab()) {
1929 switch(screen->getTabPlacement()) { 1929 switch(screen->getTabPlacement()) {
1930 case Tab::PTop: 1930 case Tab::PTOP:
1931 dy += screen->getTabHeight(); 1931 dy += screen->getTabHeight();
1932 dh -= screen->getTabHeight(); 1932 dh -= screen->getTabHeight();
1933 break; 1933 break;
1934 case Tab::PLeft: 1934 case Tab::PLEFT:
1935 if (screen->isTabRotateVertical()) { 1935 if (screen->isTabRotateVertical()) {
1936 dx += screen->getTabHeight(); 1936 dx += screen->getTabHeight();
1937 dw -= screen->getTabHeight(); 1937 dw -= screen->getTabHeight();
@@ -1940,13 +1940,13 @@ void FluxboxWindow::maximize(unsigned int button) {
1940 dw -= screen->getTabWidth(); 1940 dw -= screen->getTabWidth();
1941 } 1941 }
1942 break; 1942 break;
1943 case Tab::PRight: 1943 case Tab::PRIGHT:
1944 if (screen->isTabRotateVertical()) 1944 if (screen->isTabRotateVertical())
1945 dw -= screen->getTabHeight(); 1945 dw -= screen->getTabHeight();
1946 else 1946 else
1947 dw -= screen->getTabWidth(); 1947 dw -= screen->getTabWidth();
1948 break; 1948 break;
1949 case Tab::PBottom: 1949 case Tab::PBOTTOM:
1950 dh -= screen->getTabHeight(); 1950 dh -= screen->getTabHeight();
1951 break; 1951 break;
1952 default: 1952 default: