More TODO
This commit is contained in:
parent
c3eefd20ab
commit
2bdcb322a3
6
TODO
6
TODO
|
@ -3,13 +3,15 @@ TODO list, in order of importance:
|
|||
* freely resizable (e.g. using your mouse, for now) percentage of rows/cols
|
||||
* fullscreen (handling of applications)
|
||||
* fullscreen (implementing a mode, like default, stacked)
|
||||
* tags+xinerama
|
||||
* workspaces+xinerama
|
||||
* clean up the source code
|
||||
* document stuff!
|
||||
* more documentation!
|
||||
* think of some IPC mechanism, implement it
|
||||
* debian package
|
||||
* initial release
|
||||
|
||||
TODO for later™:
|
||||
* think of some IPC mechanism, implement it
|
||||
* a command for toggling layouts
|
||||
* a command for toggling workspaces
|
||||
* floating
|
||||
|
|
7
mainx.c
7
mainx.c
|
@ -25,7 +25,7 @@
|
|||
#include "table.h"
|
||||
#include "font.h"
|
||||
|
||||
#define TERMINAL "/usr/pkg/bin/urxvt"
|
||||
#define TERMINAL "/usr/bin/urxvt"
|
||||
|
||||
Display *xkbdpy;
|
||||
|
||||
|
@ -723,6 +723,7 @@ static void move_current_window(xcb_connection_t *connection, direction_t direct
|
|||
new = table[++current_col][current_row];
|
||||
break;
|
||||
case D_UP:
|
||||
/* TODO: if we’re at the up-most position, move the rest of the table down */
|
||||
if (move_current_window_in_container(connection, current_client, D_UP) ||
|
||||
current_row == 0)
|
||||
return;
|
||||
|
@ -980,6 +981,7 @@ static int handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press
|
|||
printf("state %d\n", event->state);
|
||||
|
||||
/* Find the binding */
|
||||
/* TODO: event->state durch eine bitmask filtern und dann direkt vergleichen */
|
||||
Binding *bind, *best_match = TAILQ_END(&bindings);
|
||||
TAILQ_FOREACH(bind, &bindings, bindings) {
|
||||
if (bind->keycode == event->detail &&
|
||||
|
@ -1194,6 +1196,7 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *c, xcb_unmap_notify_
|
|||
|
||||
int rows, cols;
|
||||
Client *con_client;
|
||||
/* TODO: clear this up */
|
||||
for (cols = 0; cols < table_dims.x; cols++)
|
||||
for (rows = 0; rows < table_dims.y; rows++)
|
||||
CIRCLEQ_FOREACH(con_client, &(table[cols][rows]->clients), clients)
|
||||
|
@ -1381,7 +1384,7 @@ int main(int argc, char *argv[], char *env[]) {
|
|||
/* 38 = 'a' */
|
||||
BIND(38, BIND_MODE_SWITCH, "foo");
|
||||
|
||||
BIND(30, 0, "exec /usr/pkg/bin/urxvt");
|
||||
BIND(30, 0, "exec /usr/bin/urxvt");
|
||||
|
||||
BIND(44, BIND_MOD_1, "h");
|
||||
BIND(45, BIND_MOD_1, "j");
|
||||
|
|
Loading…
Reference in New Issue