- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
XChangeProperty(ioncore_g.dpy, WROOTWIN_ROOT(rw),
atom_net_supported, XA_ATOM,
32, PropModeReplace, (uchar*)atoms, N_NETWM);
XChangeProperty(ioncore_g.dpy, WROOTWIN_ROOT(rw),
atom_net_supported, XA_ATOM,
32, PropModeReplace, (uchar*)atoms, N_NETWM);
xwindow_set_text_property(rw->dummy_win, atom_net_wm_name, p, 1);
}
xwindow_set_text_property(rw->dummy_win, atom_net_wm_name, p, 1);
}
- if(data[i]==(long)atom_net_wm_state_fullscreen){
- ret=clientwin_enter_fullscreen(cwin, sw);
- break;
- }
+ if(data[i]==(long)atom_net_wm_state_fullscreen)
+ return region_screen_of((WRegion*)cwin);
if(!REGION_IS_FULLSCREEN(cwin)){
if(ev->data.l[0]==_NET_WM_STATE_ADD ||
ev->data.l[0]==_NET_WM_STATE_TOGGLE){
if(!REGION_IS_FULLSCREEN(cwin)){
if(ev->data.l[0]==_NET_WM_STATE_ADD ||
ev->data.l[0]==_NET_WM_STATE_TOGGLE){