Commit Graph

276 Commits

Author SHA1 Message Date
Matthew Kosarek
6da218881b Bumping snapcraft.yaml version 2024-08-12 19:37:36 -04:00
Matthew Kosarek
4f6a383c44 Bump version to 0.3.1 2024-08-12 19:32:59 -04:00
Matthew Kosarek
9b503ebd0e
feature: if the configuration doesn't exist, we try to copy it from /usr/share/miracle-wm/config/default.yaml or we write it blank (#205) 2024-08-12 19:31:53 -04:00
Matthew Kosarek
d402e4829a
feature: no longer restarting commands that exit with 127 (#204) 2024-08-12 19:19:08 -04:00
Matthew Kosarek
2ce71cc28e
feature: swaymsg exit works now (#203) 2024-08-11 16:56:57 -04:00
TibboddiT
ea8c9db1ac
Allow using custom mir libraries directory (#198)
* allow using custom mir libraries directory

* update cmake options ordering to improve readability

* CI: install libmirwayland-dev

* CI: install libmirwayland-dev
2024-08-09 09:54:39 -04:00
Matthew Kosarek
ea33fb1c72
refactor: a Container is used as the active element instead of a miral::Window (#201) 2024-08-03 16:34:45 -04:00
Matthew Kosarek
16047a0f03
bugfix: no longer relying on the Output to get the compositor state (#200) 2024-08-03 09:23:02 -04:00
Matthew Kosarek
087e87a745
bugfix: fixing how modes are reported and multi-subscriptions are created (#199) 2024-08-02 14:25:44 -04:00
Matthew Kosarek
c185c4c5bb
refactor: remove WindowMetadata and make everything a container + refactor Output and Workspace big time such that they do way less work (#195) 2024-08-02 09:50:03 -04:00
Matthew Kosarek
92c5c6784f
refactor: make it so that the tiling window tree relies on the active window much less (#194) 2024-07-18 16:12:11 -04:00
Matthew Kosarek
699587eaac
refactor: giving Window modification control over to the Workspace instead of the Output (#193)
* refactor: select_window_from_point is now on WorkspaceContent

* refactor: moving more bits to WorkspaceContent, including advise_new_window

* refactor: various reworks, including toggle_floating

* refactor: renaming OutputContent to Output, WorkspaceContent to Workspace, + other refactors

* refactor: remove Workspace::get_tree and even fix a bug!

* backout: renderer.cpp changes
2024-07-14 16:42:20 -04:00
Matthew Kosarek
c93454c9c2
refactor: establish a single source of truth for the selected window (#192) 2024-07-14 14:12:54 -04:00
Matthew Kosarek
db3b0f3018
minor: rename master to develop because master is not the mastered version in this context (#190) 2024-07-08 09:38:35 -04:00
Matthew Kosarek
e900b24db6
test + refactor: renames to more closely match i3, refactor to accomodate testing of the TilingWindowTree, initial tests for the tiling window tree (#189) 2024-07-03 16:49:17 -04:00
Matthew Kosarek
a08ba258cf
Merge pull request #187 from mattkae/release/0.3.0
snap: update to v0.3.0
2024-07-02 10:54:37 -04:00
Matthew Kosarek
b6da13451e snap: update to v0.3.0 2024-07-01 11:15:08 -04:00
Jami Kettunen
c2f37ded8f
Fix compile with glm 1.0.0+ and musl libc (#185)
* bugfix: fix compilation with glm 1.0.0+

GLM_ENABLE_EXPERIMENTAL has guarded inclusion of glm/gtx/transform.hpp
since version 1.0.0.

* bugfix: fix compilation on musl libc

isinff is deprecated since C99 and only glibc still implements it
nowadays while musl libc doesn't, replace it with the modern counterpart
and start using the C++ overload.

Meanwhile M_PIf is a glibc 2.35+ macro which doesn't exist on musl libc
math.h, so just use M_PI which seems to work the same in this case.
2024-07-01 11:14:23 -04:00
Matthew Kosarek
458b5cc4fd
(#97) bugfix: preventing some windows (e.g. emacs) from deciding on too small of size for their tile (#184) 2024-06-29 14:15:55 -04:00
Matthew Kosarek
ec1d3bdebc
bugfix: need libnotify4 in stage packages (#182) 2024-06-26 13:55:55 -04:00
Matthew Kosarek
68bd9c8460 (#180) bugfix: no longer crashing due to shell elements on startup 2024-06-25 13:31:05 -04:00
Matthew Kosarek
362547bd89 bugfix: removing workspaces from an output when it goes offline 2024-06-25 10:51:21 -04:00
Matthew Kosarek
d626ce67d3
(#178) bugfix: fix for menus no longer being selectable (#179) 2024-06-23 10:06:29 -04:00
Matthew Kosarek
8d9f1bf169 bugfix: renderer checks for stencil support before trying to draw the border 2024-06-22 14:52:33 -04:00
Matthew Kosarek
0115a377bd
(#4) bugfix: gedit save dialog no longer appears as a tile + removing some dead code + mild refactor and debugging (#177) 2024-06-22 14:01:55 -04:00
Matthew Kosarek
2fa0033975
bugfixes: select on hover always + release builds for debian & snap + fix for for #174 when we have zero monitors (#176)
* bugfix: selecting on hover + release builds for debian and snap + maybe fixing outputs going offline

* bugfix: zero windows now works properly
2024-06-21 16:29:57 -04:00
Matthew Kosarek
dbd50f3b74
bugfix: handling initially fullscreen windows + allowing workspaces to be floating by default + allowing windows to be floating initially + fixes for #168 (#171)
* bugfix: handling initially fullscreen windows + allowing workspaces to be floating by default

* (#168) bugfix: enabling zwp_pointer_constraints_v1 and zwp_relative_pointer_manager_v1 so that we can game
2024-06-21 07:50:36 -04:00
Matthew Kosarek
caab71d750
(#166) XWayland windows now have a proper Z-order so that they don't step on each other's toes (#170) 2024-06-18 16:45:16 -04:00
Matthew Kosarek
79a912698c
bugfix: XWayland windows some times become unclickable (#167) 2024-06-18 11:49:39 -04:00
Matthew Kosarek
9e0c553c63 bugfix: bringing only the final fullscreen window to the foreground in the tiling window tree 2024-06-17 14:16:29 -04:00
Matthew Kosarek
9b3f31f044
(#156) bugfix: place fullscreen windows properly (#159) 2024-06-16 20:24:11 -04:00
Matthew Kosarek
febe04b213
(#122) bugfix: border rendering no longer throws GL error 1281 (#155)
fixes: #122
2024-06-14 20:26:29 -04:00
Matthew Kosarek
34f0614c62
frankenstein: borders disappearing bug for floating windows + percentage not being clamped on animations + IPC_GET_VERSION + IPC_GET_BINDING_MODES + IPC_GET_BINDING_STATE + IPC_GET_OUTPUTS (#153)
- bugfix: borders disappearing behind other windows on floating windows
- bugfix: animation percentage not being clamped between 0 and 1
- feature: IPC_GET_VERSION
- feature: IPC_GET_BINDING_MODES
- feature:  IPC_GET_BINDING_STATE
- feature:  IPC_GET_OUTPUTS
2024-06-14 07:44:15 -04:00
Matthew Kosarek
64d66d2199
refactor: resizing is now global instead of local to a particular output (#150) 2024-06-12 15:56:41 -04:00
Matthew Kosarek
3df39559aa
(#147) bugfix: workspace animations are now interpolated + border respecting workspace transforms + massive simplification of workspace transformation code (#148)
- fixes #147
- fixes #149
- fixes #111
2024-06-11 14:12:11 -04:00
Matthew Kosarek
960e4a1646
(#136) bugfix: interpolating slide animations from the current position so that they're smooth (#146) 2024-06-08 08:23:14 -04:00
Matthew Kosarek
f8887b80dd
feature: support for i3 'sticky' command (#145) 2024-06-03 17:05:46 -04:00
Matthew Kosarek
8be9a93c91
feature: support for the i3 'move' command (#143) 2024-06-01 14:21:11 -04:00
Matthew Kosarek
f6e54482bd
feature: implementation if the i3 'split' command (#142) 2024-05-30 19:19:55 -04:00
Matthew Kosarek
889ac8c51c
feature: support for i3 'exec' command (#140) 2024-05-30 11:38:22 -04:00
pastalian
051ee2f893
bugfix: unset CMAKE_CXX_COMPILER (#138)
* Predefining CMAKE_CXX_COMPILER overrides the user CXX variable and make building with clang difficult.
2024-05-30 11:21:13 -04:00
Matthew Kosarek
06668b0bd2
refactor: move ProgramFactory to its own file + clang-tidy issues around the renderer (#139)
* refactor: move ProgramFactory to its own file
* refactor: fixing various clang-tidy issues
* refactor: plenty of more cleanup
2024-05-27 18:58:54 -04:00
Matthew Kosarek
6e7207717a (#123) bugfix: no longer ignoring exclusion zones after a new root node is created 2024-05-24 07:48:34 -04:00
Matthew Kosarek
d444334383
(#131 #132 #133) bugfix: clipped windows now behave properly when being animated (#135)
- fixes https://github.com/mattkae/miracle-wm/issues/133
- fixes https://github.com/mattkae/miracle-wm/issues/132
- fixes https://github.com/mattkae/miracle-wm/issues/131
2024-05-23 14:14:05 -04:00
Matthew Kosarek
60d5fde154 bugfix: border was not using the workspace transform 2024-05-22 07:39:27 -04:00
Matthew Kosarek
a6cdcbe673
snap: upgrade to core24 (#129) 2024-05-21 08:59:06 -04:00
Matthew Kosarek
ec04260b85 minor: committing .idea folder 2024-05-21 07:30:13 -04:00
Matthew Kosarek
e3dcd9c6a7
feature + testing: animation testing refactor + slide animation now includes a scale + improving workspace transforms + constraining less often (#130) 2024-05-20 18:06:39 -04:00
Matthew Kosarek
928aae4d2f
Merge pull request #127 from mattkae/animations
- Window move animations
- Window open animations
- Workspace switch animations
- Basic configuration for animations
- Testing + improved configuration to follow
2024-05-17 07:59:54 -04:00
Matthew Kosarek
d6bce8c5b2 actions: fix for missing g++-13 2024-05-17 05:26:02 -04:00