[Pkg-xfce-commits] r8284 - in /desktop/branches/experimental/xfwm4/debian/patches: 0001-fix-fullscreen-qt4-behavior-bug-8563.patch series
Mateusz Łukasik
mati75-guest at moszumanska.debian.org
Sun Feb 23 17:13:26 UTC 2014
Author: mati75-guest
Date: Sun Feb 23 17:13:25 2014
New Revision: 8284
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8284
Log:
* debian/patches:
- 0001-fix-fullscreen-qt4-behavior-bug-8563 added to fix fullscreen behavior with Qt4 based apps
Added:
desktop/branches/experimental/xfwm4/debian/patches/0001-fix-fullscreen-qt4-behavior-bug-8563.patch
desktop/branches/experimental/xfwm4/debian/patches/series
Added: desktop/branches/experimental/xfwm4/debian/patches/0001-fix-fullscreen-qt4-behavior-bug-8563.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/desktop/branches/experimental/xfwm4/debian/patches/0001-fix-fullscreen-qt4-behavior-bug-8563.patch?rev=8284&op=file
==============================================================================
--- desktop/branches/experimental/xfwm4/debian/patches/0001-fix-fullscreen-qt4-behavior-bug-8563.patch (added)
+++ desktop/branches/experimental/xfwm4/debian/patches/0001-fix-fullscreen-qt4-behavior-bug-8563.patch Sun Feb 23 17:13:25 2014
@@ -0,0 +1,50 @@
+Description: Fix fullscreen behavior in Qt based apps
+Origin: https://bugzilla.xfce.org/show_bug.cgi?id=8563
+Forwarded: yes
+Author: Viktor Semykin
+
+---
+ src/client.c | 16 ++++++++++------
+ 1 file changed, 10 insertions(+), 6 deletions(-)
+
+--- a/src/client.c
++++ b/src/client.c
+@@ -981,8 +981,12 @@ clientGetMWMHints (Client *c, gboolean u
+ wc.width = c->width;
+ wc.height = c->height;
+
++ if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
++ {
++ clientUpdateFullscreenSize (c);
++ }
+ /* If client is maximized, we need to update its coordonates and size as well */
+- if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
++ else if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
+ {
+ GdkRectangle rect;
+ myScreenFindMonitorAtPoint (screen_info,
+@@ -3538,8 +3542,12 @@ clientScreenResize(ScreenInfo *screen_in
+ continue;
+ }
+
++ if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
++ {
++ clientUpdateFullscreenSize (c);
++ }
+ /* Recompute size and position of maximized windows */
+- if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
++ else if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
+ {
+ maximization_flags = c->flags & CLIENT_FLAG_MAXIMIZED;
+
+@@ -3553,10 +3561,6 @@ clientScreenResize(ScreenInfo *screen_in
+ wc.height = c->height;
+ clientConfigure (c, &wc, CWX | CWY | CWWidth | CWHeight, CFG_NOTIFY);
+ }
+- else if (FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN))
+- {
+- clientUpdateFullscreenSize (c);
+- }
+ else
+ {
+ configure_flags = CFG_CONSTRAINED | CFG_REQUEST;
Added: desktop/branches/experimental/xfwm4/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/desktop/branches/experimental/xfwm4/debian/patches/series?rev=8284&op=file
==============================================================================
--- desktop/branches/experimental/xfwm4/debian/patches/series (added)
+++ desktop/branches/experimental/xfwm4/debian/patches/series Sun Feb 23 17:13:25 2014
@@ -0,0 +1 @@
+0001-fix-fullscreen-qt4-behavior-bug-8563.patch
More information about the Pkg-xfce-commits
mailing list