trying to implement an event handler for XrandR events

Hi Everybody,

I am trying to implement an event handler for XRandR events. I think I
have everything in place, but I am getting a strange error. 

I have linked sawfish to the xrandr library:

sawfish : $(OBJS) $(LIBOBJS)
	$(rep_LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(LDFLAGS) \
	  -o sawfish $(OBJS) $(LIBOBJS) $(REP_LIBS) $(PANGO_LIBS) \

but when sawfish is executed, I get the following error.

dmg phosphorus:~/git.w/sawfish/src$ ./sawfish --batch
rep: received fatal signal: Segmentation fault

struct debug_buf common:

Backtrace in `fatal_signal_handler':

Lisp backtrace:

Segmentation fault
The code is fairly simple (beginning of events_init):

    int dummy;
    int randr_event_base; /* Will give us the offset for the xrandr events */

    has_randr = FALSE;
    has_randr = XRRQueryExtension( dpy, &randr_event_base, &dummy );

ANy suggestions?



Daniel M. German         
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]