app: do not use the Qt surface ID shift hack
[staging/windowmanager.git] / src / app.cpp
index 4800d8c..c672052 100644 (file)
@@ -418,7 +418,7 @@ void App::execute_pending() {
 // | .__/|_|  \___/_/\_\_|\___|\__,_| |_____| \_/ \___|_| |_|\__|___/
 // |_|
 void App::surface_created(uint32_t surface_id) {
-   surface_id >>= id_allocator::id_shift;
+   //surface_id >>= id_allocator::id_shift;
 
    logdebug("surface_id is %u", surface_id);
 
@@ -428,7 +428,7 @@ void App::surface_created(uint32_t surface_id) {
 }
 
 void App::surface_removed(uint32_t surface_id) {
-   surface_id >>= id_allocator::id_shift;
+   //surface_id >>= id_allocator::id_shift;
 
    logdebug("surface_id is %u", surface_id);