diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-12-10 14:09:27 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-12-10 14:09:27 +0000 |
commit | c80480c33dcc70db309f54507d5c2229f0d35c97 (patch) | |
tree | 91a4b6740f71c1692e20081437ff4e3d5bfd67d3 /x11-wm/pekwm/files | |
parent | old (diff) | |
download | historical-c80480c33dcc70db309f54507d5c2229f0d35c97.tar.gz historical-c80480c33dcc70db309f54507d5c2229f0d35c97.tar.bz2 historical-c80480c33dcc70db309f54507d5c2229f0d35c97.zip |
Version bump
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-hh6 i686
Diffstat (limited to 'x11-wm/pekwm/files')
-rw-r--r-- | x11-wm/pekwm/files/pekwm-0.1.8-mplayer.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/pekwm/files/pekwm-0.1.8-mplayer.patch b/x11-wm/pekwm/files/pekwm-0.1.8-mplayer.patch new file mode 100644 index 000000000000..9de36b02832f --- /dev/null +++ b/x11-wm/pekwm/files/pekwm-0.1.8-mplayer.patch @@ -0,0 +1,45 @@ +--- pekwm-0.1.8/src/Frame.cc.orig 2008-12-10 14:51:51.000000000 +0100 ++++ pekwm-0.1.8/src/Frame.cc 2008-12-10 14:57:55.000000000 +0100 +@@ -1990,7 +1990,7 @@ + Frame::handleConfigureRequestGeometry(XConfigureRequestEvent *ev, Client *client) + { + // Look for fullscreen requests +- long all_geometry = CWX|CWY|CWWidth|CWHeight; ++ const long all_geometry = CWX|CWY|CWWidth|CWHeight; + bool is_fullscreen = false; + if (Config::instance()->isFullscreenDetect() + && ! client->isCfgDeny(CFG_DENY_SIZE) +@@ -2007,16 +2007,15 @@ + } + + if (! is_fullscreen) { +- // Remove fullscreen state if client changes it size +- if (Config::instance()->isFullscreenDetect()) { +- setStateFullscreen(STATE_UNSET); +- } ++ bool change_geometry = false; + + if (! client->isCfgDeny(CFG_DENY_SIZE) + && (ev->value_mask & (CWWidth|CWHeight)) ) { + + resizeChild(ev->width, ev->height); + _client->setShaped(setShape()); ++ ++ change_geometry = true; + } + + if (! client->isCfgDeny(CFG_DENY_POSITION) +@@ -2025,6 +2024,13 @@ + calcGravityPosition(_client->getXSizeHints()->win_gravity, + ev->x, ev->y, _gm.x, _gm.y); + move(_gm.x, _gm.y); ++ ++ change_geometry = true; ++ } ++ ++ // Remove fullscreen state if client changes it size ++ if (change_geometry && Config::instance()->isFullscreenDetect()) { ++ setStateFullscreen(STATE_UNSET); + } + } + } |