all repos — fluxbox @ 82c2f3521eb10730b2a4b9d61a7be92dbd685840

custom fork of the fluxbox windowmanager

access function for display
fluxgen fluxgen
commit

82c2f3521eb10730b2a4b9d61a7be92dbd685840

parent

b4daf0f80848bf6c0a2a77f646fa5f474710b9d7

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/FbTk/FbDrawable.hhsrc/FbTk/FbDrawable.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbDrawable.hh,v 1.5 2004/09/10 15:46:08 akir Exp $ +// $Id: FbDrawable.hh,v 1.6 2004/09/11 20:30:28 fluxgen Exp $ #ifndef FBTK_FBDRAWABLE_HH #define FBTK_FBDRAWABLE_HH

@@ -56,6 +56,7 @@ /// X drawable

virtual Drawable drawable() const = 0; virtual unsigned int width() const = 0; virtual unsigned int height() const = 0; + inline Display *display() const { return s_display; } protected: static Display *s_display; // display connection // display connection };