Alopex

Check-in [0b518c1e05]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:patching up monitor margins
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | master
Files: files | file ages | folders
SHA3-256: 0b518c1e051eef36fcdfdb7155aed43da1ad681563e7da2c247f200b54e03614
User & Date: jesse@mccluresk9.com 2014-03-15 22:20:07
Context
2014-03-20
18:07
stack bar windows properly check-in: 2fe58d9125 user: jesse@mccluresk9.com tags: trunk, master
2014-03-15
22:20
patching up monitor margins check-in: 0b518c1e05 user: jesse@mccluresk9.com tags: trunk, master
22:00
fixed transient window raising check-in: 9f02dca3af user: jesse@mccluresk9.com tags: trunk, master
Changes

Changes to PKGBUILD.

1
2
3
4
5
6
7
8
9
10
11
# Maintainer: Jesse McClure AKA "Trilby" <jmcclure [at] cns [dot] umass [dot] edu>
_gitname="alopex"
pkgname="${_gitname}-git"
pkgver=4.387.0c62077
pkgrel=1
pkgdesc="A Tabbed, Tiling Window Manager with Fur"
url="http://trilbywhite.github.io/alopex/"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('libxinerama' 'cairo')
makedepends=('git')



|







1
2
3
4
5
6
7
8
9
10
11
# Maintainer: Jesse McClure AKA "Trilby" <jmcclure [at] cns [dot] umass [dot] edu>
_gitname="alopex"
pkgname="${_gitname}-git"
pkgver=4.420.bbd6ee2
pkgrel=1
pkgdesc="A Tabbed, Tiling Window Manager with Fur"
url="http://trilbywhite.github.io/alopex/"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('libxinerama' 'cairo')
makedepends=('git')

Changes to src/tile.c.

75
76
77
78
79
80
81
82
83


84
85
86

87
88
89
90
91
92
93
94
95
96
97
98
		for (C; C; C = C->next) {
			purgatory(C->win);
			C->top = NULL;
		}
		/* show bar if no containers are visible */
		if (!numC && !(conf.bar_opts & BAR_HIDE)) {
			C = M->container;
			C->x = M->x;
			C->y = M->y + (conf.bar_opts & BAR_BOTTOM ? M->h-C->bar->h : 0);


			C->w = M->w;
			XMoveResizeWindow(dpy, C->win, C->x, C->y, C->w, C->bar->h);
			cairo_set_source_surface(C->bar->ctx, M->bg, M->x - C->x, M->y - C->y);

			cairo_paint(C->bar->ctx);
		}
		/* sort floating windows */
		// TODO: needs testing
		for (c = clients; c; c = c->next) {
			if (!(M->tags & c->tags)) continue;
			else if (c->flags & WIN_FULL_TEST) {
				if ( !winmarks[1] || !(winmarks[1]->flags & WIN_FULL_TEST) )
					winmarks[1] = c;
				XMoveResizeWindow(dpy, c->win, M->x, M->y, M->w, M->h);
			}
			else if (c->flags & WIN_FLOAT)







|
|
>
>
|

|
>




|







75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
		for (C; C; C = C->next) {
			purgatory(C->win);
			C->top = NULL;
		}
		/* show bar if no containers are visible */
		if (!numC && !(conf.bar_opts & BAR_HIDE)) {
			C = M->container;
			C->x = M->x + M->margin.left;
			C->y = M->y + (conf.bar_opts & BAR_BOTTOM ?
					M->h - C->bar->h - M->margin.bottom :
					M->margin.top);
			C->w = M->w - M->margin.left - M->margin.right;
			XMoveResizeWindow(dpy, C->win, C->x, C->y, C->w, C->bar->h);
			cairo_set_source_surface(C->bar->ctx, M->bg,
					M->x - C->x, M->y - C->y);
			cairo_paint(C->bar->ctx);
		}
		/* sort floating windows */
		// TODO: needs testing
		for (c = clients ; c; c = c->next) {
			if (!(M->tags & c->tags)) continue;
			else if (c->flags & WIN_FULL_TEST) {
				if ( !winmarks[1] || !(winmarks[1]->flags & WIN_FULL_TEST) )
					winmarks[1] = c;
				XMoveResizeWindow(dpy, c->win, M->x, M->y, M->w, M->h);
			}
			else if (c->flags & WIN_FLOAT)