DSWaylandCompositor: add currentTime() 86/241786/1
authorSung-Jin Park <sj76.park@samsung.com>
Tue, 11 Aug 2020 12:34:04 +0000 (21:34 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 20 Aug 2020 10:10:44 +0000 (19:10 +0900)
Change-Id: Iec7f08f6b82ef783312630b2b08ce91f351eb796
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/DSWaylandServer/DSWaylandCompositor.cpp
src/DSWaylandServer/DSWaylandCompositor.h

index a56856e..69bd763 100644 (file)
@@ -405,6 +405,11 @@ uint32_t DSWaylandCompositor::nextSerial()
        return wl_display_next_serial(priv->_display);
 }
 
+uint32_t DSWaylandCompositor::currentTime()
+{
+       return ecore_time_unix_get();
+}
+
 void DSWaylandCompositor::addClient(DSWaylandClient *client)
 {
        DS_GET_PRIV(DSWaylandCompositor);
index fc1213c..ba7ff81 100644 (file)
@@ -36,6 +36,7 @@ public:
        std::string socketName();
        struct ::wl_display *display();
        uint32_t nextSerial();
+       uint32_t currentTime();
        std::list<DSWaylandClient *> clients();
        DSWaylandSeat *defaultSeat();