From 02373a9dea876e5346e623bcff8a06af4bccccb9 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 26 Apr 2024 16:53:08 +0200 Subject: X11: fix capture of window decoration under xfce --- src/drivers/X11/Fl_X11_Window_Driver.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/X11/Fl_X11_Window_Driver.H') diff --git a/src/drivers/X11/Fl_X11_Window_Driver.H b/src/drivers/X11/Fl_X11_Window_Driver.H index 06c2d89e3..c0efb30e9 100644 --- a/src/drivers/X11/Fl_X11_Window_Driver.H +++ b/src/drivers/X11/Fl_X11_Window_Driver.H @@ -2,7 +2,7 @@ // Definition of X11 window driver // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2022 by Bill Spitzak and others. +// Copyright 2010-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -77,7 +77,7 @@ private: #if FLTK_USE_CAIRO cairo_t *cairo_; #endif // FLTK_USE_CAIRO - void decorated_win_size(int &w, int &h); + bool decorated_win_size(int &w, int &h); void combine_mask(); void shape_bitmap_(Fl_Image* b); void shape_alpha_(Fl_Image* img, int offset) FL_OVERRIDE; -- cgit v1.2.3