Make EWMH windows float

Move updatewindowtype() functionality into applyrules(), and also make
following EWMH windows float: DIALOG, UTILITY, TOOLBAR, SPLASH.

This is taking the proposed patch to add window type to the rule matching
options for dwm, allowing dialog, utility, toolbar and splash windows
to be configured to float by default.

This patch is intended to be merged into the main dwm build.

In effect the intermediate EWMH_WINDOWS_FLOAT_PATCH has also been removed.
This commit is contained in:
bakkeby
2020-06-15 13:24:23 +02:00
parent f315188728
commit a7b226de41
3 changed files with 19 additions and 58 deletions

View File

@@ -177,13 +177,6 @@
*/
#define EWMHTAGS_PATCH 0
/* This patch makes dialog, utility, toolbar, splash and modal windows float by default.
* This may only be a temporary patch depending on whether this is integrated in the main
* dwm source, and if so how.
* https://lists.suckless.org/hackers/2005/17318.html
*/
#define EWMH_WINDOWS_FLOAT_PATCH 0
/* This patch allows the user to change size and placement of floating windows using only the
* keyboard. It also allows for temporary vertical and horizontal extension of windows similar
* to other WMs fill command.