nanogui: nanowm does not raise window to top when click window body


Previous by date: 17 Jun 2005 03:46:28 +0100 Re: Patch: Images with Alpha channel, 8bpp grayscale, Greg Haerr
Next by date: 17 Jun 2005 03:46:28 +0100 Re: nanowm does not raise window to top when click window body, Greg Haerr
Previous in thread:
Next in thread: 17 Jun 2005 03:46:28 +0100 Re: nanowm does not raise window to top when click window body, Greg Haerr

Subject: nanowm does not raise window to top when click window body
From: "=?utf-8?B?572X5bu65paH?=" ####@####.####
Date: 17 Jun 2005 03:46:28 +0100
Message-Id:

hi
	when I click a window's body, it only set focus to that window, but not raise it. I think it should be raised like windows, not just raised when click on titlebar. So we need to add some codes in actions.c like below(today CVS)
	I have one question: Could somebody tell me how to implement a taskbar/launcher that always stay on top in nanox? thanks 

--- actions.c.bak       2005-06-17 10:34:22.000000000 +0800
+++ actions.c   2005-06-17 10:35:23.000000000 +0800
@@ -38,6 +38,9 @@
                return;

        active = (window->clientid == GrGetFocus());
+       /* Raise window if mouse down and allowed*/
+       if (active && !(info.props & GR_WM_PROPS_NORAISE))
+               GrRaiseWindow(window->wid);
        nxPaintNCArea(window->wid, info.width, info.height, props.title,
                active, props.props);

  



Previous by date: 17 Jun 2005 03:46:28 +0100 Re: Patch: Images with Alpha channel, 8bpp grayscale, Greg Haerr
Next by date: 17 Jun 2005 03:46:28 +0100 Re: nanowm does not raise window to top when click window body, Greg Haerr
Previous in thread:
Next in thread: 17 Jun 2005 03:46:28 +0100 Re: nanowm does not raise window to top when click window body, Greg Haerr


Powered by ezmlm-browse 0.20.