0

Is it possible to disable input to an already existing x11 window? In the following Stack Overflow question How to prevent an X Window from receiving user input? it is suggested that it might be possible to do this with xprop but I don't really understand what the xprop input is supposed to be.

Using xprop I also notice there is a window property called WM_TAKE_FOCUS that perhaps can be deleted somehow? Is there not a x11 api call to disable all input equivalent to the Windows api call EnableWindow which disables all input?

Edit: Tried deleting WM_TAKE_FOCUS, doesn't seem to change anything sadly..

Community
  • 1
  • 1

1 Answers1

0

You can open a window that doesn't hijack the keyboard. Let's simplify this using a command with options.

open my.pdf -no_input

A process that maintains control of the input device after opening a window, regardless of focus.

Frightera
  • 4,773
  • 2
  • 13
  • 28
boo
  • 1