Commit graph

65 commits

Author SHA1 Message Date
Keith Bowes
77652741b5 Support for ext-foreign-toplevel-list 2024-04-22 13:00:39 -04:00
Keith Bowes
f967bfae17 react to wlroots changes 2024-02-07 00:46:35 -05:00
Keith Bowes
fb3a845354 react to wlroots changes 2024-01-25 21:37:01 -05:00
Keith Bowes
bce423cd72 idle-inhibit take 2 2024-01-03 19:28:04 -05:00
Keith Bowes
b5f4055904 Implemented idle-inhibit
Now all the protocols in ./protocol are actually being used
2023-12-30 15:33:03 -05:00
Keith Bowes
ae42d9d2f7 react to wlroots and libxml2 changes
Fixes #37
2023-11-25 19:01:58 -05:00
Keith Bowes
bceafa5b6b Require wlroots 0.17.0 2023-11-22 10:06:39 -05:00
Keith Bowes
7fb889d171 react to wlroots changes 2023-08-25 22:22:53 -04:00
Keith Bowes
2b38536dec gamma-control-v1 now requires manual application of LUTs 2023-06-27 14:41:02 -04:00
Keith Bowes
bf0f9215dc react to wlroots changes 2022-12-08 16:50:15 -05:00
Keith Bowes
3319f82249 Changed current_position and previous_position to geometry and previous_geometry, to be more consistent with wlroots 2022-12-06 22:19:20 -05:00
Keith Bowes
5122dbf35f Replaced KDE's obsolete idle protocol with the standard ext-idle-notify-v1 2022-12-06 13:24:30 -05:00
Keith Bowes
0c2f744dbf Updated for wlroots 0.16.0 2022-12-01 17:51:28 -05:00
Keith Bowes
4f0f564e27 Backported handling view unmap while grabbed from tinywl 2022-11-09 23:09:45 -05:00
Keith Bowes
18950eb844 Backported changes to tinywl 2022-06-30 18:25:22 -04:00
Keith Bowes
9fa7060dd4 Fixed for the wlroots xdg-positioner regression fix (see 2d623724c3) 2022-03-15 18:41:25 -04:00
Keith Bowes
df38ee39e0 Cleanups and omissions 2022-03-08 20:17:24 -05:00
Keith Bowes
ac01aefe32 Fixed known regressions from the wlr_scene migration 2022-03-03 11:58:46 -05:00
Keith Bowes
579a2d2084 Some bug fixes
1. The "crash when exiting an application while moving it" bug. See https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3372
2. The crash when there's no previous view to focus. This wasn't a problem before the migration to the scene graph API due to a logic error on my part.
3. The crash if <margins> is missing from rc.xml.
4. I'm now reusing code from focus_view() in seat_focus_surface().
5. I'm now using the dimensions of the output layout box instead of the current view (which was clearly wrong) for unconstraining layer-shell popups.
6. I fixed setting the background color, so that it won't interfere with the layer_shell helper.
2022-03-01 22:16:20 -05:00
Keith Bowes
5a3ac6055d Migrated layer shell to the scene graph API 2022-02-28 23:20:53 -05:00
Keith Bowes
d7b799ab80 Migrated to the scene graph API 2022-02-28 12:07:30 -05:00
Keith Bowes
03fbe71903 Finishing touches for 0.2.0 2022-02-26 12:16:34 -05:00
Keith Bowes
8403f759c4 Shade and Unshade actions 2022-02-25 16:28:59 -05:00
Keith Bowes
0769addabd Ability to minimize; Iconify action 2022-02-25 10:37:26 -05:00
Keith Bowes
6aa39a5ce0 Popups should be unconstrained 2022-02-23 20:02:53 -05:00
Keith Bowes
afe1780ec3 Allow maximizing; ToggleMaximize action 2022-02-23 12:15:13 -05:00
Keith Bowes
fcb38fe44f Use stable wlroots, making things easier on everybody 2022-02-22 18:51:57 -05:00
Keith Bowes
2af28015c8 Fixed output manager 2022-02-19 22:48:19 -05:00
Keith Bowes
357cd843dd Signal handling to exit and reconfigure the compositor 2022-02-18 22:24:20 -05:00
Keith Bowes
740c8c3393 Made NLS support contingent on having msgfmt, removed the deprecated meson.source_root(), and updated the translations 2022-02-18 18:12:05 -05:00
Keith Bowes
4cee7c4014 react to wlroots changes 2022-02-17 10:33:15 -05:00
Keith Bowes
bed7e244c2 Seemingly proper client-side decorations 2022-02-15 09:49:27 -05:00
Keith Bowes
8153a24863 Basic config-file support 2022-02-01 20:26:50 -05:00
Keith Bowes
ef73951ce0 Added wlr-layer-shell support 2022-01-30 22:00:50 -05:00
Keith Bowes
1bf513d9d6 xdg-decoration support 2022-01-30 15:13:08 -05:00
Keith Bowes
87c32d58ab Updated for wlroots 0.15.0 2022-01-29 14:34:55 -05:00
Keith Bowes
252b8c0de5
Merge pull request #21 from keithbowes/xdg-output
Preliminary support for xdg-output
2021-04-06 16:42:30 -04:00
Keith Bowes
69ac866970
Merge pull request #20 from keithbowes/primary-selection
Implemented primary-selection support
2021-04-06 16:42:11 -04:00
Keith Bowes
ab16a76696
Merge pull request #19 from keithbowes/gettext
* Added gettext catalogs

