Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b015891
)
Fix floating windows remaining borderless after being fullscreen.
author
Reginald Kennedy
<rk@rejii.com>
Thu, 20 Feb 2014 04:29:11 +0000
(12:29 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Thu, 20 Feb 2014 05:22:08 +0000
(13:22 +0800)
Fixes #32
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
0589ebd
..
ea33255
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-4486,6
+4486,8
@@
update_floater(struct ws_win *win)
DNPRINTF(SWM_D_MISC, "update_floater: win %#x\n", win->id);
DNPRINTF(SWM_D_MISC, "update_floater: win %#x\n", win->id);
+ win->bordered = 1;
+
if (FULLSCREEN(win)) {
/* _NET_WM_FULLSCREEN: fullscreen without border. */
if (!win->g_floatvalid)
if (FULLSCREEN(win)) {
/* _NET_WM_FULLSCREEN: fullscreen without border. */
if (!win->g_floatvalid)
@@
-4501,14
+4503,11
@@
update_floater(struct ws_win *win)
win->g = r->g;
if (bar_enabled && ws->bar_enabled) {
win->g = r->g;
if (bar_enabled && ws->bar_enabled) {
- win->bordered = 1;
if (!bar_at_bottom)
Y(win) += bar_height;
HEIGHT(win) -= bar_height;
} else if (disable_border) {
win->bordered = 0;
if (!bar_at_bottom)
Y(win) += bar_height;
HEIGHT(win) -= bar_height;
} else if (disable_border) {
win->bordered = 0;
- } else {
- win->bordered = 1;
}
if (win->bordered) {
}
if (win->bordered) {