Date: Wed, 12 Dec 2012 17:14:10 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308774 - head/x11-toolkits/fltk/files Message-ID: <201212121714.qBCHEABO003681@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Wed Dec 12 17:14:10 2012 New Revision: 308774 URL: http://svnweb.freebsd.org/changeset/ports/308774 Log: - update patch as per the discussion at http://www.fltk.org/str.php?L2903 Added: head/x11-toolkits/fltk/files/patch-src_Fl_x.cxx (contents, props changed) Deleted: head/x11-toolkits/fltk/files/patch-FL_Fl_Widget.H Added: head/x11-toolkits/fltk/files/patch-src_Fl_x.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/fltk/files/patch-src_Fl_x.cxx Wed Dec 12 17:14:10 2012 (r308774) @@ -0,0 +1,30 @@ +Index: src/Fl_x.cxx +=================================================================== +--- src/Fl_x.cxx (revision 9749) ++++ src/Fl_x.cxx (working copy) +@@ -1873,7 +1873,7 @@ + // since we do not want save_under, do not want to turn off the + // border, and cannot grab without an existing window. Besides, + // there is no clear_override(). +- if (win->flags() & Fl_Widget::FULLSCREEN && !Fl_X::ewmh_supported()) { ++ if (win->fullscreen_active() && !Fl_X::ewmh_supported()) { + attr.override_redirect = 1; + mask |= CWOverrideRedirect; + Fl::screen_xywh(X, Y, W, H, X, Y, W, H); +@@ -1940,7 +1940,7 @@ + } + + // If asked for, create fullscreen +- if (win->flags() & Fl_Widget::FULLSCREEN && Fl_X::ewmh_supported()) { ++ if (win->fullscreen_active() && Fl_X::ewmh_supported()) { + XChangeProperty (fl_display, xp->xid, fl_NET_WM_STATE, XA_ATOM, 32, + PropModeAppend, (unsigned char*) &fl_NET_WM_STATE_FULLSCREEN, 1); + } +@@ -1984,7 +1984,7 @@ + } + + // non-EWMH fullscreen case, need grab +- if (win->flags() & Fl_Widget::FULLSCREEN && !Fl_X::ewmh_supported()) { ++ if (win->fullscreen_active() && !Fl_X::ewmh_supported()) { + XGrabKeyboard(fl_display, xp->xid, 1, GrabModeAsync, GrabModeAsync, fl_event_time); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212121714.qBCHEABO003681>