swap command fix and hello !
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
First of all, hello ! I've just subscribed to this mailing list. I am a heavy user of ratpoison and I can't deal with any other buggy fatty window manager. Ratpoison is good software, very good software. A few months ago I discovered with a great pain one bug in the swap function. It seemed that swapping to windows (C-t x) was buggy when several screens were involved in the swap. I tried to fix this and discovered that HAVE_GETLINE is used in the code but not managed in configure.in. You will find two patches in attachement fixing these issues ! I hope you will enjoy my stuff. `split.diff' must bu used to patch `split.c'; `configure.diff' must be used to patch `configure.in'. -- Quentin Carbonneaux _______________________________________________ Ratpoison-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/ratpoison-devel
split.diff
(text/plain, 523 B)
*** a/src/split.c Tue Jul 7 02:45:38 2009
--- b/src/split.c Mon Oct 11 19:03:59 2010
***************
*** 902,918 ****
}
/* Make the switch */
! update_last_access (frame);
!
! if (s->current_frame == cur->number)
! {
! s->current_frame = frame->number;
! /* mark it as active */
! show_frame_indicator(0);
! }
!
! update_bar (s);
!
XSync (dpy, False);
--- 902,908 ----
}
/* Make the switch */
! set_active_frame(frame, 1);
XSync (dpy, False);
configure.diff
(text/plain, 868 B)
*** a/configure.in Sun Jul 12 23:01:04 2009 --- b/configure.in Mon Oct 11 16:03:12 2010 *************** *** 77,83 **** AC_PROG_CC if test "x$CC" = "xgcc"; then ! CFLAGS="$CFLAGS -Wall -O2" fi dnl check for an x terminal emulator --- 77,83 ---- AC_PROG_CC if test "x$CC" = "xgcc"; then ! CFLAGS="$CFLAGS -Wall" fi dnl check for an x terminal emulator *************** *** 146,152 **** dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. ! AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep) AC_TYPE_SIGNAL --- 146,152 ---- dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. ! AC_CHECK_FUNCS(getline getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep) AC_TYPE_SIGNAL