Commit graph

39 commits

Author SHA1 Message Date
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
Keith Bowes
8bc4352eb8 Cleanup 2020-02-23 22:33:06 -05:00
Keith Bowes
43fcf1ebf1 Mouse support 2020-02-23 22:33:06 -05:00
Keith Bowes
7570698224 Implemented Openbox-compatible command-line options; hard-coded Alt+F2 to an application launcher; indicated the real purpose of WL_HIDE_DEPRECATED 2020-02-23 22:33:06 -05:00
Keith Bowes
9f2ddc48ef Some more keyboard support: no keyboard capability with no keyboards, ctrl+esc and alt+tab for more Openbox-esque behavior 2020-02-23 22:33:06 -05:00
Keith Bowes
874c844ce0 Replaced the old mcwayface rendering code with tinywl's xdg_shell code,
allowing it to compile with wlroots 0.9.0+
2020-02-23 22:32:09 -05:00
Keith Bowes
fe78796f7f Updated README.md; moved the keyboard code from server.c to seat.c 2020-02-23 22:21:32 -05:00
Keith Bowes
f805499487 Basic data manager (wterm now shows, but input is still not working) 2020-02-18 15:56:03 -05:00
Keith Bowes
64db394085 Lifted support for keys from tinywl; TODO: don't have all the code in server.c 2020-02-18 15:48:26 -05:00
Keith Bowes
1cd178e9ce Basic seat support 2020-02-18 08:10:24 -05:00
Keith Bowes
cb67c24718 Got basic xdg-shell code 2020-02-17 23:43:14 -05:00
Keith Bowes
d49aeec4b8 Replaced gamma_control with gamma_control_v1 2019-06-19 18:06:51 -04:00
Keith Bowes
50498e1097 Replaced screenshooter with screencopy 2019-06-19 17:51:45 -04:00
Cole Mickens
0c97dc6da3
react to wlroots changes
Signed-off-by: Cole Mickens <cole.mickens@gmail.com>
2018-11-26 21:07:10 -08:00
Veselin Ivanov
4f231567a7 Added very basic cursor tracking
No interaction with wayland clients yet. Just draws the cursor where
the pointer device points.
2018-10-04 20:56:47 +03:00
wizbright
ad1611e3ad Code Refactor 2018-06-19 10:26:54 -05:00