Commit Graph

25 Commits

Author SHA1 Message Date
ManoloFLTK
2af1da4ff4 Wayland: simpler implementation of "GTK Shell" protocol 2024-05-06 09:29:32 +02:00
ManoloFLTK
7ec6f96d9c Add "fl_" prefix to libdecor symbols when using the built-in copy of libdecor
This allows client apps to use other versions of libdecor if they wish,
just like what FLTK already does with libpng and libjpeg.
2024-04-20 13:35:53 +02:00
ManoloFLTK
e6957fc2f5 Allow libdecor package version ≥ 0.2.0 with FLTK_USE_SYSTEM_LIBDECOR 2024-04-18 19:32:47 +02:00
ManoloFLTK
82bd0b6652 Have FLTK use libdecor at version > 0.2.2
- it's no longer necessary to take care of the change in the layout of "struct libdecor"
between versions ≤ 0.2.2 and > 0.2.2 of libdecor
- version > 0.2.2 contains MR131, that is, it defines LIBDECOR_WINDOW_STATE_RESIZING
so the hack to emulate it is no longer  necessary
- CMake option FLTK_USE_SYSTEM_LIBDECOR now requires libdecor version > 0.2.2
to be activated, otherwise the bundled libdecor is used
- what will be the libdecor version after 0.2.2 (0.2.3? 0.3.0?) is not known as of today
2024-03-15 12:21:38 +01:00
ManoloFLTK
70a9c4d407 Update libdecor to upstream commit 09875530 dated March 3, 2024 2024-03-12 14:09:35 +01:00
ManoloFLTK
2030995f6b Wayland+libdecor: iImprove fl_is_surface_gtk_titlebar() 2023-12-15 15:48:47 +01:00
ManoloFLTK
ce06a6b519 Some reorganization of fl_libdecor-plugins.c 2023-12-15 12:05:41 +01:00
ManoloFLTK
673fa2e09c FLTK implementation of the "GTK Shell" Wayland protocol - cont'd
The loop over all libdecor-gtk decorations is now made using libdecor's
data structures, rather than using FLTK's mapped window list.
2023-12-14 07:55:31 +01:00
ManoloFLTK
0936c2a55d FLTK implementation of the "GTK Shell" Wayland protocol - cont'd
The pointer_enter() function now checks that its non-FLTK wl_surface  argument
is the wl_surface of the titlebar of a GTK-decorated window.
2023-12-13 14:48:08 +01:00
ManoloFLTK
b759767798 Remove unnecessary #include <linux/input.h> 2023-12-07 09:05:57 +01:00
ManoloFLTK
18ccbb4a4f Wayland: much lighter but partial implementation of the "GTK Shell" protocol
Only the middle-button click gesture is implemented which avoids interference
with what libdecor does with right-click and double-click.
2023-12-05 22:53:26 +01:00
ManoloFLTK
9b33cadbc1 Wayland: use GTK Shell also with system libdecor - cont'd 2023-11-30 21:11:43 +01:00
ManoloFLTK
7472e41ccc Wayland: use GTK Shell also with system libdecor 2023-11-30 19:36:06 +01:00
ManoloFLTK
ed5ee81ccd Wayland: add changes to struct libdecor_frame_gtk 2023-11-30 16:40:13 +01:00
ManoloFLTK
83f6336f3b Libdecor-gtk and GTK Shell: take care of LIBDECOR_PLUGIN_DIR 2023-11-14 14:29:36 +01:00
ManoloFLTK
19e40058da Libdecor-gtk and GTK Shell: take care of touch events 2023-11-14 12:14:04 +01:00
ManoloFLTK
52f6b6abbb Libdecor GTK plugin: use gnome value for doubleclick time 2023-11-13 16:39:03 +01:00
ManoloFLTK
888dc5f5c5 Have libdecor-gtk implement the "GTK Shell" protocol 2023-11-12 19:13:35 +01:00
ManoloFLTK
46fab88c7f Remove unneeded #include directive 2023-08-24 09:49:03 +02:00
ManoloFLTK
f85ee3541a Wayland: simpler implementation of get_libdecor_plugin_description() 2023-08-06 19:04:16 +02:00
ManoloFLTK
d9fa2c6082 Wayland.dox: add info about the xdg decoration protocol
Also, use KWin to name the KDE desktop's Wayland compositor.
2023-07-28 15:27:38 +02:00
ManoloFLTK
2ffd4e4f1a Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
ManoloFLTK
bdd340e1e1 libdecor - GTK plugin: pull upstream changes (0542faad - 21 may 2022).
But keep FLTK changes.
2022-05-27 11:45:53 +02:00
ManoloFLTK
8e21120f75 Restore use of CMake OPTION_USE_SYSTEM_LIBDECOR 2022-04-22 08:00:00 +02:00
ManoloFLTK
3718effc43 Add the Wayland platform to FLTK 1.4 2022-03-04 15:41:00 +01:00