disable Alt+Tab

hi,

I want to disable switching between applications using ‘Alt+Tab’ keys.

How we can disable the Alt+Tab handling in photon?

thanks in advance.

sameer.

sam <seto@vsnl.com> wrote:

hi,

I want to disable switching between applications using ‘Alt+Tab’ keys.

How we can disable the Alt+Tab handling in photon?

Since pwm doesn’t have an option to disable it, the only way (other than
writing your own window manager, or running without a window manager) is
to filter out Alt-tabs before pwm can see them. Write a small program
that opens a region just behind the device region, makes the region
sensitive and opaque to key events, and re-emits any received key event
except an Alt-tab.

hi Wojtek Lerch,

thanks for reply,

i have tried that, i opened a transparent region which is child of
ROOT_RID and FFRONT flag set. i am capturing the Alt+Tab key and NOT
reemitting it. But even after that if i press Alt+Tab key photon shows the
‘process name’ tag in the center of the screen. i want to disable this tag
from appearing on the screen.

is this means that photon is processing the key pressed before my
transparent region get the key event ?

thanks in advance,

sameer

sam <seto@vsnl.com> wrote:

hi Wojtek Lerch,

thanks for reply,

i have tried that, i opened a transparent region which is child of
ROOT_RID and FFRONT flag set. i am capturing the Alt+Tab key and NOT
reemitting it. But even after that if i press Alt+Tab key photon shows the
‘process name’ tag in the center of the screen. i want to disable this tag
from appearing on the screen.

is this means that photon is processing the key pressed before my
transparent region get the key event ?

When you create a region without specifying a brother, it always goes
behind any existing force-front regions. And the region tha pwm
collects keys on is force front.

You need to create your rwgion just behind the device region by
specifying rid 1 as the brother in front.

hi Wojtek Lerch,

thank you very much for the information.

sameer