Commit graph

203 commits

Author SHA1 Message Date
Dana Jansens
4a2400c5c2 that line ended up in teh if somehow... 2003-08-02 05:31:23 +00:00
Dana Jansens
c8fa3a6028 set the desktop hint if the desktop is changed by the session code 2003-07-31 09:02:56 +00:00
Dana Jansens
d7f3d16fb7 set the desktop hint after everything is read/setup even session stuff 2003-07-31 09:01:14 +00:00
Dana Jansens
717d10f31a add the window to the lists before setting the client list hint 2003-07-31 08:45:57 +00:00
Dana Jansens
02c15aca65 add a function to retrieve the sm_client_id value 2003-07-31 08:04:20 +00:00
Dana Jansens
9c1438f17b restore saved session data for applications 2003-07-30 20:01:35 +00:00
Dana Jansens
9e9e6278d5 attemp #3 2003-07-30 16:15:51 +00:00
Dana Jansens
f346738173 attempt #2 at better logical size values 2003-07-30 16:14:24 +00:00
Dana Jansens
0a809d36dd attempt #2 at better logical size values 2003-07-30 16:13:52 +00:00
Dana Jansens
c852826e9e include the base size in the logical size 2003-07-30 16:09:56 +00:00
Dana Jansens
006de2abaa the size can be 0 when there is a base size 2003-07-30 07:09:36 +00:00
Dana Jansens
1aa0bc66eb improved ICCCM compliance!
a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
  b) send the corrent coords in the ConfigureNotify, including the border width
  c) remove the WM_STATE property when unmanaging a window
2003-07-30 06:19:15 +00:00
Dana Jansens
b799cfd9a3 base rudeness on if they have a strut even smarter! 2003-07-28 19:59:37 +00:00
Dana Jansens
067776e783 base rudeness on if they have a strut or not 2003-07-28 19:56:52 +00:00
Dana Jansens
4d82dd3017 make the new placement restrictions not affect !normal windows like panels 2003-07-28 19:53:54 +00:00
Dana Jansens
950516124f make those apps stay/map on screen!! fuck stupid apps. thats right im talking to you mozilla and you too java. 2003-07-28 18:06:55 +00:00
Dana Jansens
09f178aa54 use the macro 2003-07-28 16:10:06 +00:00
Dana Jansens
eb1fb5580e keep apps from moving/maping their titlebar underneath left/top panels 2003-07-28 07:19:47 +00:00
Dana Jansens
11cde9683d add client_search_transient which searches the tree from a client down for a client 2003-07-25 13:25:09 +00:00
Dana Jansens
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +00:00
Dana Jansens
a057d14c8b stop shownig the desktop when a new window maps 2003-07-22 16:50:23 +00:00
Dana Jansens
4c1641bfc7 simple code cleanup 2003-07-12 06:17:13 +00:00
Dana Jansens
9d7244e646 when a transient maps on another desktop, give it focus when it deserves it 2003-07-11 15:32:03 +00:00
Dana Jansens
130a42710c move to the desktop of the activated window 2003-07-11 00:08:43 +00:00
Dana Jansens
81af5a8b0c add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +00:00
Dana Jansens
a95dc346fe prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
make the ObMenuEntryRenderType a standard enum instead bitflags
2003-07-10 19:27:12 +00:00
Dana Jansens
bddbe94328 make ob_state a function so it cant be changed outside of openbox.c 2003-07-10 19:06:00 +00:00
Dana Jansens
35418ca0fc remove the ob_root var, its redundant of what Xlib already provides 2003-07-10 19:01:41 +00:00
Dana Jansens
122d55fbad prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
2003-07-10 17:03:05 +00:00
Dana Jansens
59f318e897 prefix and capitalize the ObFocusFallbackType enum 2003-07-10 16:42:42 +00:00
Dana Jansens
e4be1f860b prefix TRAN_GROUP to OB_TRAN_GROUP 2003-07-10 07:01:13 +00:00
Dana Jansens
4736c257a5 prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType) 2003-07-10 06:59:39 +00:00
Dana Jansens
2477a38d2f rename the Client struct to ObClient 2003-07-10 06:38:42 +00:00
Dana Jansens
b42ef7362c add a mwm.h for the mwm hint structure and flags.
use proper prefixing and capitalization for the new mwm stuff.
2003-07-10 06:23:38 +00:00
Dana Jansens
276b2be581 add misc.h with some standard enumerations with proper prefixing and capitalizations.
use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
2003-07-10 06:18:47 +00:00
Dana Jansens
6357583c39 rename 'xinerama' stuff to 'monitors' to be more generic and descriptive. 2003-07-10 05:44:23 +00:00
Dana Jansens
0719843c68 add client_search_top_transient.
keep transients all on the same desktop together. use client_search_top_transient where possible in client.c
2003-07-10 04:34:18 +00:00
Dana Jansens
34e819738b xinerama support 2003-06-27 04:20:30 +00:00
Dana Jansens
22112d2b4e check that extensions_vidmode is set before trying to use the vidmode functions 2003-06-26 16:32:40 +00:00
Dana Jansens
da24f9156b set the desktop hint when the window already has a hint but its out of range 2003-06-26 07:30:19 +00:00
Dana Jansens
ba76ffaa2b remove/add instead of raising to put a window into a new layer 2003-06-26 07:07:42 +00:00
Dana Jansens
6dd3ee7271 check to make sure the window is on screen *after* positioning it 2003-06-24 19:19:06 +00:00
Dana Jansens
069e9607fa add decoration state to the frame struct. make client_configure adjust the frame if the decorations do not match between the client and the frame, so that when they change it can send a configurenotify to the client. 2003-06-21 18:59:35 +00:00
Dana Jansens
d085756572 make client_reconfigure a non-user-type client_configure 2003-06-21 18:29:42 +00:00
Dana Jansens
7e83fa0866 remove debug print 2003-06-21 18:08:26 +00:00
Dana Jansens
716477fc40 send teh configure event to client on user-requested final configures even if not moved, cuz usualy the final isnt sent with a change, but just to end the move process. 2003-06-21 17:28:36 +00:00
Dana Jansens
c100b72c5d more namespacing with Rr* 2003-06-21 02:26:50 +00:00
Dana Jansens
092616de9a rename pixel32/16 to RrPixel32/16 2003-06-21 02:00:42 +00:00
Dana Jansens
a4a0cb7829 fixed to accomodate the changes to the render/ API. 2003-06-21 00:42:47 +00:00
Dana Jansens
36231e5cb3 fix for how base-size is used to comply with the icccm 2003-06-19 17:14:16 +00:00