2018-09-20 18:34:38 UTC
I'm a bit stumped by something I encountered this morning.
I revisited an old image-viewer, qiv, which I haven't used in years.
It brought up a floating window in i3. However, I have the following
line in ~/.i3/config and I haven't seen any floating windows since I
for_window [class=".*"] floating disable
These are the only other lines in my config which have the string
"float", they all work:
bindsym $mod+Ctrl+space floating toggle
bindsym $mod+space focus mode_toggle
Here is the output of xwininfo, as you can see the class InputOutput
matches the regex ".*" :)
xwininfo: Window id: 0x2000003 "qiv: amenhotep//home/frederik/pkg-tmp/R/R-svn/file.png (480x480) 0.0s 100% [1/1] b0/c0/g0 (-)"
Absolute upper-left X: 400
Absolute upper-left Y: 160
Relative upper-left X: 2
Relative upper-left Y: 0
Visual Class: TrueColor
Border width: 0
Colormap: 0x22 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +400+160 -400+160 -400-160 +400-160
Any ideas what might be happening? I know that I'm editing the right
config file, because I can comment out the "floating disable" line and
floating windows come up again.
Of course, I should probably be using an image viewer which supports
resizing if I want to use it with i3... maybe that's the problem?