[dev] Missing Border Hilighting

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Tue, 25 Feb 2014 21:13:45 -0600

I wrote the attached patched which does two main things:

1. It removes the borders from windows when only one window is visible
   or the current layout is monocle mode.
2. Makes it so that any window that's the same size as the monitor's
   resolution is considered fullscreen. This resolved borders appearing
   on things like YouTube when fullscreen and also eliminates problems
   with some SDL applications that don't seem to play nice with certain
   window managers. For example, prior to applying this patch to dwm, I
   was unable to launch Torchlight without killing dwm or temporarily
   switching to floating mode. A black window appears with a stylized
   cursor and sound but no visuals.

Essentially, I was aiming for a layout-independent version of
http://dwm.suckless.org/patches/noborder that didn't require
layout-specific patching and stumbled across the fix for my SDL
application issues serendipitously.

The no-borders aspect works fine 90% of the time, but for some reason,
the border of certain windows will no longer change colors when focused
on at seemingly random times. Unfortunately I haven't been able to find
a pattern to be able to provide an atomic test case, and I'm hoping
someone would be willing to look over my patch and see if there are any
issues with it that stand out or even if there's a better way I could've
gone about making a layout-independent noborders patch. The attached
patch applies cleanly to the current dwm tip.

Thanks in advance for help you can offer,
Eric

Received on Wed Feb 26 2014 - 04:13:45 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 26 2014 - 04:24:08 CET