aboutsummaryrefslogtreecommitdiff
path: root/src/outline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/outline.c')
-rw-r--r--src/outline.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/outline.c b/src/outline.c
index b42e70a..03b7ad9 100644
--- a/src/outline.c
+++ b/src/outline.c
@@ -15,12 +15,16 @@ static int outlineDrawn;
/****************************************************************************
****************************************************************************/
-void InitializeOutline() {
+void
+InitializeOutline()
+{
}
/****************************************************************************
****************************************************************************/
-void StartupOutline() {
+void
+StartupOutline()
+{
XGCValues gcValues;
@@ -35,18 +39,24 @@ void StartupOutline() {
/****************************************************************************
****************************************************************************/
-void ShutdownOutline() {
+void
+ShutdownOutline()
+{
JXFreeGC(display, outlineGC);
}
/****************************************************************************
****************************************************************************/
-void DestroyOutline() {
+void
+DestroyOutline()
+{
}
/****************************************************************************
****************************************************************************/
-void DrawOutline(int x, int y, int width, int height) {
+void
+DrawOutline(int x, int y, int width, int height)
+{
if(!outlineDrawn) {
JXSync(display, False);
JXGrabServer(display);
@@ -61,7 +71,9 @@ void DrawOutline(int x, int y, int width, int height) {
/****************************************************************************
****************************************************************************/
-void ClearOutline() {
+void
+ClearOutline()
+{
if(outlineDrawn) {
JXDrawRectangle(display, rootWindow, outlineGC,
lastX, lastY, lastWidth, lastHeight);