summaryrefslogtreecommitdiff
path: root/src/xtoq/XtoqController.m
diff options
context:
space:
mode:
authorAaron Skomra <skomra@gmail.com>2012-03-08 20:29:52 -0800
committerAaron Skomra <skomra@gmail.com>2012-03-08 20:29:52 -0800
commite175593e9b5cd8d350acbb5c9e97d958263952c4 (patch)
tree6af99a65e8daeed13f5e04c9ea99876e52fc2cad /src/xtoq/XtoqController.m
parent9e9cb7623f2b3bbfb15c729d5abd08f373c2798e (diff)
cut and paste a couple of Braden's window adjustments from mile3 branch into mile4 XtoqController
Diffstat (limited to 'src/xtoq/XtoqController.m')
-rw-r--r--src/xtoq/XtoqController.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xtoq/XtoqController.m b/src/xtoq/XtoqController.m
index 7e307b3..ea77de9 100644
--- a/src/xtoq/XtoqController.m
+++ b/src/xtoq/XtoqController.m
@@ -32,6 +32,7 @@
#import "XtoqController.h"
#define WINDOWBAR 22
+#define FILEBAR 23
@implementation XtoqController
@@ -46,14 +47,14 @@
- (int) xserverToOSX:(int)yValue windowHeight:(int)windowH {
int height = [[NSScreen mainScreen] frame].size.height;
- return height - WINDOWBAR - windowH + yValue;
+ return height - windowH + yValue;
}
- (int) osxToXserver:(int)yValue windowHeight:(int)windowH {
int height = [[NSScreen mainScreen] frame].size.height;
- return height - yValue - WINDOWBAR;
+ return height - yValue;
}