emotion: fix borderless and remove it from taskbar/pager at the same time.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 23 Oct 2011 08:46:23 +0000 (08:46 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 23 Oct 2011 08:46:23 +0000 (08:46 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64321 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/gstreamer/emotion_sink.c

index 3e71d8f..c9af841 100644 (file)
@@ -1201,7 +1201,9 @@ gstreamer_video_sink_new(Emotion_Gstreamer_Video *ev,
           fprintf(stderr, "creating window: %x [%i, %i, %i, %i]\n", win, x, y, w, h);
           if (win)
             {
-              /* ecore_x_mwm_borderless_set(win, EINA_TRUE); */
+              Ecore_X_Window_State state[] = { ECORE_X_WINDOW_STATE_SKIP_TASKBAR, ECORE_X_WINDOW_STATE_SKIP_PAGER };
+
+              ecore_x_netwm_window_state_set(win, state, 2);
               ecore_x_window_hide(win);
               xvsink = gst_element_factory_make("xvimagesink", NULL);
               if (xvsink)