diff options
author | sabetts <sabetts> | 2003-04-08 00:00:47 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-04-08 00:00:47 +0000 |
commit | 039f0764fe3c59bc9f7d0f03631ee0063b9dd9cf (patch) | |
tree | 5401a46c4658053c4cde972b1af039ab31c5228f /src | |
parent | 3aff4f30deb65c535427bc145c2a11a87d4332ac (diff) | |
download | ratpoison-039f0764fe3c59bc9f7d0f03631ee0063b9dd9cf.zip |
* src/Makefile.am (ratpoison_SOURCES): add linkedlist.h
* src/bar.c (marked_message): pass correct arguments to bar_y.
* src/actions.c (cmd_defwinliststyle): error messages print the
correct command name.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/actions.c | 4 | ||||
-rw-r--r-- | src/bar.c | 2 | ||||
-rw-r--r-- | src/input.c | 3 |
4 files changed, 5 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5a10925..6baf5b0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,7 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -## $Id: Makefile.am,v 1.14 2003/03/31 07:06:23 sabetts Exp $ +## $Id: Makefile.am,v 1.15 2003/04/08 00:00:49 sabetts Exp $ bin_PROGRAMS = ratpoison @@ -38,6 +38,7 @@ ratpoison_SOURCES = actions.c \ getopt1.c \ input.c \ input.h \ + linkedlist.h \ main.c \ manage.c \ manage.h \ diff --git a/src/actions.c b/src/actions.c index 4007bcc..1bd0930 100644 --- a/src/actions.c +++ b/src/actions.c @@ -3112,7 +3112,7 @@ cmd_defwinliststyle (int interactive, char *data) if (data == NULL) { - message (" defwrapwinlist: One argument required "); + message (" defwinliststyle: One argument required "); return NULL; } @@ -3126,7 +3126,7 @@ cmd_defwinliststyle (int interactive, char *data) } else { - message (" defwrapwinlist: Bad argument "); + message (" defwinliststyle: Bad argument "); } return NULL; @@ -427,7 +427,7 @@ marked_message (char *msg, int mark_start, int mark_end) alarm_signalled = 0; XMoveResizeWindow (dpy, s->bar_window, - bar_x (s, width), bar_y (s, width), + bar_x (s, width), bar_y (s, height), width, height); diff --git a/src/input.c b/src/input.c index 0d788ae..0679b1e 100644 --- a/src/input.c +++ b/src/input.c @@ -260,7 +260,6 @@ cook_keycode (XKeyEvent *ev, KeySym *keysym, unsigned int *mod, char *keysym_nam int read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int len, int gobble_rel) { - int key_presses = 0; XEvent ev; int nbytes; unsigned int keycode; @@ -276,8 +275,6 @@ read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int len, i nbytes = cook_keycode (&ev.xkey, keysym, modifiers, keysym_name, len, 0); } while (IsModifierKey (*keysym)); - PRINT_DEBUG (("key press events: %d\n", key_presses)); - /* Gobble the release event for the key we pressed. */ if (gobble_rel) do |