Exemplo n.º 1
0
        public void Deactivate()
        {
            WlArray array = new WlArray();

            this.SendConfigure(0, 0, array.array);
            this.WMXdgSurfaceV6.SendConfigure(0);
        }
Exemplo n.º 2
0
        public void Activate()
        {
            WlArray array = new WlArray();

            array.Set(array.Add(4), 4);
            this.SendConfigure(0, 0, array.array);
            this.WMXdgSurfaceV6.SendConfigure(0);
        }
Exemplo n.º 3
0
        public override void GetToplevel(IntPtr client, IntPtr resource, UInt32 id)
        {
            WMXdgToplevelV6 WMXdgToplevelV6 = new WMXdgToplevelV6(client, 1, id, this.resource);

            //WindowManager.RemoveSurface(this.resource); Don't need this anymore because we just store the WMSurface in list of Surfaces
            // ...and we can access the current role via .Role
            //WindowManager.Surfaces.Add(WMXdgToplevelV6);

            // HERE
            WindowManager.CurrentVirtualDesktop.Surfaces.Add(WMXdgToplevelV6);

            WlArray array = new WlArray();

            WMXdgToplevelV6.SendConfigure(0, 0, array.array);
            WMXdgToplevelV6.WMXdgSurfaceV6.SendConfigure(0);
        }
Exemplo n.º 4
0
        public void SendKeyboardEnter()
        {
            WlArray array = new WlArray();

            client.keyboard?.SendEnter(0, this.resource, array.array);
        }