aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-20 01:12:30 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-20 01:12:30 +0200
commit6c2249d0b0642dfc23727163234ce08407bf4931 (patch)
treed1f551a21f722df047bf9de6208c5a2e7988dab6
parentcd64ce74bf39cc0587b3a3cba4071b18312c89a6 (diff)
wip: wayland
-rw-r--r--TODO1
m---------depends/mgl0
-rw-r--r--include/mglpp/mglpp.hpp4
3 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..36789ec
--- /dev/null
+++ b/TODO
@@ -0,0 +1 @@
+Change Init(window_system) default value to WindowSystem::NATIVE.
diff --git a/depends/mgl b/depends/mgl
-Subproject 0e12a1d216b85c8e864cc2d7d18c3d18864542c
+Subproject 06957aa0f264bc181c01f5618f3b3c8d4db38dd
diff --git a/include/mglpp/mglpp.hpp b/include/mglpp/mglpp.hpp
index 58f956d..730ddf5 100644
--- a/include/mglpp/mglpp.hpp
+++ b/include/mglpp/mglpp.hpp
@@ -19,8 +19,8 @@ namespace mgl {
class Init {
public:
- // Throws InitException on failure
- Init(WindowSystem window_system = WindowSystem::NATIVE);
+ // Throws InitException on failure.
+ Init(WindowSystem window_system = WindowSystem::X11);
~Init();
bool is_connected_to_display_server();