gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 73 forks source link

Add support for borderless window #86

Closed ramv33 closed 4 years ago

ramv33 commented 4 years ago

Go borderless by removing window decorations using _MOTIF_WM_HINTS. This option can be enabled in the Xresources file with the 'borderless' option set to one. The code has been shamelessly copied from https://stackoverflow.com/questions/1904445/borderless-windows-on-linux.

ramv33 commented 4 years ago

I have made some changes to the source and updated the doc/Xresource file to include the new option.

actionless commented 4 years ago

since no one else have any objections, merging this one

neeasade commented 4 years ago

need to note somewhere -- this is currently broken in master (we don't load borderless state from xrdb until AFTER xinit, so it doesn't get the chance to affect window creation)