Clicking Things

For a month or so now, I’ve been having problems with clicking buttons in Eclipse and in Flash. After asking in the Eclipse IRC room, I was able to find an answer that actually fixes both Eclipse and Flash.

Eclipse (from the wiki)
I’ve created a startup script that sets the following system property.

export GDK_NATIVE_WINDOWS=true

Flash (from this post)
Pretty much the same fix as above but made in a different place. In /usr/lib/nspluginwrapper/i386/linux/npviewer, add the following:

export GDK_NATIVE_WINDOWS=1

before the line:

. /usr/lib/nspluginwrapper/noarch/npviewer

A note to all this. Don’t put either of these properties in .profile, .bashrc or anything like that. This property needs to be set specific to things that break as this changes how GTK+ processes events.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s