* Adapted from Openbox to hopefully give us a lot of mostly complete translations immediately.

* Added building the .pot and .gmo files

* Prepared strings for translation

* Using wlr_log() instead of printf() for logging messages

* A hopefully acceptable solution

* Openbox-esque help

* Cut down the blank lines in the debug logs

* It seems that wlr_log already outputs an end-of-line character

* Removed the messages which make no sense in Wayland

* Cleaned up the .po files

* Proper translation notes and where to report bugs

* More debugging messages
2021-04-06 16:41:46 -04:00
Greg Depoire--Ferrer
8265eda78a Fix wrong resize anchor point
Previously, when dragging the left border of a window with the mouse, there
was a bug where it would snap the top level surface's geometry X coordinate
directly to the position of the mouse, as if you started the resize right on the border. This also affected the other (right, bottom, and top) borders.

I think that the previous resize code was hard to understand. Honestly I
have not spent a lot of time trying to understand why t didn't work and
I wrote another resize algorithm instead. Now instead of working directly
with widths and heights which are complicated we work with the borders (left,
right, top and bottom). This is easier to understand IMO.
2020-04-28 16:22:35 +02:00
Keith Bowes
697942fc15 Preliminary support for xdg-output
No support for layout changes for the time being, though
2020-03-12 17:56:45 -04:00
Keith Bowes
73d114ffbe Implemented primary-selection support
Well, wl-clipboard works now anyway
2020-03-11 08:42:03 -04:00
Keith Bowes
114e265eef
Merge pull request #18 from keithbowes/modernize
Modernize
2020-03-11 08:32:50 -04:00
Keith Bowes
7bf6809122 Using wlr_log() instead of printf() for logging messages 2020-03-09 19:03:54 -04:00
Keith Bowes
09db837fcd Prepared strings for translation 2020-03-09 17:42:15 -04:00
Keith Bowes
9eb57cf950 Naming improvements 2020-03-08 13:48:50 -04:00
Keith Bowes
1c7c069e72 Consistent use of _POSIX_C_SOURCE 2020-02-27 20:07:44 -05:00
Keith Bowes
ff54fecfe6 Replaced the obsolete, unofficial protocols with official ones 2020-02-27 20:07:44 -05:00
Keith Bowes
c04609026b Removed included headers which aren't used by output.c anymore
I don't think assert.h ever was used
wlr/backend.h became unnecessary by a recent cleanup
wlr/types/wlr_compositor.h became unnecessary by the rendering-code rewrite for wlroots 0.9.0+
2020-02-27 19:58:12 -05:00
Keith Bowes
cd96e1c124 More cleanups; added missing request_cursor functionality 2020-02-23 22:33:06 -05:00