Skip to content

Commit

Permalink
Add border to first opened window in stacking mode
Browse files Browse the repository at this point in the history
  • Loading branch information
moetunes committed Sep 21, 2012
1 parent 912132b commit 5e1f1b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
21/9/12
Fix for fullscreen app being too tall
Add border to first opened window in stacking mode

9/8/12
In vertical or horizontal mode can now add windows to the master area
Expand Down
2 changes: 1 addition & 1 deletion dminiwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ void update_current() {
client *c; unsigned int border;

if(head == NULL) return;
border = ((head->next == NULL) || (mode == 1)) ? 0 : bdw;
border = ((head->next == NULL && mode != 4) || (mode == 1)) ? 0 : bdw;
for(c=head;c;c=c->next) {
XSetWindowBorderWidth(dis,c->win,border);

Expand Down

0 comments on commit 5e1f1b2

Please sign in to comment.