/[rdesktop]/sourceforge.net/trunk/rdesktop/ewmhints.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/ewmhints.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1224 by astrand, Mon Mar 27 08:17:34 2006 UTC revision 1225 by astrand, Sun Apr 9 20:22:11 2006 UTC
# Line 240  ewmh_modify_state(Window wnd, int add, A Line 240  ewmh_modify_state(Window wnd, int add, A
240          int result;          int result;
241          unsigned long nitems;          unsigned long nitems;
242          unsigned char *props;          unsigned char *props;
243          uint32 state;          uint32 state = WithdrawnState;
244    
245          /* The spec states that the window manager must respect any          /* The spec states that the window manager must respect any
246             _NET_WM_STATE attributes on a withdrawn window. In order words, we             _NET_WM_STATE attributes on a withdrawn window. In order words, we
# Line 253  ewmh_modify_state(Window wnd, int add, A Line 253  ewmh_modify_state(Window wnd, int add, A
253                  XFree(props);                  XFree(props);
254          }          }
255    
256          if ((result < 0) || !nitems || (state == WithdrawnState))          if (state == WithdrawnState)
257          {          {
258                  if (add)                  if (add)
259                  {                  {

Legend:
Removed from v.1224  
changed lines
  Added in v.1225

  ViewVC Help
Powered by ViewVC 1.1.26