mirror of
https://github.com/polybar/polybar.git
synced 2026-03-02 06:12:14 +00:00
Eventloop cleanup (#2577)
* eventloop: Use eventloop namespace in cpp files * changelog: Add missing deprecated hook message * Make eventloop and ipc classes non-copyable and non-movable * Remove functional.hpp * eventloop: Don't close handles in error cases Client should be responsible for closing handles. * eventloop: Address invalidation of handle references
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include "x11/connection.hpp"
|
||||
|
||||
using namespace polybar;
|
||||
using namespace eventloop;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// clang-format off
|
||||
@ -58,7 +59,7 @@ int main(int argc, char** argv) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
eventloop::eventloop loop{};
|
||||
loop loop{};
|
||||
|
||||
//==================================================
|
||||
// Connect to X server
|
||||
|
||||
Reference in New Issue
Block a user