KWindowSystem

2014-02-19 Thread Damian Ivanov
Hello all, Hello Martin :-) 2 Things: a) I found that kwindowsystem.h is missing a function closeWindow, is that intended? It is present in the netwm* files as closeWindowRequest. If this is not intended I can try to implement that maybe for x11 (I mean the function in KWindowSystem class) as a

Re: KWindowSystem

2014-02-19 Thread Martin Gräßlin
intended I can try to implement > that maybe for x11 (I mean the function in KWindowSystem class) as a > junior task? what would be the usecase for having that in the more high level API? > > b) KWindowSystem::icon() fails to return an icon for "gedit", so > gedit has no icon (

Re: KWindowSystem

2014-02-19 Thread Damian Ivanov
Usecase: Well in kwindowsystem.h you already have stuff like minimizeWindow,unminize, raise,lower, so it would just be logical to look for it there. Also in kwindowsystem I pass the window to minimize/lower/raise as int. In netwm.* it doesn't take the int as argument for me. When running kw

Re: KWindowSystem

2014-02-19 Thread Thomas Lübking
nager. The class KWindowSystem provides information about the state of the window manager and allows asking the window manager to change them using a more high-level interface than the NETWinInfo/NETRootInfo lowlevel classes." I guess it was left out since "closed" is not a state

Re: KWindowSystem

2014-02-19 Thread Damian Ivanov
_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "gedit", "Gedit" WM_ICON_NAME(STRING) = "kwindowsystem.h (~/Downloads/kwindowsystem/src) - gedit" _NET_WM_ICON_NAME(UTF8_STRING) = "kwindowsystem.h (~/Downloads/kwindowsystem/src) - gedit" WM_NAME(STRING) = "kwindo

Re: KWindowSystem

2014-02-19 Thread Damian Ivanov
0001 > _NET_WM_PID(CARDINAL) = 27750 > WM_LOCALE_NAME(STRING) = "en_US.UTF-8" > WM_CLIENT_MACHINE(STRING) = "linux-v2xv" > WM_NORMAL_HINTS(WM_SIZE_HINTS): > program specified minimum size: 533 by 186 > program specified base size: 0 by 0 > w

Re: Re: KWindowSystem

2014-02-19 Thread Martin Gräßlin
(STRING) = "linux-v2xv" > WM_NORMAL_HINTS(WM_SIZE_HINTS): > program specified minimum size: 533 by 186 > program specified base size: 0 by 0 > window gravity: NorthWest > WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, > _NET_WM_PING, _NET_WM_SYNC_REQUEST >

Re: Re: KWindowSystem

2014-02-19 Thread Damian Ivanov
T_WM_PID(CARDINAL) = 27750 >> WM_LOCALE_NAME(STRING) = "en_US.UTF-8" >> WM_CLIENT_MACHINE(STRING) = "linux-v2xv" >> WM_NORMAL_HINTS(WM_SIZE_HINTS): >> program specified minimum size: 533 by 186 >> program specified base size: 0 by 0 >> window grav

KWindowsystem / Kwin QML plugin

2014-02-17 Thread Damian Ivanov
Hi, import org.kde.kwin 2.0 as KWin where can I find the source of the plugin that exports this to QML. IT doesn't seem to be KWindowSystem Thanks in advance! >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Re: Re: KWindowSystem

2014-02-19 Thread Martin Gräßlin
-linux-v2xv" > >> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL > >> _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 35651627, 35651628 > >> _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x220002a > >> WM_CLIENT_LEADER(WINDOW): window id #

Re: Re: Re: KWindowSystem

2014-02-20 Thread Damian Ivanov
TRING) = "org.gnome.Gedit" >> >> WM_WINDOW_ROLE(STRING) = "gedit-window-1392869512-705416-0-linux-v2xv" >> >> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL >> >> _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 35651627, 35651628 >>

Re: Re: Re: KWindowSystem

2014-02-20 Thread Damian Ivanov
G) = "/org/gnome/Gedit" >>> >> _GTK_UNIQUE_BUS_NAME(UTF8_STRING) = ":1.593" >>> >> _GTK_APPLICATION_ID(UTF8_STRING) = "org.gnome.Gedit" >>> >> WM_WINDOW_ROLE(STRING) = "gedit-window-1392869512-705416-0-linux-v2xv&

Re: KWindowsystem / Kwin QML plugin

2014-02-17 Thread Martin Gräßlin
On Monday 17 February 2014 10:46:53 Damian Ivanov wrote: > Hi, > > import org.kde.kwin 2.0 as KWin > > where can I find the source of the plugin that exports this to QML. IT > doesn't seem to be KWindowSystem this is not kwindowsystem, there is no plugin for KWindowSyst

Re: KWindowsystem / Kwin QML plugin

2014-02-17 Thread Damian Ivanov
ugin that exports this to QML. IT >> doesn't seem to be KWindowSystem > > this is not kwindowsystem, there is no plugin for KWindowSystem. The import is > part of KWin's internal QML APIs - there are different APIs under this import > depending on what component one w

Re: Re: Re: Re: KWindowSystem

2014-02-20 Thread Martin Gräßlin
TF8_STRING) = > >>> >> "/org/gnome/Gedit/menus/appmenu" > >>> >> _GTK_WINDOW_OBJECT_PATH(UTF8_STRING) = "/org/gnome/Gedit/window/1" > >>> >> _GTK_APPLICATION_OBJECT_PATH(UTF8_STRING) = "/org/gnome/Gedit" > >

[KWindowSystem] if XApp fallback icon is not in desktop icon theme, no icon shown

2014-02-24 Thread Damian Ivanov
Servus, me again, kwindowsystem_x11.cpp : // If the icon is still a null pixmap, load the icon for X applications // as a last resort:{ const QIcon icon = QIcon::fromTheme(QLatin1String("xorg")); If your active theme doesn't have an icon xorg (like default gnome icon t

Re: [KWindowSystem] if XApp fallback icon is not in desktop icon theme, no icon shown

2014-02-24 Thread Martin Gräßlin
On Monday 24 February 2014 22:24:24 Damian Ivanov wrote: > Servus, me again, > > kwindowsystem_x11.cpp : > // If the icon is still a null pixmap, load the icon for X > applications // as a last resort:{ > const QIcon icon = QIcon::fromTheme(QLatin1String("xorg")); > > If your