killermoehre / window-gridder

A simple python2 script to tile X windows on keypress
GNU General Public License v2.0
0 stars 0 forks source link

It incorrectly handles some windows (example: gedit) #1

Open Drugoy opened 7 years ago

Drugoy commented 7 years ago

I've found out that gedit's window gets resized as if it has an invisible outline/border.

I thought that since gedit is based on the GTK+3 other GTK+3 applications may be affected, but transmission-gtk's and mousepad's windows get resized properly (both are based on GTK+3).

killermoehre commented 7 years ago

This is probably due to the fact that gedit uses client side decorations (something not used when I wrote this). The shadow of this CSDs are taken into account for the size. _GTK_FRAME_EXTENTS should be the right atom for this.