[i3-discuss] Preventing focus

  • From: Jeff Abrahamson <jeff@xxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Mon, 16 Jul 2018 08:49:48 +0200

Is there a way to request i3 to ignore focus requests from a specific
window (or process)?

The context is the image viewer geeqie, which I drive from other
programs to aid in certain image automation tasks.  It's taken to
focusing itself when asked to load an image (probably via
gtk_widget_grab_focus() based on scanning its code, but I'm not sure how
to verify that besides a long-ish gdb session).  If I could simply tell
i3 to ignore that request, that would be faster than adapting geeqie or
another program to do what I want.

-- 

Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255

http://p27.eu/jeff/


Other related posts: