minor changes in main:p
[winnie] / src / wm.cc
index 7fe13fb..2bdd49e 100644 (file)
--- a/src/wm.cc
+++ b/src/wm.cc
@@ -81,8 +81,8 @@ WindowManager::WindowManager()
        frame_thickness = 8;
        titlebar_thickness = 16;
 
-       set_focused_frame_color(36, 59, 98);
-       set_unfocused_frame_color(80, 129, 162);
+       set_focused_frame_color(0, 0, 0);
+       set_unfocused_frame_color(200, 200, 200);
 
        mouse_cursor.set_image(mouse_cursor_width, mouse_cursor_height);
        unsigned char *pixels = mouse_cursor.get_image();
@@ -358,7 +358,6 @@ static void mouse(Window *win, int bn, bool pressed, int x, int y)
 static void motion(Window *win, int x, int y)
 {
        int left_bn = get_button(0);
-       int right_button = get_button(2);
 
        if(left_bn) {
                int dx = x - prev_x;