Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-02-03 21:22:45

seandarcy
Member
Registered: 2013-01-31
Posts: 5

does xfce affect "paste and paint"?

xfce-4.10 on F18.

On Fedora 17 with xfce I could use the trackpad to mark text, and the double click to paste it. Now I have to mark, CTL-C, click, CTL-V. I've added Emulate3Buttons to xorg.d which is picked up by X:

grep Emulate3 /var/log/Xorg.0.log
[    24.500] (**) Option "Emulate3Buttons" "on"

does xfce now control this behavior?

sean

Offline

#2 2013-02-07 17:32:26

seandarcy
Member
Registered: 2013-01-31
Posts: 5

Re: does xfce affect "paste and paint"?

Messing around with this I ran xev which shows that a midbutton event is generated by a double click.

I ran xev. Clicked once with the left button, once with the right button, once with both:

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91740290, (94,61), root:(645,373),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91740387, (94,61), root:(645,373),
    state 0x100, button 1, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91748022, (94,61), root:(645,373),
    state 0x0, button 3, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91748068, (94,61), root:(645,373),
    state 0x400, button 3, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91754379, (94,61), root:(645,373),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91754555, (94,61), root:(645,373),
    state 0x200, button 2, same_screen YES

you can see the synaptics driver is sending "button 2" events for a double click!

Yet a double click has the same effect as a right click(button 3). So either X or xfce has changed the mapping of the button events, right?

Again, is it xfce, or a change/regression in X?

sean

Offline

Board footer

Powered by FluxBB