Add feature for raising tile client over free client when selected.
Feature requested by bacardi55 :)
This commit is contained in:
parent
3cc68b6872
commit
325f115c09
@ -1190,7 +1190,8 @@ client_update_attributes(Client *c)
|
||||
void
|
||||
client_raise(Client *c)
|
||||
{
|
||||
if(!c || ((c->flags & TileFlag) && !(c->flags & AboveFlag)))
|
||||
if((!c || ((c->flags & TileFlag) && !(c->flags & AboveFlag)))
|
||||
&& !conf.client_tile_raise)
|
||||
return;
|
||||
|
||||
XRaiseWindow(dpy, c->frame);
|
||||
|
||||
@ -281,6 +281,7 @@ conf_client_section(void)
|
||||
|
||||
conf.client_round = fetch_opt_first(sec, "true", "client_round").bool;
|
||||
conf.client_auto_center = fetch_opt_first(sec, "false", "client_auto_center").bool;
|
||||
conf.client_tile_raise = fetch_opt_first(sec, "false", "client_tile_raise").bool;
|
||||
|
||||
if ((conf.client.borderheight = fetch_opt_first(sec, "1", "border_height").num) < 1)
|
||||
conf.client.borderheight = 1;
|
||||
|
||||
@ -489,6 +489,7 @@ typedef struct
|
||||
Bool tag_auto_prev;
|
||||
Bool client_round;
|
||||
Bool client_auto_center;
|
||||
Bool client_tile_raise;
|
||||
Bool layout_system; /* Switch: False, Menu: True. */
|
||||
Bool layout_placement; /* Right (normal): False, Left: True. */
|
||||
Bool keep_layout_geo;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user