[Player-dev] On Top functionality
Warren Melnick warren at cacmedia.tvYou can do it indirectly by checking the process list for the master process for each of the major window managers (gnome-session, kdeinit, etc.) ________________________________ From: player-dev-bounces at helixcommunity.org on behalf of Ryan Gammon Sent: Fri 3/25/2005 7:15 PM To: player-dev at lists.helixcommunity.org Subject: Re: [Player-dev] On Top functionality I don't know of any X calls that return the window manager name. In terms of freedesktop.org, I believe: $ xprop -root | grep _NET_WM _NET_SUPPORTED(ATOM) = ... _NET_WM_STATE_ABOVE ... indicates whether or not the wm does on top. Greg Stacey wrote: >Is there an X function to figure out your window manager? I'm not much of an X guru by any means, so it may be available but I >don't know it / can't find it. Or are you suggesting checking running processes maybe? > >Thanks, > >Greg Stacey >Principal Consultant >Advanced Technologies Integration > > > >>-----Original Message----- >>From: Nicholas Hart [mailto:nhart at real.com] >>Sent: Friday, March 25, 2005 3:12 PM >>To: Greg Stacey >>Cc: 'Ryan Gammon'; player-dev at lists.helixcommunity.org >>Subject: RE: [Player-dev] On Top functionality >> >>I assume it's possible for someone to install (or build if it isn't >>available by default) a different WM that supports this feature. >>Perhaps we should query specifically for dtwm (and any other known WM's >>that don't support on top) and if it is in use disable the feature at >>runtime. >> >> >>On Fri, 2005-03-25 at 13:00, Greg Stacey wrote: >> >> >>>The default system is CDE (Common Desktop Environment) with dtwm as the underlying window manager. >>> >>>Greg Stacey >>>Principal Consultant >>>Advanced Technologies Integration >>> >>> >>> >>>>-----Original Message----- >>>>From: Ryan Gammon [mailto:rgammon at real.com] >>>>Sent: Friday, March 25, 2005 2:15 PM >>>>To: Greg Stacey >>>>Cc: player-dev at lists.helixcommunity.org >>>>Subject: Re: [Player-dev] On Top functionality >>>> >>>>What window manager is HP using? >>>> >>>>Greg Stacey wrote: >>>> >>>> >>>> >>>>>The most common HP-UX desktops do not support on-top calls. >>>>> Considering this HP would like to disable this option in the GUI to >>>>>prevent confusion and unnecessary bug logs. >>>>> >>>>> >>>>> >>>>>I was thinking of setting the widget to insensitive after it is >>>>>created in app/gk/main_interface.c (#ifdef _HPUX of course). >>>>> >>>>> >>>>> >>>>>Does Real have any problem with turning this off? Or does anyone have >>>>>alternate suggestions? >>>>> >>>>> >>>>> >>>>>Thanks, >>>>> >>>>> >>>>> >>>>>Greg Stacey >>>>> >>>>>Principal Consultant >>>>> >>>>>Advanced Technologies Integration >>>>> >>>>> >>>>> >>>>>------------------------------------------------------------------------ >>>>> >>>>>_______________________________________________ >>>>>Player-dev mailing list >>>>>Player-dev at helixcommunity.org >>>>>http://lists.helixcommunity.org/mailman/listinfo/player-dev >>>>> >>>>> >>>>> >>>>> >>>>-- >>>>Ryan Gammon >>>>rgammon at real.com >>>>Developer for Helix Player >>>>https://player.helixcommunity.org >>>> >>>> >>> >>> >>>_______________________________________________ >>>Player-dev mailing list >>>Player-dev at helixcommunity.org >>>http://lists.helixcommunity.org/mailman/listinfo/player-dev >>> >>> >>-- >>Nicholas Hart >>nhart at real.com >>Technical Lead, Helix Player >>https://player.helixcommunity.org >>http://www.real.com >> >> >> > > > > > > -- Ryan Gammon rgammon at real.com Developer for Helix Player https://player.helixcommunity.org _______________________________________________ Player-dev mailing list Player-dev at helixcommunity.org http://lists.helixcommunity.org/mailman/listinfo/player-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.helixcommunity.org/pipermail/player-dev/attachments/20050326/c5219509/attachment.htm