Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Compiz fix
Re: Compiz fix [message #21004 is a reply to message #20999] Sat, 25 April 2009 10:47 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
phirox wrote on Fri, 24 April 2009 14:07

luzr wrote on Fri, 24 April 2009 10:42


R807 there was accepted related submitted patch...

The file is CtrlCore/X11Proc.cpp.

(Use svn history in theide).

Mirek


Thanks for pointing me in the right direction. My problem was fixed by removing the newly added code. Basically the following code has been put around the ev1 part:
	if(ev1->type == KeyPress)
		*ev2 = *ev1;
	else {
		...
	}

My guess is that it is an attempt at speeding up things but somehow the IsWaitingEvent() call is too important to skip.



Well, in fact, now I remember, it was not accepted patch, but my fix.

I believe the problem to fix is that some X11 systems, in case of autorepeat, put series of "KeyPress/KeyRelease" pairs, while others (and especially those with compiz enabled) only series of KeyPress.

I would like to find a reason for doubling characters before reversing the change. Maybe you could activate LLOGs (at the beginning of file) to see what is going on?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Questions about themeing plz
Next Topic: ChGtk menu fix
Goto Forum:
  


Current Time: Mon Apr 29 14:30:35 CEST 2024

Total time taken to generate the page: 0.02358 seconds