sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (999B)


      1 clientresizehints
      2 =================
      3 
      4 Description
      5 -----------
      6 `clientresizehints` allows the user to set rules about whether or not `resizehints` is applied per application.
      7 
      8 Usage Example
      9 -------------
     10 
     11 The following rules will cause st resizehints to be ignored, but xterm resizehints to be obeyed:
     12 
     13     static const Rule rules[] = {
     14         /* class    instance    title   tags mask       isfloating      monitor     resizehints */
     15         { "St",     NULL,       NULL,   0,              0,              -1,         0 },
     16         { "xterm",  NULL,       NULL,   0,              0,              -1,         1 },
     17 
     18     };
     19 
     20 The default behavior for applications without an associated rule is to follow the global `resizehints` variable, in `config.def.h`:
     21 
     22     static const int resizehints = 1; /* 1 means respect size hints in titled resizals */
     23 
     24 
     25 Download
     26 --------
     27 
     28 * [dwm-clientresizehints-6.5.diff](dwm-clientresizehints-6.5.diff)
     29 
     30 Author
     31 ------
     32 * Fred Frey - [fred@fpf3.net](mailto:fred@fpf3.net)