baskerville / bspwm

A tiling window manager based on binary space partitioning
BSD 2-Clause "Simplified" License
7.61k stars 420 forks source link

Window coordinates are out-of-sync after config event #1489

Open ortango opened 2 months ago

ortango commented 2 months ago

Since af3bd8b window geometry gets "out of sync" after a configure request event.

The window will get moved to a new location with x,y offset by border_width, but floating_rectangle will have the x,y coordinates without that offset. The next set_layout will move the window by that offset.

Is it correct to move the window with this offset to begin with? Seems odd that xcb_configure_window and xcb_get_geometry are using different values of x and y.