Commit Graph

63 Commits

Author SHA1 Message Date
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 0aa8e28be0 Update libdecor to commit 060fe761 dated 1-dec-2023 2023-12-02 16:59:52 +01:00
ManoloFLTK f72748bb45 Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by default
This commit makes the default FLTK build setting use libdecor
as packaged in Linux when the build system contains packages
libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0.
Otherwise, FLTK uses the bundled version of libdecor.
This includes situations where package libdecor-0-dev is
present in an earlier version.
2023-12-02 09:28:08 +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 6bcce462e9 Update libdecor to commit cc58dd2a dated 2-nov-2023 2023-11-29 09:57:48 +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 c0e4410776 Update libdecor to commit c6c780c1 dated 2023-10-10 2023-10-29 10:28:27 +01:00
ManoloFLTK c5433d6c1e Update libdecor to commit 422abaf9 dated 2023-09-07
The libdecor commit title is "libdecor-gtk: handle touch events"
2023-09-13 11:51:39 +02:00
ManoloFLTK afc60b2503 Update to libdecor ca6e6b68 dated 25-aug-2023 2023-08-25 15:06:27 +02: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 fa0aa95443 libdecor: update with upstream source code as of 2023-JUL-15 2023-07-22 14:23:08 +02:00
ManoloFLTK 3166416e4c libdecor: update with upstream source code as of 2023-jun-6 2023-06-13 07:42:44 +02:00
ManoloFLTK 87dec3af9c libdecor: update with upstream source code as of 2023-may-26 2023-06-07 15:58:12 +02:00
ManoloFLTK cad6e63296 libdecor: update with upstream source code as of 2023-may-2
This will allow to create narrow decorated windows without crash.
2023-05-02 11:35:28 +02:00
ManoloFLTK cdd1566cf9 Allow building Wayland platform without dbus (#726)
This commit supports configure-based builds without the dbus-dev package;
CMake-based builds are expected to be changed in further commit.
2023-04-30 18:41:49 +02:00
ManoloFLTK 64ac7b47b8 Improve detection of the location of Wayland protocol files across OSes 2023-03-29 15:25:29 +02:00
ManoloFLTK 02adfc0560 Wayland: remove libdecor/demo/* from FLTK source tree 2023-02-16 08:56:37 +01:00
ManoloFLTK 83d9a2c63d libdecor: update from upstream (3f3e5e1d) as of 29-dec-2022 2022-12-29 15:26:28 +01:00
ManoloFLTK 4d8ae8ccd0 Libdecor: update to upstream commit 25f29fef 3 dec 2022 2022-12-08 12:41:41 +01:00
Albrecht Schlosser 410e57d2db Don't build libdecor demos, add generated files to .gitignore
1) We don't need to build the libdecor demo programs for FLTK.

2) The Wayland build process generates some source and header files
   in the main src/ directory. These files are now ignored by git.
2022-11-23 13:33:52 +01:00
ManoloFLTK a5d2b5ed45 libdecor: update from source git repo (commit e87dcfda)
This brings the GTK plugin inside the master libdecor git repo.
2022-11-03 08:16:49 +01:00
ManoloFLTK 2ffd4e4f1a Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
ManoloFLTK 75dd467dc5 Update with changes from source (commit bcb1d791) - cont'd. 2022-09-21 15:11:10 +02:00
ManoloFLTK a2bf4d7ef2 Update with changes from source (commit bcb1d791). 2022-09-21 14:52:53 +02:00
ManoloFLTK 166a5bf785 Update from libdecor source code (commit a735d056). 2022-09-16 17:26:00 +02:00
ManoloFLTK 21864cf499 Attempt to fix issue #485. 2022-09-03 09:35:48 +02:00
ManoloFLTK 16f660f676 Wayland: fix issue #492 - mark FLTK differences. 2022-09-02 09:44:43 +02:00
ManoloFLTK 2a3b4e1f2d Wayland: fix issue #492 "Use after free()". 2022-09-02 09:35:44 +02:00
ManoloFLTK 736c20f7a2 Wayland platform: remove redirection of stderr. 2022-08-31 10:43:10 +02:00
ManoloFLTK 28981f6fd3 Wayland/Libdecor: update from upstream
These changes fix issue #474.
2022-08-27 10:15:40 +02:00
ManoloFLTK 09340be683 libdecor GTK: remove the last code change required by FLTK. 2022-06-08 14:43:25 +02:00
ManoloFLTK fac3c2fb04 libdecor GTK plugin: update from upstream (8 Jun 2022 - de9534d2)
Two more FLTK changes become unneeded.
2022-06-08 13:58:28 +02:00
ManoloFLTK 88bc94c932 libdecor GTK plugin: update from upstream (7 Jun 2022 - 8fc5c88c)
This removes a bunch of FLTK changes.
2022-06-08 11:51:54 +02:00
ManoloFLTK 6add57d4bd Wayland under FreeBSD: use package evdev-proto which brings linux/input.h 2022-06-06 15:32:54 +02:00
ManoloFLTK 831d8b5a58 libdecor: add recent upstream changes in GTK plugin (31 may 2022 - d4f16da1) 2022-06-04 14:44:41 +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 5afd0bb44a libdecor: pull upstream changes (a382710b on 28 apr 2022). 2022-05-27 10:58:23 +02:00
ManoloFLTK f8bdf2cd87 Fix default value of LIBDECOR_PLUGIN_DIR preprocessor variable. 2022-05-20 08:42:53 +02:00