summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-03-07 11:43:25 +0000
committersabetts <sabetts>2003-03-07 11:43:25 +0000
commitd9712b14bec0317663b9464108d8155152e41cad (patch)
tree79c936320c13fd4d4186e95cef65f45d27e26b3c /src/ratpoison.h
parent02151f234d5675ed8d1922e06cb74b75c822e142 (diff)
downloadratpoison-d9712b14bec0317663b9464108d8155152e41cad.zip
* src/Makefile.am (ratpoison_SOURCES): add frame.c and frame.h
* src/frame.h (frame_left): new prototype (frame_top): likewise (frame_right): likewise (frame_bottom): likewise (frame_width): likewise (frame_height): likewise (frame_resize_left): likewise (frame_resize_right): likewise (frame_resize_up): likewise (frame_resize_down): likewise (frame_move_left): likewise (frame_move_right): likewise (frame_move_up): likewise (frame_move_down): likewise * src/frame.c (frame_left): new function (frame_top): likewise (frame_right): likewise (frame_bottom): likewise (frame_width): likewise (frame_height): likewise (frame_resize_left): likewise (frame_resize_right): likewise (frame_resize_up): likewise (frame_resize_down): likewise (frame_move_left): likewise (frame_move_right): likewise (frame_move_up): likewise (frame_move_down): likewise * src/split.c (resize_frame): new function (resize_frame_right): likewise (resize_frame_left): likewise (resize_frame_top): likewise (resize_frame_bottom): likewise (resize_frame_horizontally): use resize_frame_right and resize_frame_left to do the resizing. (resize_frame_vertically): use resize_frame_top and resize_frame_bottom to do the resizing. * src/ratpoison.h (PRINT_ERROR): flush stdout (PRINT_DEBUG): likewise include frame.h
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r--src/ratpoison.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h
index c0b725c..4a5dde7 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -39,6 +39,7 @@
do { \
PRINT_LINE (error); \
printf fmt; \
+ fflush (stdout); \
} while (0)
#ifdef DEBUG
@@ -46,6 +47,7 @@ do { \
do { \
PRINT_LINE (debug); \
printf fmt; \
+ fflush (stdout); \
} while (0)
#else
#define PRINT_DEBUG(fmt)
@@ -66,6 +68,7 @@ extern XGCValues gv;
#include "communications.h"
#include "sbuf.h"
#include "split.h"
+#include "frame.h"
void clean_up ();
screen_info *find_screen (Window w);